Qt 6 install difficulties
-
wrote on 22 May 2022, 02:54 last edited by Bryan Kelly
Windows 10, Visual Studio 2019
I am not doing well in trying to get QT installed.
A google search term is: +install qt version 6 visual studio 2019
But several videos start with QT installed and add Vulcan or something else.
How should I change my search phrase?
I get to the Qt web site, wind up here:
https://doc.qt.io/qt-6/get-and-install-qt.html
and do the install. It seems to be good,…
But, from the start menu select Qt -> Assistant and get a dialog with the text:The item ‘assistant.exe’ that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly. Do you want to delete this shortcut?
Hmm, I have not changed or moved assistant.exe. Or anything Qt for that matter. What did I do wrong or what did I omit?
The dialog box is deficient. What should this should be pointed to? It should provide an example. At least the full path of the shortcut. Or what it should be. And what might I do to correct that shortcut?The summary is: does someone have a link to a tutorial that walks me through the install and creating an app that puts a few user interactive items up on the screen. I prefer that it not be a video, but I will give it a try.
-
You should open Qt Creator, not Assistant. It contains some examples on welcome page.
-
wrote on 3 Jun 2022, 01:06 last edited by
My Qt Programs section does not have Creator. So start again with this web page
[https://doc.qt.io/qtvstools/qtvstools-getting-started.html](link url)
After some work, a download, and I get to a section in the tutorial instructing me to do this, as I understand the instructions that is:
In VS select Extensions -> Qt VS Tools -> Qt VersionsIn field "Version" edit: 6.2.4
The tutorial does not state 6.2.4. But I pick that because on the C drive is C:\Qt\6.2.4\mingw_64 and no other directories. When I try to do the install again, the dialog states that everything is installed. But after a few more steps, things don’t work right.
Click in field Path and navigate to: C:\Qt\6.2.4\mingw_64\bin\qmake.exe and select it.
Click OK to close, the wait icon is display for a bit and the icon closes.
Question: The tutorial has a path with msvc but not mingw. What is the difference and how critical is that?
Back to the tutorial and section: Create a Qt Widgets Application Project
Select File > New > Project and search for Qt Widgets Application.
Put it here: D:\CODE\QT\tutorials
A dialog is opened:
None of the tabs, Configuration etc, are clickable. Clicking Previous is of no help.
I don't know what needs to be done differently. -
My Qt Programs section does not have Creator. So start again with this web page
[https://doc.qt.io/qtvstools/qtvstools-getting-started.html](link url)
After some work, a download, and I get to a section in the tutorial instructing me to do this, as I understand the instructions that is:
In VS select Extensions -> Qt VS Tools -> Qt VersionsIn field "Version" edit: 6.2.4
The tutorial does not state 6.2.4. But I pick that because on the C drive is C:\Qt\6.2.4\mingw_64 and no other directories. When I try to do the install again, the dialog states that everything is installed. But after a few more steps, things don’t work right.
Click in field Path and navigate to: C:\Qt\6.2.4\mingw_64\bin\qmake.exe and select it.
Click OK to close, the wait icon is display for a bit and the icon closes.
Question: The tutorial has a path with msvc but not mingw. What is the difference and how critical is that?
Back to the tutorial and section: Create a Qt Widgets Application Project
Select File > New > Project and search for Qt Widgets Application.
Put it here: D:\CODE\QT\tutorials
A dialog is opened:
None of the tabs, Configuration etc, are clickable. Clicking Previous is of no help.
I don't know what needs to be done differently.@Bryan-Kelly said in Qt 6 install difficulties:
My Qt Programs section does not have Creator. So start again with this web page
[https://doc.qt.io/qtvstools/qtvstools-getting-started.html](link url)If you want to learn, I recommend to start with normal Qt installation, without the Visual Studio tools. Then you will get the Qt Creator, get more experience with the tools and the code etc. and then you can move to VS addin if you prefer.
Question: The tutorial has a path with msvc but not mingw. What is the difference and how critical is that?
MSVC and MinGW compilers are completely incompatible. Mixing them will definitely not work! I guess that explains the rest of the problems you have.
-
wrote on 3 Jun 2022, 19:00 last edited by Bryan Kelly 6 Mar 2022, 19:07
Windows 10, Visual Studio 2019
As one of several attempt to install stated that the package was already installed, when it was not, all the Qt stuff was un-installed to start over fresh.
However, after the uninstalls and restart, the Windows Apps tool shows QT still remains, and two instances at that. Here is from the Apps section when one of those has been clicked. The other looks the same with the different date.
When Uninstall is clicked the following is presented.
(Edit: I first tried to install everything on D drive, then gave that up and deleted all the Qt stuff on D drive. Was that a fatal and permanent error?")For now, so be it, and try to install. Here is the name of the install utility that was obtained.
"C:\Users\bryan\Downloads\qt-vsaddin-msvc2019-2.8.1-rev.06.vsix"
It has “msvc” in the name leading to the presumption that it is the correct version.
Start it and get this result:What can I do to get all Qt stuff uninstalled so I can get the right version installed?