qmake and mkspec folder
-
Thanks for the answer. To give more context, I am building qt with prefix option. After the build is completed it is moved to a different location.
When i run qmake -query I get the following paths which are incorrectQT_SYSROOT:
QT_INSTALL_PREFIX:/usr/local/platform009
QT_INSTALL_ARCHDATA:/usr/local/platform009
QT_INSTALL_DATA:/usr/local/platform009
QT_INSTALL_DOCS:/usr/local/platform009/doc
QT_INSTALL_HEADERS:/usr/platform009/include
QT_INSTALL_LIBS:/usr/local/platform009/lib
QT_INSTALL_LIBEXECS:/usr/local/platform009/libexec
QT_INSTALL_BINS:/usr/local/platform009/bin
QT_INSTALL_TESTS:/usr/local/platform009/tests
QT_INSTALL_PLUGINS:/usr/local/platform009/plugins
QT_INSTALL_IMPORTS:/usr/local/platform009/imports
QT_INSTALL_QML:/usr/local/platform009/qml
QT_INSTALL_TRANSLATIONS:/usr/local/platform009/translations
QT_INSTALL_CONFIGURATION:/usr/local/platform009/etc/xdg
QT_INSTALL_EXAMPLES:/usr/local/platform009/examples
QT_INSTALL_DEMOS:/usr/local/platform009/examples
QT_HOST_PREFIX:/usr/local/platform009
QT_HOST_DATA:/usr/local/platform009
QT_HOST_BINS:/usr/local/platform009/bin
QT_HOST_LIBS:/usr/local/platform009/lib
QMAKE_SPEC:linux-g++
QMAKE_XSPEC:linux-g++
QMAKE_VERSION:3.1
QT_VERSION:5.12.10so running qmake on my project results in mkspec not found. If i set QMAKESPEC it works but it then fails at
Project ERROR: Could not find feature force_asserts. -
As the blog article says, it has started with Qt 5.14.
What is your current issue ?