Guest User

Untitled

a guest
Mar 12th, 2014
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. TARGET = pyothersideplugin
  2.  
  3. PLUGIN_IMPORT_PATH = io/thp/pyotherside
  4.  
  5. TEMPLATE = lib
  6. CONFIG += qt plugin
  7. QT += qml quick
  8.  
  9. target.path = $$[QT_INSTALL_QML]/$$PLUGIN_IMPORT_PATH
  10. INSTALLS += target
  11.  
  12. qmldir.files += $$_PRO_FILE_PWD_/qmldir
  13. qmldir.path += $$target.path
  14. INSTALLS += qmldir
  15.  
  16. DEPENDPATH += .
  17. #INCLUDEPATH += .
  18.  
  19. INCLUDEPATH += $$PWD/../libs/python32/build_dependencies/ .
  20. LIBS += -L$$PWD/../libs/python32 -lpython3.2
  21.  
  22. # PyOtherSide QML Plugin
  23. SOURCES += pyotherside_plugin.cpp
  24. HEADERS += pyotherside_plugin.h
  25.  
  26. # QML Image Provider
  27. SOURCES += qpython_imageprovider.cpp
  28. HEADERS += qpython_imageprovider.h
  29.  
  30. # Python QML Object
  31. SOURCES += qpython.cpp
  32. HEADERS += qpython.h
  33. SOURCES += qpython_worker.cpp
  34. HEADERS += qpython_worker.h
  35. SOURCES += qpython_priv.cpp
  36. HEADERS += qpython_priv.h
  37.  
  38. # Type System Conversion Logic
  39. HEADERS += converter.h
  40. HEADERS += qvariant_converter.h
  41. HEADERS += pyobject_converter.h
  42. HEADERS += qml_python_bridge.h
  43.  
  44. include(../python.pri)
Advertisement
Add Comment
Please, Sign In to add comment