Project ERROR: You cannot configure qt separately within a top-level build. ?
-
I think I'm doing things correctly, but I get the above error message.
I have a directory setup
/home/rickf/projects/qt510
/home/rickf/projects/qt510/qt5
/home/rickf/projects/qt510/qt5-buildI do a git clone an checkout into qt510, which gives me the qt5 folder.
Then from within the qt5-build folder I use
../qt5/configure -force-debug-info -nomake tests -sql-alland it goes along and finishes like
Creating qmake...
...........................................................................................Done.
Project ERROR: You cannot configure qt separately within a top-level build.What did I do incorrectly?
Thanks
Rick
-
@jsulm said in Project ERROR: You cannot configure qt separately within a top-level build. ?:
he did, he used the same guide
-
@RickF said in Project ERROR: You cannot configure qt separately within a top-level build. ?:
Anyone try this lately? I’ve done a clean checkout and build 4 or5 tines now with same results...
I'm compiling Qt fairly often, but not from git - so no. I'm using the tarballs, maybe they'll work better for you: https://download.qt.io/official_releases/qt/5.10/5.10.1/single/
-
One thing I notice is that I use the following:
../qt-everywhere-src-5.10.1/configure -opensource -confirm-license -force-debug-info -nomake tests -sql-all -sqlite qt
and it echoes
- cd qtbase
- /home/rickf/projects/qt510/qt-everywhere-src-5.10.1/qtbase/configure -top-level -opensource -confirm-license -force-debug-info -nomake tests -sql-all -sqlite qt
Preparing build tree...
Creating qmake...
notice it prefixed my options with -top-level
and the error message appropriately says
Project ERROR: You cannot configure qt separately within a top-level build.
so, is there something to turn off -top-level? It does this even when I specify -prefix option.
-
Your flags are OK and this should not be happening... hm. Maybe try removing these flags just to see if one of them is the cause:
-force-debug-info -sql-all -sqlite qt
.