Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Installer Doesn't Work
Forum Updated to NodeBB v4.3 + New Features

Qt Installer Doesn't Work

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 3 Posters 3.9k Views 2 Watching
  • 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.
  • M Offline
    M Offline
    mnbv
    wrote on last edited by mnbv
    #1

    Windows 7 Pro 64-bit, brand new machine with nothing installed.

    I installed MinGW with MSYS and the basic dev tools (gcc and make) from https://sourceforge.net/projects/mingw/files/Installer/.

    I installed Qt 4.8.5 (mingw) from https://download.qt.io/archive/qt/4.8/4.8.5/.

    I installed Qt Creator 4.1.0 from https://www.qt.io/download-open-source/#section-2.

    I selected the mingw installation path when prompted during setup.

    Qt Creator didn't autodetect anything, I tried setting things up manually (there is no manual setup documentation really) by randomly going through the various tabs in Qt Creator but wasn't able to get a functioning environment set up.

    I also tried uninstalling Qt 4.8.5 then reinstalling to see if the order mattered but that didn't change anything (the Qt installer and uninstaller take like 15-20 minutes, which didn't ease the pain).

    Isn't "autodetect" supposed to "automatically" "detect" Qt and mingw installations?

    Please advise. How do I make Qt Creator work, since the installers don't seem to install anything properly?

    jsulmJ 1 Reply Last reply
    0
    • M mnbv

      Windows 7 Pro 64-bit, brand new machine with nothing installed.

      I installed MinGW with MSYS and the basic dev tools (gcc and make) from https://sourceforge.net/projects/mingw/files/Installer/.

      I installed Qt 4.8.5 (mingw) from https://download.qt.io/archive/qt/4.8/4.8.5/.

      I installed Qt Creator 4.1.0 from https://www.qt.io/download-open-source/#section-2.

      I selected the mingw installation path when prompted during setup.

      Qt Creator didn't autodetect anything, I tried setting things up manually (there is no manual setup documentation really) by randomly going through the various tabs in Qt Creator but wasn't able to get a functioning environment set up.

      I also tried uninstalling Qt 4.8.5 then reinstalling to see if the order mattered but that didn't change anything (the Qt installer and uninstaller take like 15-20 minutes, which didn't ease the pain).

      Isn't "autodetect" supposed to "automatically" "detect" Qt and mingw installations?

      Please advise. How do I make Qt Creator work, since the installers don't seem to install anything properly?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @mnbv You should not install MinGW from MSYS.
      Qt Online Installer allows you to install MinGW - that's the simplest solution and was always working for me.
      So, use Qt Online Installer to install Qt for MinGW, MinGW and QtCreator.
      Another benefit of doing so: you will have the Qt Maintenance Tool which you can use to add/remove other stuff and to update your installation.
      A note: Qt 4.8.5 is not the latest Qt 4.8 version. Do you really have to use Qt 4.8? Latest version is 5.7.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      2
      • jsulmJ jsulm

        @mnbv You should not install MinGW from MSYS.
        Qt Online Installer allows you to install MinGW - that's the simplest solution and was always working for me.
        So, use Qt Online Installer to install Qt for MinGW, MinGW and QtCreator.
        Another benefit of doing so: you will have the Qt Maintenance Tool which you can use to add/remove other stuff and to update your installation.
        A note: Qt 4.8.5 is not the latest Qt 4.8 version. Do you really have to use Qt 4.8? Latest version is 5.7.

        M Offline
        M Offline
        mnbv
        wrote on last edited by mnbv
        #3

        @jsulm I do really have to use 4.8. I will uninstall everything and try the online installer from scratch.

        I picked 4.8.5 instead of 4.8.6 because in https://download.qt.io/archive/qt/4.8 all of the mingw installers were named qt-win-opensource-4.8.x-mingw.exe except the 4.8.6 installer, which was named qt-opensource-windows-x86-mingw482-4.8.6-1.exe. I didn't know or want to know what the "482" after "mingw" meant or why the filename was generally different so I just decided to try and avoid a surprise for now (although I did not avoid a surprise...). I don't like when things like that are inexplicably different.

        Thanks, I'm sure everything will be smoother with the online installer. I will give it a shot.

        Still, even with installing the components separately, why would the Qt Creator installer not auto detect the Qt installation, and not detect the MinGW installation even though I entered the path in the installer? Isn't auto detect supposed to work?

        jsulmJ 1 Reply Last reply
        0
        • M mnbv

          @jsulm I do really have to use 4.8. I will uninstall everything and try the online installer from scratch.

          I picked 4.8.5 instead of 4.8.6 because in https://download.qt.io/archive/qt/4.8 all of the mingw installers were named qt-win-opensource-4.8.x-mingw.exe except the 4.8.6 installer, which was named qt-opensource-windows-x86-mingw482-4.8.6-1.exe. I didn't know or want to know what the "482" after "mingw" meant or why the filename was generally different so I just decided to try and avoid a surprise for now (although I did not avoid a surprise...). I don't like when things like that are inexplicably different.

          Thanks, I'm sure everything will be smoother with the online installer. I will give it a shot.

          Still, even with installing the components separately, why would the Qt Creator installer not auto detect the Qt installation, and not detect the MinGW installation even though I entered the path in the installer? Isn't auto detect supposed to work?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by jsulm
          #4

          @mnbv said in Qt Installer Doesn't Work:

          482

          this is the MinGW version: 4.8.2
          -1 is the build number (I guess were was a fix without version number increase).
          Both are not things to worry about.
          I think there is no online installer for Qt 4.8

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          M 1 Reply Last reply
          0
          • jsulmJ jsulm

            @mnbv said in Qt Installer Doesn't Work:

            482

            this is the MinGW version: 4.8.2
            -1 is the build number (I guess were was a fix without version number increase).
            Both are not things to worry about.
            I think there is no online installer for Qt 4.8

            M Offline
            M Offline
            mnbv
            wrote on last edited by
            #5

            @jsulm I don't think so. The latest version of MinGW is 3.22 (https://sourceforge.net/projects/mingw/files/MinGW/Base/mingwrt/), and they use a two number version scheme.

            jsulmJ 1 Reply Last reply
            0
            • M mnbv

              @jsulm I don't think so. The latest version of MinGW is 3.22 (https://sourceforge.net/projects/mingw/files/MinGW/Base/mingwrt/), and they use a two number version scheme.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @mnbv I mean it is the GCC version delivered with MinGW.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              M 1 Reply Last reply
              1
              • jsulmJ jsulm

                @mnbv I mean it is the GCC version delivered with MinGW.

                M Offline
                M Offline
                mnbv
                wrote on last edited by mnbv
                #7

                @jsulm That makes sense.

                So does that mean Qt 4.8.6 requires GCC <=, ==, or >= 4.8.2? And then there are no constraints on GCC version for Qt 4.8.5, since the GCC version number isn't in the 4.8.5 installer filename?

                jsulmJ 1 Reply Last reply
                0
                • M mnbv

                  @jsulm That makes sense.

                  So does that mean Qt 4.8.6 requires GCC <=, ==, or >= 4.8.2? And then there are no constraints on GCC version for Qt 4.8.5, since the GCC version number isn't in the 4.8.5 installer filename?

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @mnbv It only means that that package contains GCC 4.8.2 and that Qt in that package whas build with this particular version.
                  Which other versions are supported that I don't know, it should be stated somewhere (release notes?).
                  There are constrains for all versions (you will for sure not be able to use GCC 2.x :-)), but I'm quite sure Qt 4.8.x have very similar compiler requirements.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mnbv
                    wrote on last edited by
                    #9

                    Well I do need Qt4 and the online installer does not work with Qt4. So does anybody know how to install Qt4 with Qt Creator? I don't understand why it doesn't work or why it isn't documented, or why it's even difficult.

                    1 Reply Last reply
                    0
                    • Ni.SumiN Offline
                      Ni.SumiN Offline
                      Ni.Sumi
                      wrote on last edited by
                      #10

                      hi @mnbv ,

                      You can find all the Qt versions here. . You can find the suitable version for you.

                      1 Reply Last reply
                      1

                      • Login

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