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. Issue about Qt 4.8
Forum Updated to NodeBB v4.3 + New Features

Issue about Qt 4.8

Scheduled Pinned Locked Moved Solved Installation and Deployment
8 Posts 3 Posters 2.7k Views 3 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.
  • I Offline
    I Offline
    isaacEnrique
    wrote on last edited by isaacEnrique
    #1

    Regards.

    Recently I install Qt 5.5.1 and QtCreator 3.5.1. I need, however to build and run my code with Qt 4.8.

    I'm working under Windows environment, and need to use the version of MinGW that come with Qt 5.

    I would like (if possible) download version 4.8 of the Qt library and use it from the QtCreator already have installed (taking into account the issue of MinGW I mentioned earlier).

    Is it possible to do what I want ?, How I can do?

    Thanks in advance for any help and/or suggestions.

    Isaac Pérez
    Programming is understanding.

    JKSHJ 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      If you want to use the same version of MinGW then you should just build Qt 4 with it.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • I isaacEnrique

        Regards.

        Recently I install Qt 5.5.1 and QtCreator 3.5.1. I need, however to build and run my code with Qt 4.8.

        I'm working under Windows environment, and need to use the version of MinGW that come with Qt 5.

        I would like (if possible) download version 4.8 of the Qt library and use it from the QtCreator already have installed (taking into account the issue of MinGW I mentioned earlier).

        Is it possible to do what I want ?, How I can do?

        Thanks in advance for any help and/or suggestions.

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by JKSH
        #3

        @isaacEnrique said:

        Is it possible to do what I want ?, How I can do?

        Yes, it is.

        1. Download http://download.qt.io/official_releases/qt/4.8/4.8.7/qt-opensource-windows-x86-mingw482-4.8.7.exe
        2. See Adding Qt Versions to tell Qt Creator where to find the Qt binaries.
        3. Finally, see Adding Kits to tell Qt Creator how to combine your compiler with the Qt binaries.

        The official Qt 5.5.1 package contains MinGW 4.9.2, while the official Qt 4.8.7 was built using MinGW 4.8.2. These 2 versions of MinGW are compatible with each other, so there is no issue.

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

        1 Reply Last reply
        1
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          My bad, my memory failed me about the compiler ABI break, that was with GCC 4.7.0-4.7.1.

          Go with @JKSH's suggestion, it will be simpler.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • I Offline
            I Offline
            isaacEnrique
            wrote on last edited by
            #5

            I install Qt 4.8.6 (from http://download.qt.io/archive/qt/4.8/4.8.6/qt-opensource-windows-x86-vs2010-4.8.6.exe) and set the corresponding kit in Qt Creator, I am using the version of MinGW toolchain included in my installation cited in the first post (ie MinGW 4.9.2).

            My app compiles without problems but get the following error when I run:

            The program has unexpectedly finished.
            ...
            exited with code -1073741515

            I tested installing Qt 4.8.6 + Qt Creator 2.5.2 (from http://download.qt.io/archive/qtcreator/2.5/qt-creator-win-opensource-2.5.2.exe) on another computer. I configure the corresponding Kit and get the same error.

            When I double click on the executable my app, the operating system says the Qt5Cored.dll file is missing.

            I really do not know what else to do about it.

            Any ideas and / or suggestions?

            Isaac Pérez
            Programming is understanding.

            JKSHJ 1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              If you want to start your application from explorer then you need to follow the same steps you would for deploying that application on another computer.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • I isaacEnrique

                I install Qt 4.8.6 (from http://download.qt.io/archive/qt/4.8/4.8.6/qt-opensource-windows-x86-vs2010-4.8.6.exe) and set the corresponding kit in Qt Creator, I am using the version of MinGW toolchain included in my installation cited in the first post (ie MinGW 4.9.2).

                My app compiles without problems but get the following error when I run:

                The program has unexpectedly finished.
                ...
                exited with code -1073741515

                I tested installing Qt 4.8.6 + Qt Creator 2.5.2 (from http://download.qt.io/archive/qtcreator/2.5/qt-creator-win-opensource-2.5.2.exe) on another computer. I configure the corresponding Kit and get the same error.

                When I double click on the executable my app, the operating system says the Qt5Cored.dll file is missing.

                I really do not know what else to do about it.

                Any ideas and / or suggestions?

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by JKSH
                #7

                @isaacEnrique said:

                I install Qt 4.8.6 (from http://download.qt.io/...vs2010-4.8.6.exe) and...I am using the version of MinGW toolchain...

                VS2010 is not compatible with MinGW!

                You must download the MinGW version of Qt 4.8 -- I already gave you the correct link in my last message. (And use Qt 4.8.7, not 4.8.6)

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

                1 Reply Last reply
                0
                • I Offline
                  I Offline
                  isaacEnrique
                  wrote on last edited by
                  #8

                  Thanks everyone for your help.

                  In summary, I download and install:

                  Qt 4.8.6 (http://download.qt.io/archive/qt/4.8/4.8.6/qt-opensource-windows-x86-mingw482-4.8.6-1.exe)
                  QtCreator 2.5.2 (https://download.qt.io/archive/qtcreator/2.5)
                  MinGW 4.8.2 (from https://wiki.qt.io/MinGW, I select the appropriate link to Qt 4.8.6)

                  Now I can build my application. Problem solved.

                  Isaac Pérez
                  Programming is understanding.

                  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