-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
Description
I'm not sure what the problem is here, maybe I'm using an old version of qmake or something.
When I try to run qmake it is not able to assign QTC_SOURCE to QTCREATOR_SOURCES or IDE_BUILD_TREE to QTC_BUILD. I had to make the following change to get it working:
diff --git a/doxygen.pro b/doxygen.pro
index f2af220..3edd2bc 100644
--- a/doxygen.pro
+++ b/doxygen.pro
@@ -27,12 +27,12 @@ RESOURCES += doxygen.qrc
# Qt Creator linking
## set the QTC_SOURCE environment variable to override the setting here
-QTCREATOR_SOURCES = $$(QTC_SOURCE)
+QTCREATOR_SOURCES = $$QTC_SOURCE
unix:isEmpty(QTCREATOR_SOURCES):QTCREATOR_SOURCES=$$(HOME)/src/qt-creator-opensource-src-4.3.0
win32:isEmpty(QTCREATOR_SOURCES):QTCREATOR_SOURCES=D:\src\qt-creator-opensource-src-4.3.0
## set the QTC_BUILD environment variable to override the setting here
-IDE_BUILD_TREE = $$(QTC_BUILD)
+IDE_BUILD_TREE = $$QTC_BUILD
unix:isEmpty(IDE_BUILD_TREE):IDE_BUILD_TREE=$$(HOME)/qtcreator-4.3.0
win32:isEmpty(IDE_BUILD_TREE):IDE_BUILD_TREE=D:\src\build-qtcreator-5_6_0_msvc2013-ReleaseQmake command:
$ qmake --version
QMake version 3.1
Using Qt version 5.9.2 in /home/sjuul/Qt/5.9.2/gcc_64/lib
$ ~/Qt/5.9.2/gcc_64/bin/qmake QTC_SOURCE=~/tools/qt-creator-opensource-src-4.5.0/ QTC_BUILD=~/Qt/Tools/QtCreator/ .