Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Trying to install 5.1
Qt 6.12 LTS is out! See what's new in the release blog

Trying to install 5.1

Scheduled Pinned Locked Moved Installation and Deployment
22 Posts 2 Posters 9.4k 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.
  • S Offline
    S Offline
    sovereignc
    wrote on last edited by
    #3

    I was using 4.8 IDE, uninstalled it to install 5.0 (binaries)
    It installed ok (it runs etc), but there isn't any templates and qmake isn't auto detected etc.
    It does seem to install completely. I started this when 5.0 became available.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sovereignc
      wrote on last edited by
      #4

      It looks like all the files are there.

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

        Then you need to add a new Qt version (the one you downloaded) and Kit to use it.

        Options -> Build & Run -> Qt versions
        Options -> Build & Run -> Kit

        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
        • S Offline
          S Offline
          sovereignc
          wrote on last edited by
          #6

          the Kit is fine, it auto-detected the mingw compiler.
          when manually tried to add the Qt version, it gives the above error.

          the templates are still missing etc.

          There is a InstallationLog text file that shows errors in it.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sovereignc
            wrote on last edited by
            #7

            here are a few lines at the start and end of the log:

            Operations end: 16
            Resource count: 1
            Data block size: 684853205
            Magic marker: 302133811
            Magic cookie: 14007050384008702200
            Index size: 48
            End of data: 698447829
            Number of operations: 0
            StartMenuPath: "C:\Users\Owner\AppData\Roaming\Microsoft\Windows\Start Menu\Programs"
            DesktopDir: "C:\Users\Owner\Desktop"
            Unable to open translated license file. Using untranslated fallback.
            Unable to open translated license file. Using untranslated fallback.
            Unable to open translated license file. Using untranslated fallback.
            Unable to open translated license file. Using untranslated fallback.
            components list is empty in bool __thiscall QInstaller::PackageManagerCorePrivate::appendComponentsToUninstall(const class QList<class QInstaller::Component *> &)
            Tmp and install folder are on the same volume. Volume mount point: "C:" Free space available: "702.28 GiB"
            Installation space required: "3.25 GiB" Temporary space required: "908.92 MiB" Local repository size: "0.00 bytes"
            perform operation: Mkdir

            • arguments: C:/Qt
              Done
              backup operation: Mkdir
            • arguments: C:/Qt/Qt5.1.1
              Done
              perform operation: Mkdir
            • arguments: C:/Qt/Qt5.1.1
              Done
              Install size: 21 components
              Starting elevated process C:\Users\Owner\Downloads\qt-windows-opensource-5.1.1-mingw48_opengl-x86-offline.exe with arguments: --startserver 30863 {2a73c026-2257-4b62-8fc4-f16a35e8394f}.
              Finished starting elevated process.

            create Error-Exception: "Found a binary data file, but we are the installer and we should read the binary resource from our very own binary!"
            Operations start: 212687
            Operations end: 16
            Resource count: 1
            Data block size: 684853205
            Magic marker: 302133811
            Magic cookie: 14007050384008702200
            Index size: 48
            End of data: 698447829
            Writing uninstaller: "C:\Qt\Qt5.1.1/MaintenanceTool.exe.new"
            Maintenance tool restart: false.
            SHOW FINISHED PAGE
            run application as detached process: "C:\Qt\Qt5.1.1\Tools\QtCreator\bin\qtcreator.exe" () "C:/Users/Owner"

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

              What are the errors ?

              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
              • S Offline
                S Offline
                sovereignc
                wrote on last edited by
                #9

                create Error-Exception: “Found a binary data file, but we are the installer and we should read the binary resource from our very own binary!”

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sovereignc
                  wrote on last edited by
                  #10

                  also,
                  when i try to create a project the only templates available are for CMAKE non Qt projects.
                  I want to use qmake

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

                    That's normal if QtCreator can't find a valid Qt Kit. Anyway, did you try a newer installer ?

                    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
                    • S Offline
                      S Offline
                      sovereignc
                      wrote on last edited by
                      #12

                      yes it is, but i downloaded it again.
                      still the same problem.

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

                        Strange, just installed the 5.1.1 MinGW Qt and no problem...

                        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
                        • S Offline
                          S Offline
                          sovereignc
                          wrote on last edited by
                          #14

                          I noticed other little things weren't working, so i rebuilt my computer.
                          So it is working now, BUT
                          it shows keeps showing this in the application window:
                          Key arival and hook
                          every key stroke

                          Thankyou for your help

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

                            I don't understand the BUT part, could you post an image of the problem ?

                            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
                            • S Offline
                              S Offline
                              sovereignc
                              wrote on last edited by
                              #16

                              Starting C:\Users\Charles\Documents\Qt Projects\build-MapleStory-Desktop_Qt_5_1_1_MinGW_32bit-Debug\debug\MapleStory.exe...
                              Key arival and hookKey arival and hook

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

                                Are you sure that these messages don't come from the application you are building ?

                                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
                                • S Offline
                                  S Offline
                                  sovereignc
                                  wrote on last edited by
                                  #18

                                  I don't thick so.
                                  It just a simple gui app, I haven't add any fancy stuff yet.

                                  1 Reply Last reply
                                  0
                                  • S Offline
                                    S Offline
                                    sovereignc
                                    wrote on last edited by
                                    #19

                                    I was just wondering if you had an idea.
                                    I will keep hammering away at.

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

                                      From what you posted, it appears after you started your application. Does it also happen when you start an empty new GUI project ?

                                      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
                                      • S Offline
                                        S Offline
                                        sovereignc
                                        wrote on last edited by
                                        #21

                                        it happens when i make a entry in a text field.
                                        lineEdit, spinBox, etc.
                                        add each one of these in a blank gui app.

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

                                          Just tried it but I don't have anything coming on the output

                                          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

                                          • Login

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