We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d04b04 commit 2dc7708Copy full SHA for 2dc7708
1 file changed
unixconf.pri
@@ -1,7 +1,13 @@
1
# Generated by the configure file
2
-# There will be a WARNING during configure that this file wasn't found.
3
-# This is harmless. During make the file will be found. If not, there will a WARNING again.
4
-include($$OUT_PWD/../conf.pri)
+# Ignore any WARNING about 'conf.pri' missing during configure. The file should be found during make.
+# If not there will be a WARNING again.
+# The first path is used when the source is being build by packagers (pbuilder/sbuild/etc)
5
+# The second path is used when you manually run the configure script in the root folder (eg when using qt creator)
6
+exists($$OUT_PWD/../conf.pri) {
7
+ include($$OUT_PWD/../conf.pri)
8
+} else {
9
+ include(conf.pri)
10
+}
11
12
# COMPILATION SPECIFIC
13
!nox:dbus {
0 commit comments