Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [solved] Qt Bundle for 4.4?
Forum Updated to NodeBB v4.3 + New Features

[solved] Qt Bundle for 4.4?

Scheduled Pinned Locked Moved Qt Creator and other tools
7 Posts 2 Posters 2.3k Views 1 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.
  • D Offline
    D Offline
    darkp03
    wrote on last edited by
    #1

    Hi!

    I have a project that was designed for Qt 4.4 and Im having an extremelly hard time making it work for the newest version of Qt, so I have finally decided to stop wasting my time and just install the Qt it was designed for, but anyway, this didnt result any easier.

    Is there a Qt bundle , like the one theres for the newest release, that contains both the Qt and the Qt creator?
    Ive tried several times, and I just cant get it running downloading the libraries and the creator and making them work.
    I know that I have everything out there, but I just cant get it working, and I am getting really frustrated.

    If theres not, could someone give me a detailed guideline of the order in wich I need to download and install them?
    The project was designed for mingw and not VS.

    I understand that these are the kind of posts most people hate, and produce answers like "Google is your friend", but if i am asking, is because I indeed tried several times, and I still cant get them running.
    Im running Windows 7. Im planning on installing a Virtual machine, so that I make sure previous libraries and versions of Qt dont ruin what im trying to do.

    So, to sum up, what im looking for are the correct links, and order in which they should be installed, to get a 4.4 version of Qt + Qt creator, with mingw, running on Windows 7. Please be patient with me, and understand that, if im making this post, is because I tried many times, but I cant get my Qt creator to find my Qt libraries and my Mingw.

    Thanks in advance!

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      A project written for Qt 4.4 probably won't compile with Qt 5.x, but it should compile with Qt 4.8.

      [quote]Is there a Qt bundle , like the one theres for the newest release, that contains both the Qt and the Qt creator?[/quote]There are no bundles for Qt 4, unfortunately.

      Here's method to set up your development environment with the least steps (although it involves downloading Qt 5 as well which you don't actually need):

      Go to http://qt-project.org/downloads and click "Show Downloads"

      Download and install Qt 5.3.2 for Windows 32-bit (MinGW 4.8.2, OpenGL, 737 MB)

      Download and install Qt libraries 4.8.6 for Windows (MinGW 4.8.2, 328 MB)

      Open Qt Creator

      Go to Tools -> Options -> Build & Run -> Qt Versions

      Click "Add", navigate to the folder where you installed Qt 4.8.6, and select qmake.exe

      Go to Tools -> Options -> Build & Run -> Kits

      Click "Add", select "MinGW 4.8.2 32bit" as your compiler and select Qt 4.8.6 as your Qt version

      Now, you can use Qt 4.8.6 to build your project.

      Good luck!


      Notes:

      • The reason for Step #1 above is to get a copy of Qt Creator and MinGW that is known to work well with Qt
      • Qt 4.8.5 and earlier are packaged with support for GCC 4.4, which is old and hard to find. These packages crash if compiled with GCC 4.8.
      • Qt 4.8.6 is packaged with support for GCC 4.8.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • D Offline
        D Offline
        darkp03
        wrote on last edited by
        #3

        Thanks for your answer and your patience! Ive followed your steps, yet I still havent managed to make the installation work.

        To begin with, when I install the newest Qt bundle, it works like a charm. The first issue I have is when installing Qt 4.8.6. Im getting the following error message, on the step where you have to put the path of your minGW installation.

        http://1drv.ms/1oMz54M

        I clicked on yes, and continued the installation. Then after installation finished, I set up Qt as you described, and I had some errors, this is how my compiler page looks like (notice the error "Qt version is not properly installed, please run make install")

        http://1drv.ms/1nbHe7B

        Then this is my Kit page (also with an error)

        http://1drv.ms/1vNfZzx

        Finally, when I try to compile, I get the following error

        http://1drv.ms/1nbHljt

        Could someone please tell me what Im doing wrong?

        Thanks in advance!

        Note: The links are safe, Ive uploaded my screenshots through hotmails "OneDrive" and thats the link to them.

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          You're most welcome :)

          [quote author="darkp03" date="1412688815"]Im getting the following error message, on the step where you have to put the path of your minGW installation.

          http://1drv.ms/1oMz54M
          [/quote]That message appeared because you didn't select the MinGW folder.

          Don't worry about this message though, because you've already selected the correct version of MinGW in Qt Creator.

          [quote author="darkp03" date="1412688815"]I had some errors, this is how my compiler page looks like (notice the error "Qt version is not properly installed, please run make install")

          http://1drv.ms/1nbHe7B

          Then this is my Kit page (also with an error)

          http://1drv.ms/1vNfZzx

          Finally, when I try to compile, I get the following error

          http://1drv.ms/1nbHljt
          [/quote]I'm not sure how it happened, but your qmake location is wrong.

          Your config says:

          • C:\Qt\4.8.6\qmake\qmake.exe

          But the correct location of qmake is:

          • C:\Qt\4.8.6\bin\qmake.exe

          Remove the Kit and Qt Version. Then try again by adding C:\Qt\4.8.6\bin\qmake.exe

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • D Offline
            D Offline
            darkp03
            wrote on last edited by
            #5

            Well, I have both good news, and bad news.

            The good news, is that my Qt is running nice and smoothly thanks to your recommendations. :D

            The bad news, is that I dont know why, but this doesnt seem to be a 4.8 build

            For example, this project uses the qhttp class, and now im getting the error "QHttp: No such file or directory"

            Any ideas?

            1 Reply Last reply
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              When you opened your project, did you select the Qt 5.3 kit or the Qt 4.8 kit?

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              0
              • D Offline
                D Offline
                darkp03
                wrote on last edited by
                #7

                I erased the .pro.user, cleaned the project, and then started compiling. Thanks for your help!

                Switching it to Solved

                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