Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 6 install difficulties
QtWS25 Last Chance

Qt 6 install difficulties

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 2 Posters 589 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bryan Kelly
    wrote on 22 May 2022, 02:54 last edited by Bryan Kelly
    #1

    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.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 22 May 2022, 07:42 last edited by
      #2

      You should open Qt Creator, not Assistant. It contains some examples on welcome page.

      (Z(:^

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Bryan Kelly
        wrote on 3 Jun 2022, 01:06 last edited by
        #3

        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 Versions

        In 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:
        wizard_dialog.JPG

        None of the tabs, Configuration etc, are clickable. Clicking Previous is of no help.
        I don't know what needs to be done differently.

        S 1 Reply Last reply 3 Jun 2022, 04:47
        0
        • B Bryan Kelly
          3 Jun 2022, 01:06

          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 Versions

          In 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:
          wizard_dialog.JPG

          None of the tabs, Configuration etc, are clickable. Clicking Previous is of no help.
          I don't know what needs to be done differently.

          S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 3 Jun 2022, 04:47 last edited by
          #4

          @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.

          (Z(:^

          1 Reply Last reply
          1
          • B Offline
            B Offline
            Bryan Kelly
            wrote on 3 Jun 2022, 19:00 last edited by Bryan Kelly 6 Mar 2022, 19:07
            #5

            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.
            install_01_on_2022-06-03.JPG

            When Uninstall is clicked the following is presented.

            install_02_on_2022-06-03.JPG
            (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:

            install_03_on_2022-06-03.JPG

            What can I do to get all Qt stuff uninstalled so I can get the right version installed?

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved