c++ Qt Qwt build issue - c++

I a Qt neophyte so I apologize in advance if this question is obvious...
I just downloaded and installed the latest version of Qt Creator 5 as well as Qwt (Qt Widgets for Technical Applications) on my Windows7 machine.
Qwt.pro does not build using QT Creator on my windows machine.
It all worked fine on my Ubuntu machine using Qt Creator 4.
Is there a compatibility issue with Qwt and the newest version of Qt??

Have you installed the MinGW version Qt? If not make sure you have installed Visual Studio, which contains the MSVC compiler. To get started use the MinGW version, the MSVC compiler is faster on Windows but more complicated to set up. For testing run qmake in your Qwt directory directly from the Qt console (start menu). Also make sure you can build a simple hello world project with Qt Creator first.

Related

QT5 Creator "/usr/bin/g++" is used by qmake, but "/usr/bin/g++-9" is configured in the kit

In QT5 Creator, I changed the compiler version in the project kit, but it's throwing the above error now(note: 'g++' in this context refers to version 10, which QT5 isn't compatible with). I found some information on using terminal commands to change some stuff with qmake, but does anyone know how I can fix this?
Edit: To clarify, a kit different from the default kit is being used for this project(that's what I changed), and I'm migrating this project from QT4 to QT5. This is installed on Ubuntu, and there aren't multiple versions of QT on here(installed from Ubuntu repositories)

Do I need to install Mingw compiler components in Qt installation if i had already installed Mingw in my computer?

I installing Qt open source framework in my window 10 pc. I already downloaded Mingw compiler and installed it to write C/C++. Now I wanna learn QT framework. I using Qt online installer. I choice to download custom compoment. Do I need to selet mingw component to download if i had already installed?
Note that there's not just one MinGW distribution and version out there. You can check out the exact supported version per Qt release at https://wiki.qt.io/MinGW .
Anyhow, if you install the pre-built Qt binaries via the online installer, the matching MinGW version will automatically be installed for you, and will be registered in Qt Creator so that things just work. There is actually no official way to prevent this.

Setting Up Qt 5

I downloaded and installed the community version of Qt 5.10 and Qt Creator for a C++ project I'm working on. I'm just wondering if I did something wrong during the installation because in my options, there is no cmake file, or any debuggers. Or am I supposed to set these up myself?

Qtcreator.exe missing from Qt 4.7.3

Hi I have recently downloaded qt 4.7.3 for windows qt-win-opensource-4.7.3-vs2008.exe from this Link , I was using Qt Creator 3.0.1 based on Qt 5.2.1 (MSVC 2010, 32 bit) till now , but I need to build my project in Qt 4.7.3 ...the problem is I couldn't find the Qtcreator.exe in the downloaded folder , it contains all the libraries and everything except the.exe file .Is there any solution to get the Qtcreator.exe file for Qt 4.7.3 or is there any way to configure it with my Qt creator 3.0.1?
Qt 4.7.3 is quite old, back at this time it was shipped in the Nokia SDK along with the Qt version.
There is no reason why you can't add Qt 4.7.3 as a Qt version in your existing copy of Qt Creator 3.0.1 you should only need 1 copy of Qt Creator on your machine.
In QtCreator go to Tools->Options->Build&Run->Qt Versions
Click the add button and navigate to qmake for Qt 4.7.3
This should have created a kit for 4.7.3
You should now be able to go back to the projects tab for your project add the Qt 4.7.3 kit and build your project with 4.7.3

qmake on a mac missing for qt-creator

I am working on Mac OS X at the moment, and wanted to start building apps using Qt Creator.
Unfortunately i can't build any applications as it gives me an error saying that qmake's path is not found or qmake is missing.
I tried using netbeans, which works perfectly with simple c/c++ programs, but for qt apps it then gives me the same error.
My version of Xcode 4 works perfectly and builds without any problems.
Any ideas?
Thanks :)
It is not enough to just download the Qt Creator, you need to download the complete sdk: http://qt.nokia.com/downloads (almost 1GiB)
My Macbook is no longer my primary computer. But, when it was, I found out through painful experiences that it was best to install software from MacPorts whenever what you wanted was available from http://www.macports.org/
Even more important, I also discovered that when software was not offered from MacPorts, it was invariably because that particular software did not install without some sort of tweaking on a Mac. Hence, since Macports does not currently offer Qt v5, and I had problems installing the qt-project.com Qt v5.2.1 SDK on my Macbook, I would advise to go with the MacPort for Qt v4.8.5 [qt4-mac] which includes qmake. Qt Creator is available as a separate MacPort [qt4-creator-mac].
Here is how I successfully installed Qt v4.8.5 [with qmake] and Qt Creator on my Macbook:
1) 'sudo port install qt4-mac'
2) 'sudo port install qt4-creator-mac'
3) I used Finder to run Qt Creator which was in the /Applications/MacPorts/Qt4 folder.
4) When I first ran Qt Creator, its Preferences dialog listed the auto-installed Desktop kit, but that kit had no Qt version, no qmake, and no debugger.
5) Manually added a second kit.
6) Configured kit's Qt version for /opt/local/bin/qmake, which is where qt4-mac installed qmake. This was enough for the kit to now discover Qt v4.8.5 which had been installed by qt4-mac.
7) Used kit's auto-detect feature to now discover the debugger.
8) Configured that kit to be the default kit.