

#ISSUES ANTHEMSCORE VERSION OF QT HOW TO#
Here are the steps of how to choose the default Qt version for qmake on example of my system (Ubuntu 17.10 圆4, Qt 5.10.1).Ĭreate the /etc/xdg/qtchooser directory: sudo mkdir /etc/xdg/qtchooserĬreate and edit the configuration file: gksudo gedit /etc/xdg/qtchooser/nfĪs said above. The file /etc/xdg/qtchooser/nf has higher priority than /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/nf. Will be automatically used in case nothing else is selected. If a nf is provided, the settings from it Is the path to the binaries and the second is the path to the Qt Here is a quotation from man qtchooser: FILES Qmake ( /usr/bin/qmake) actually is just a symlink to qtchooser ( /usr/bin/qtchooser). Now it should always use the specified version. Create a symlink nf to the new configuration file: ln -s /usr/share/qtchooser/my_Qt_5.10.1_Destop_gcc_圆4.conf /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/nf This file must contain two lines: the first line is the path to the Qt binaries (including qmake) and the second is the path to the Qt libraries (including. Rename the symlink file: sudo mv /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/nf /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/nf_origĬreate a new target configuration file (with any name): gksudo gedit /usr/share/qtchooser/my_Qt_5.10.1_Desktop_gcc_圆4.conf And also create the new files in the default locations (for consistency). I would suggest to keep both original symlink file and its target in place (in case you want to recover the original configuration). Here is an example for my system (Ubuntu 17.10 圆4, Qt 5.10.1). If you want to make your changes permanent, you need to modify the /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/nf file, which is a symlink to. There is a bug with qtchooser on Ubuntu 13.04 and 13.10 which seem to affect the way Qt applications detect different Qt versions, see. Also see man qtchooser and the qtX-default packages on Debian based systems. The real binaries are qmake-qt4, qmake-qt5 etc.
#ISSUES ANTHEMSCORE VERSION OF QT PRO#
pro file, but if so it is undocumented (as with quite a lot of qmake variables).Īlso, if you want to build with a specific major version, qmake is usually just symlinked to a binary for the default major version. It may also be possible to set this in the.

You could test with something like: QTDIR=/usr/share/qtX qmake -version By default QtCreator sets this to /usr/share/qt4 for me, so setting it to the equivalent path (ie the one where the configuration files are) should make qmake build with a different version. Otherwise, it seems to the QTDIR environmental variable is used to set the Qt version. There should be a drop down box to select from the various installed versions for each configuration. You can set different build configurations there.

Never the less, QtCreator is usually quite good at detecting alternative Qt installs, just create a new project and look under the Projects tab on the left. Microsoft Visual C++ 2013 圆4 Additional Runtime - 4 (HKLM\.This isn't necessarily Unix/Linux specific, so you are probably better asking this on Stack Overflow. = Security Center =ĪV: ESET Security (Enabled - Up to date) ) (Version: 4.0 - Microsoft Corporation) Running from C:\Users\kelle\OneDrive\Desktop Additional scan result of Farbar Recovery Scan Tool (圆4) Version: 15-06-2022
