No kit found: qt error - windows

I am using qt 4.8.6 Mingw edition and using qt creator 3.x as an IDE.
When I tries to open a new project it says no kit found. And when I try to add a kit with qmake It gives me an error saying mkspec not found for qt version.
Please help, I am a newbie to qt.
Edit: I am using windows and installed qt from its setup from qt-project.io

Related

Qt Creator - No QML utility installed

I'm trying to install Qt from vcpkg.
On macOS Monterey, while trying to add Qt installation from vcpkg on QtCreator it seems to complain about:
No QML utility installed.
And perhaps QT_SYSROOT is missing?
How should I proceed?
And trying to build a simple Qt project will led to:

QT project not compiling - Variable QMAKE_CXX.COMPILER_MACROS is not defined mac

Totally new to QT.
Hi all I have installed QT on my MAC(Sierra - 10.12.2). I have a requirement of which I am not sure is feasible but I have to work on a project in which I have to add a module to an application which is built for Linux(Desktop Application).
I have QT Creator 4.3.0 which is based on QT 5.8.0 (Clang 7.0).
I am opening the project and It gives me an error
../Softwares/XCode: No such file or directory
but I have Xcode in that same directory.
and another error which I got was
Variable QMAKE_CXX.COMPILER_MACROS is not defined mac
I'am not sure if I am going in the write direction?
Is it possible to create an application for linux desktop on Mac?
And If yes then how to resolve these errors ?
Thank you all !!!

How to minimize install of Qt for using PyQt on MacOS?

I was trying to install PyQt on my MacOS. With SIP installed, an error occurred when python3 PyQt-gpl-5.4/configure.py inputted:
Error: Use the --qmake argument to explicitly specify a working Qt qmake.
It seems that Qt should be installed before PyQt. There're many optional components in the installation of Qt:
-Qt 5.4
--clang 64-bit
--source components
---Add-Ons
---Essentials
--.....
Which components should I choose for installing qmake??
qmake is the executable that is included with any version of the qt libraries; and there is a different version of qmake for each compiler the Qt Libraries are built with/against. On a mac, and for building projects that run on OSX, you will probably want clang x64. And you will find qmake under ~/Qt/5.x/clang_64/bin It will also install qt creator (I don't think you can uncheck it), but you don't need all the extras besides that.
Building with qmake often needs XCode installed and the Command Line Tools (CLT) to use its included compiler. With Python, you probably won't need the compiler, unless you need to build some of its libraries.
Hope that helps.

How to download Qt4.8 on a Mac

I'm new to Qt and was trying to download Qt version 4.8 from their website. I downloaded the Qt libraries 4.8.5 for Mac (185 MB) and debug libraries (480 MB). After installing both of them I found that Qt Creator was not bundled with the installation.
I downloaded the Qt Creator 3.0.1 for Mac (62 MB) in the same downloads page. If I open Qt Creator now, I am not able to create a New Project and it says "No Kits found".
Its been really frustrating. I would appreciate if anyone could elaborate on how to link all the installations together and start-up a new project in Qt 4.8.
Edit:
I am trying to use VTK 6 library and it seems that Qt 5 does not support VTK 6. Hence I had to go for Qt4.8. This is the screen I'm getting when I try to add the Qt version.
Why am I not able to select qmake executable in the above image. I'm trying to select the qmake from /usr/bin/
You can add kits in the options, follow the instruction here:
http://qt-project.org/doc/qtcreator-2.6/creator-targets.html
It seems to be a known bug on OS X, see: https://bugreports.qt-project.org/browse/QTCREATORBUG-6222 for some workarounds.

QT- Installation in Windows 7

I have a c++ project that requires me to install QT when i build that project a dialog box that wants me to type in the qmake command.
I found somewhere that one needs to use
MinGW_QT
In the tools options but since i have downloaded QT libraries 4.8.4 i am not able to find the
.
C:\QT\4.8.4\MinGW\bin
Which library i must install to get this also i had tried to install
Qt libraries 4.8.4 for Windows (minGW 4.4, 317 MB) from the QT webportal
when i try to run it prompted that
There is a problem with your MinQW instalation
w32api not found in c:\MinGW\bin\
Do you still want to continue? Yes
If you are using Qt libraries compiled with MinGW, you will need a MinGW installation to compile and link against Qt libs. Just download and extract MinGW somewhere and add its path to your environment variable PATH. Then you will need to introduce that compiler to your Qt Creator installation. Go to "Tools -> Options -> Build & Run" and in toolchainn tab add your new MinGW installation.
I will suggest MinGW-builds from
https://sourceforge.net/projects/mingwbuilds

Resources