summaryrefslogtreecommitdiffstats
path: root/util/qglinfo/qglinfo.pro
diff options
context:
space:
mode:
Diffstat (limited to 'util/qglinfo/qglinfo.pro')
-rw-r--r--util/qglinfo/qglinfo.pro24
1 files changed, 17 insertions, 7 deletions
diff --git a/util/qglinfo/qglinfo.pro b/util/qglinfo/qglinfo.pro
index 65298e898..ea277e25b 100644
--- a/util/qglinfo/qglinfo.pro
+++ b/util/qglinfo/qglinfo.pro
@@ -6,8 +6,23 @@ SOURCES += main.cpp \
fpswidget.cpp
package {
- LIBS += -L../../src/threed -lQt3D
- INCLUDEPATH += ../../include
+ macx:CONFIG(qt_framework, qt_framework|qt_no_framework) {
+ LIBS += -framework Qt3D -F../../src/threed
+ INCLUDEPATH += ../../src/threed/Qt3D.framework/Versions/1/Headers
+ } else {
+ win32 {
+ CONFIG(debug, debug|release) {
+ LIBS += ..\\..\\src\\threed\\debug\\Qt3Dd.lib
+ } else {
+ LIBS += ..\\..\\src\\threed\\release\\Qt3D.lib
+ }
+ } else {
+ LIBS += -L../../src/threed -lQt3D
+ }
+ INCLUDEPATH += ../../include/Qt3D
+ }
+ target.path += $$[QT_INSTALL_BINS]
+ INSTALLS += target
QT += opengl
} else {
CONFIG += qt3d
@@ -24,8 +39,3 @@ HEADERS += qglinfowindow.h \
RESOURCES += qglinfo.qrc
!contains(QT_CONFIG, egl):DEFINES += QT_NO_EGL
-
-package {
- target.path = $$[QT_INSTALL_BINS]
- INSTALLS += target
-}