Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Refreshing the build directory
I have updated from MacOS 10.14 to MacOS 10.15 and I use Qt 5.14.1. Typing "make clean" produces the message
"The platform SDK has been changed from version 10.14.6 to version 10.15.4.This requires a fresh build. Please wipe the build directory completely, including any .qmake.stash and .qmake.cache files generated by qmake."
Where can I find this build directory?
Hi and welcome to devnet,
You can see it in the configuration of your project.
You can also see it in the build log.
It's also usually in the folder beside the one containing your sources.
Thank you for your quick answer. My Qt library is called from the /usr/local/Cellar/qt/5.14.1 directory. I dont find a "build log" in this directory nor I find it beside my C++ source files
Not your Qt version, your project.
Precisely, I use Qt for compilation of texstudio project. All the C++ and others files are into a folder of MacOS. The problem is that I have on my iMac no build folder corresponding to this compilation
How are you triggering the compilation ?
Where is your app generated ?
I log my console application on my iMac. I set
and I type the following lines
/usr/local/Cellar/qt/5.14.1/bin/qmake NO_POPPLER_PREVIEW=true texstudio.pro
make -j 4
In the good case the texstudio.app is generated into the folder /texstudio. Then I move this application in the Application folder of MacOS
Then please start using out of source builds.
Call "make distclean" and then check for files like .qmake.cache. Remove them all.
If you are using git then you can do "git clean -ddfx"
I send you the log of "make distclean"
make: *** No rule to make target `texstudio'. Stop.
The platform SDK has been changed from version 10.14.6 to version 10.15.4.
This requires a fresh build. Please wipe the build directory completely,
including any .qmake.stash and .qmake.cache files generated by qmake.
/usr/local/Cellar/qt/5.14.1/mkspecs/features/mac/sdk.mk:22: *** ^. Stop.
Are you sources version controlled ?
If not, did you manually remove the files suggested both in the error and me ?
The problem occurs because nowhere I can find the .qmake.stash and .qmake.stash files. The Unix command "find" triggered at the consol application does not find these files
@pisabos Hi SGaist, my problem is solved simply in updating the software texstudio. I thank you for your help
Nice it is fixed however I still recommend moving to out of source builds.
In any case, please mark the thread as solved so that other forum users may know a solution has been found.