I'm totally new with Qt and I downloaded the offline version " Qt 5.3.2 for Windows 64-bit (VS 2013, OpenGL, 573 MB)"
I'm unable to compile my project.
I have:
Qt Creator 3.2.1 (opensource)
Based on Qt 5.3.2 (MSVC 2010, 32 bit)
In my Build & Run, I have,
For the kit: Desktop Qt 5.3 MSVC2013 OpenGL 64bit
For Qt version: Qt 5.3 MSVC2013 OpenGL 64bit
and there is nothing for the compilers tab. I don't know what I should put in that section. What did I miss?
I got the following error message while trying to compile my project:
14:44:12: Configuration is faulty. Check the Issues view for details.
Error while building/deploying project TextFinder (kit: Desktop Qt 5.3
MSVC2013 OpenGL 64bit) When executing step "Make"
and
Qt creator needs a compiler set up to build. Configure a compiler in
the kit options.
Go to Tools->Options->Build & Run and on the Compilers tab click Add to add a new compiler. You can also manage kits on the Kits tab. Don't forget to setup qmake on the Qt Versions tab.
Also if you want the MSVC version of Qt you need to install Microsoft Visual Studio 2010 or 2013 depending on the version of Qt you use.
If you are a beginner I recommend you download the MinGW version from qt-project.org and everything should work just fine.
MinGW versions use the windows versions of GCC while VS uses Microsoft's compiler.
Related
I'm on Ubuntu 14.04 64-bit. I obviously made a mess by installing Qt Creator and Qt4 Designer. I've built and installed the Qwt (6.1.0) libraries (widgets) that are visible to Qt4 Designer but not to Qt Creator... I'm pretty sure it is the Qt (qmake) version that made these installations incompatible and messy...
The Qt Creator reports:
Qt Creator 3.0.1
Based on Qt 5.2.1 (GCC 4.8.2, 64 bit)
The Qt4 Designer reports:
Version 4.8.6
Both installations were done through synaptic utility. Later on, I've used an online installed from Qt project and installed another (opensource) version of Qt Creator (Based on Qt 5.3.2; GCC 4.6.1, 64 bit).
What I'd like to do is use Qwt widgets in Qt Creator and have a working version of Qt Designer (not it doesn't start; Segmentation fault).
Is there a way to wipe all Qt stuff and begin from scratch? Which directories, profiles, etc. should be erased?
Many thanks.
Assuming that you want to work with a Qt creator based on Qt 5.2 and you want to build an application using Qr 4.8.
a) build and install Qwt for Qt 4.8 - like always
b) build and install Qwt for Qt 5.2 ( maybe with enabling QwtDesignerSelfContained in qwtconfig.pri ).
Use qmake from the directory of the Qt version you want to build Qwt for.
Then all that's left to do is tell the creator where to find the plugin, that has been built for Qt 5.2 - f.e. by setting the QT_PLUGIN_PATH.
I have 64bit intel machine.
I am running windows 7 (64 bit) on this machine.
I have installed Visual Studio Ultimate 2012 on my machine.
I have installed Qt Creator 3.0.1 based on Qt 5.2.1 (MSVC 2010, 32bit)
I am not able to configure opencv 2.4.8 on this Qt on my machine.
I have tried many things but I am not able to get opencv 2.4.8 work on qt.
Please tell me the necessary steps.
Please note, I guess there is some twist because of my software versions e.g. 64 bit machine, opencv 2.4.8 and qt based on MSVC2010, but I am not sure.
Please..please..please help me.
Thank you in advance.
Are you failing to compile OpenCV, link it with your application or running your executable from Qt? Are you linking statically? The problems can be quite different.
If you are linking statically everything needs to be compiled with the same Microsoft Visual C++ compiler AFAIK [VC11 (2012) in your case]. OpenCV is Ok because they provide binaries for vc10 (VS2010), vc11 (VS2012) and vc12 (VS2013). For Qt itself download the version compiled against VS2012 available here.
If you are required to use Qt libraries compiled against vc10, then make sure you install the redistributables for Microsoft Visual C++ 2010 Redistributable Package (x86) and link your application dynamically. And of course, use Dependency Walker if you have problems with wrong DLLs.
I downloaded the QT 5.2 build for MingW/OpenGL build and installed it. When I run QTCreator and try to create a project, I can't set it up because there is no kit available to choose from. I have MingW installed, so I tried to point QT to this installation, but there is qmake as well missing. I'm not sure if the manual configuration of the compiler would suffice to have a kit to choose from, but that would be my expectation.
So the question is, how do I setup QT properly that it recognizes my MingW installation and how do I get qmake to continue with QT? After downloading a 600MB package I would have expected that it works out of the box.
OS is Windows 7 and my MingW uses gcc 4.8 so it should be the same version that QT brings in it's package as well.
I just installed Qt 5.0.1 MSVC2010 32bit, i need to configure the Kits and the compiler. I have installed minGW and its detected by Qt Automatically. But at Qt Version tab in Tools->Option->Build & Run menu, i get this:
No compiler can produce code for this Qt version
What should I do? which compiler I have to use? I can't build/run anything.
You should either use MSVS 2010 for your downloaded Qt or download the MinGW Qt distribution.
I got the following error when I try building Qt Creator from source.
user#host:/usr/share/qtcreator/qtcreator_build$ qmake -version
QMake version 2.01a
Using Qt version 4.8.2 in /usr/local/Trolltech/Qt-4.8.2/lib
user#host:/usr/share/qtcreator/qtcreator_build$ sudo qmake ../qtcreator_fromSrc/qtcreator.pro
Project MESSAGE: Cannot build Qt Creator with Qt version 4.6.2.
Project ERROR: Use at least Qt 4.7.4.
As shown, the Qt library in use above is 4.8.2, which should be qualifying ver 4.7.2. It's installed from source. How can I let the qtcreator installer recognize the right qt version?
My workaround was to copy the source of Qt Creator to the area that doesn't require super user permission. HTH.