1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/samples/qt/AndroidQt/AndroidQt.pro
nds 1fa1615244 0029571: Samples: build qt samples together with OCCT
Extending CMake procedure by 'BUILD_MODULE_QtSamples' variable to switch on qt samples build.
Implementation required:
- union of occt_toolkit_tool.cmake and occt_toolkit.cmake files;
- correction of qt samples sources by adding path to Qt 'plugins' folder. It helps to avoid definition of additional variable (QT_QPA_PLATFORM_PLUGIN_PATH) when staring sample.bat for qt samples;
- executable processing is extended in cmake procedure by providing 'EXECUTABLE_PROJECT' variable. Now we need not specify custom processing for DRAWEXE in occt_toolkit.cmake
2018-03-22 15:11:27 +03:00

35 lines
806 B
Prolog

TEMPLATE = app
QT += qml quick widgets
SOURCES += src/Main.cxx \
src/AndroidQt.cxx \
src/AndroidQt_Window.cxx \
src/AndroidQt_TouchParameters.cxx
RESOURCES += ./src/AndroidQt.qrc
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
# OCCT
include(OCCT.pri)
# Default rules for deployment.
include(Deployment.pri)
HEADERS += \
src/AndroidQt.h \
src/AndroidQt_Window.h \
src/AndroidQt_TouchParameters.h \
src/AndroidQt_UserInteractionParameters.h
INCLUDEPATH += $$_PRO_FILE_PWD_/src
DEPENDPATH += $$_PRO_FILE_PWD_/src
OTHER_FILES += \
android/src/org/qtproject/example/AndroidQt/AndroidQt.java \
android/AndroidManifest.xml
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android