mirror of
https://github.com/thp/pyotherside.git
synced 2025-02-05 08:08:23 +08:00
This new approach uses conversion of Python objects to Qt objects and vice versa, and introduces some new API such as "call(func, args)" and "addImportPath(path)".
24 lines
409 B
Prolog
24 lines
409 B
Prolog
|
|
QT += declarative
|
|
|
|
CONFIG -= app_bundle
|
|
|
|
TEMPLATE = app
|
|
TARGET = pyotherside
|
|
DEPENDPATH += .
|
|
INCLUDEPATH += .
|
|
|
|
SOURCES += main.cpp
|
|
|
|
SOURCES += qpython.cpp
|
|
HEADERS += qpython.h
|
|
|
|
SOURCES += qpython_test.cpp
|
|
HEADERS += qpython_test.h
|
|
|
|
# Python
|
|
QMAKE_CXXFLAGS += -I/usr/include/python2.6
|
|
QMAKE_LIBS += -lpython2.6
|
|
#QMAKE_CXXFLAGS += -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes
|
|
|