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. No success trying to build Windows apps using Qt 5

No success trying to build Windows apps using Qt 5

Scheduled Pinned Locked Moved General and Desktop
12 Posts 4 Posters 3.5k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #3

    Hi and welcome to devnet,

    When developing on Windows you cannot mix everything and anything. The Qt used must match the compiler used. You have download the VS2010 package but you have VS2013. You must use a matching build of Qt. Currently the Qt project proposes VS2013 package only for Qt 5.3 beta but you can also find some "here":http://www.tver-soft.org/qt64

    Qt doesn't bundle any compiler except for the MinGW package where all is provided so there's no need for any additional installation. Visual Studio can only be acquired (even the free edition) from Microsoft.

    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
    • B Offline
      B Offline
      BasicPoke
      wrote on last edited by
      #4

      Thank you for the quick answers. So if I install instead "Qt 5.2.1 for Windows 32-bit (MinGW 4.8, OpenGL, 634 MB)" will that work for me even though I am running Windows 7 64-bit?
      Ron

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

        Yes, Windows 7 64bit can run both type of binaries

        But first thing to do is uninstall the MinGW you already installed since you don't need it that will avoid potential conflicts

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

          Hi, yes it will work!

          1 Reply Last reply
          0
          • B Offline
            B Offline
            BasicPoke
            wrote on last edited by
            #7

            I will install that one. Does any Qt work with Visual Studio Express?
            Thanks

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

              Yes it does work with the express edition

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

                Thank you for the replies. I installed "“Qt 5.2.1 for Windows 32-bit (MinGW 4.8, OpenGL, 634 MB)”, then set the compiler to "MinGW 4.8 32bit" and was immediately able to build. I have been adding some controls and playing around, and my app crashed a couple times, and Qt crashed a couple of times, so seems it's not real stable.
                Ron

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

                  Did you remove the other MinGW ?

                  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
                  • T Offline
                    T Offline
                    t3685
                    wrote on last edited by
                    #11

                    MinGW is a compiler, just as Visual Studio.
                    Windows 7 64-bit is an operating system.

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      clochydd
                      wrote on last edited by
                      #12

                      Your combination of "Win7 64-Bit + Qt 5.2.1 for Windows 32-bit (MinGW 4.8, OpenGL, 634 MB)" should work stable - do you have any error messages?

                      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