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:
Related
TLDR: Running qt creator 4.9.2 on macOS mojave 10.14. Installed it using brew cask install qt-creator no examples are shown, and the drop down menu in welcome mode > examples is empty even after configuring a valid qmake version in preferences > kit > qt version
Long version
So i installed QT creator using the command brew cast install qt-creator and it all worked fine.
After running Qt Creator it could not find any default qmake all the documentation states that it should be in tools > options > kit until i finally found that on mac it is actually located in preferences > kit > qt version and that the FileOpenDialog does not show hidden files and you need to press option + shift + G and then search for the folder where qmake is installed.
None of this is in any official qt documentation btw.
So finally, got started tried out building the notepad app, everything worked fine.
Now i wanted to try out some of the examples, entered Welcome Mode > Examples and everything is empty. There is nothing in the fold out meny. No QT version, no examples.
found this link Qt_Examples_in_Qt_Creator that states that there should be a $QTCREATORDIR/share/qtcreator/welcomescreen/qtcreator_tutorials.xml file, this i cannot find on mac.
Is there any up to date documentation about setting/troubleshooting up QT creator on mac?
is installing qt using brew valid?
any docs on troubleshooting qt-creater installations on mac?
how do i get the examples working on mac?
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
I'm developing a c++ program that uses the qt libraries, specifically the QtCore library. In the makefile I need to refer to the location of the directory that contains the libraries that I use. (I do not use QtCreator). I'm running on OSX 10.10.15.
I installed qt thru brew install qt5, all files are in /usr/local/Cellar/qt5/5.5.0/ but I cannot find neither libQtCore.a nor libQtCore.dyn
I also installed Qt thru the installer on the website http://doc.qt.io/qt-5/linux.html but still couldn't find the libraries.
On OS X Qt installed as set of frameworks by default.
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.
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.