Writing custom makespecs for Qt
-
Does anyone have any idea if/why the qmake options on the website are out of date? I'm looking at the makespecs for linux-arm-gnueabi-g++ and keep finding options that aren't covered by this URL: http://doc.qt.io/qt-5/qmake-variable-reference.html#qmake-cc
Has the documentation not been updated, or am I looking in the wrong place?
Thanks!
-
Hi,
They are not out of date, the variables you are finding in the qmake.conf file are not supposed to be changed in a project. They define the different commands that should be used to compile C, C++ code, link, create archives etc.
Hope it helps
-
The website documentation content is generated from Qt's own documentation. Well, there might be some variables that are not yet documented.
Since you are creating a new mkspec, there are some variables that you will have to set in order to build Qt and your applications that are not necessarily documented but it's not wrong to use them