| 1 |
|
| 2 |
# Detect libusb on Linux systems. |
| 3 |
linux*:!isEqual(LIBUSB_DETECT_DONE,yes): include(config.tests/libusb_detect.pri) |
| 4 |
QMAKE_DISTCLEAN += .qmake.cache |
| 5 |
|
| 6 |
TEMPLATE = subdirs |
| 7 |
SUBDIRS += src |
| 8 |
!gcov: SUBDIRS += util examples demos |
| 9 |
SUBDIRS += tests |
| 10 |
CONFIG += ordered |
| 11 |
|
| 12 |
include(doc/doc.pri) |
| 13 |
|
| 14 |
# Install qt3d.prf into the Qt mkspecs so that "CONFIG += qt3d" |
| 15 |
# can be used in customer applications to build against Qt/3D. |
| 16 |
feature.path = $$[QT_INSTALL_DATA]/mkspecs/features |
| 17 |
feature.files = $$PWD/features/qt3d.prf $$PWD/features/qt3dquick.prf |
| 18 |
INSTALLS += feature |
| 19 |
|
| 20 |
#symbian does not generate make install rule. Copy prf manually |
| 21 |
symbian { |
| 22 |
qt3dFile=$$PWD\\features\\qt3d.prf |
| 23 |
qt3dFile=$$replace(qt3dFile,/,\\) |
| 24 |
featuresDir=$$[QT_INSTALL_DATA]\\mkspecs\\features |
| 25 |
featuresDir=$$replace(featuresDir,/,\\) |
| 26 |
system(copy "$$qt3dFile $$featuresDir") |
| 27 |
|
| 28 |
qt3dQuickFile=$$PWD\\features\\qt3dquick.prf |
| 29 |
qt3dQuickFile=$$replace(qt3dQuickFile,/,\\) |
| 30 |
system(copy "$$qt3dQuickFile $$featuresDir") |
| 31 |
|
| 32 |
# symbian needs to be at the end, because opengl.pro does an ordered build, |
| 33 |
# and symbian depends on all the others. |
| 34 |
SUBDIRS += symbianinstall |
| 35 |
|
| 36 |
symbianinstall.subdir = devices/symbian |
| 37 |
symbianinstall.target = sub-symbianinstall |
| 38 |
symbianinstall.depends = $$SUBDIRS |
| 39 |
symbianinstall.depends -= symbianinstall |
| 40 |
} |