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 Compile problem.
Forum Updated to NodeBB v4.3 + New Features

QT Compile problem.

Scheduled Pinned Locked Moved Unsolved General and Desktop
33 Posts 6 Posters 9.0k 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.
  • SGaistS SGaist

    You can grab the sources from here.

    Why 5.6 ? Do you have a technical limitation that forbids the use of a current version ? As wrote before, if you need LTS the current is 5.9.

    U Offline
    U Offline
    UnLuckyGuy
    wrote on last edited by UnLuckyGuy
    #14

    @SGaist This is all messed up... I download 5.7, and it's compile, but it fails too. It create the qmake, but if i trz to us is, it's impossible to run anything, error "QT5 dll is missing" and "widgets module is not declared".

    http://www.mediafire.com/view/waroga8c7d75nid/Error.png

    I am not gonna download any rusty scrap again. I have enough.

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

      You don't give any information about what option you are using so it's close to impossible to give you some hints.

      By the way, why are you building Qt ?

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

      U 1 Reply Last reply
      0
      • SGaistS SGaist

        You don't give any information about what option you are using so it's close to impossible to give you some hints.

        By the way, why are you building Qt ?

        U Offline
        U Offline
        UnLuckyGuy
        wrote on last edited by UnLuckyGuy
        #16

        @SGaist Men, listen, the only thing i do, is run the command prompt, set the path to the source, add:

        configure -platform win32-g++ -release -shared

        Then in mingw32-make if i try to use, that rusty junk doesn't work, i mean prefix:

        -prefix C:/QT_Compiled/ABC/

        And that's it, i do nothing else. When it's compiling, it ask me for opengl, but i can skip it, is not an error, but something like warning i think. I dont want ther OpenGL, at least now.

        "By the way, why are you building Qt ?"

        I wanna compile my tool, and send to my friend, with DLL's, not the source code.

        jsulmJ 1 Reply Last reply
        0
        • U UnLuckyGuy

          @SGaist Men, listen, the only thing i do, is run the command prompt, set the path to the source, add:

          configure -platform win32-g++ -release -shared

          Then in mingw32-make if i try to use, that rusty junk doesn't work, i mean prefix:

          -prefix C:/QT_Compiled/ABC/

          And that's it, i do nothing else. When it's compiling, it ask me for opengl, but i can skip it, is not an error, but something like warning i think. I dont want ther OpenGL, at least now.

          "By the way, why are you building Qt ?"

          I wanna compile my tool, and send to my friend, with DLL's, not the source code.

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

          @UnLuckyGuy said in QT Compile problem.:

          I wanna compile my tool, and send to my friend, with DLL's, not the source code.

          For that you do not have to compile Qt by yourself. Simply install precompiled Qt for your compiler and use it.

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

          U 1 Reply Last reply
          2
          • U UnLuckyGuy

            @SGaist This is all messed up... I download 5.7, and it's compile, but it fails too. It create the qmake, but if i trz to us is, it's impossible to run anything, error "QT5 dll is missing" and "widgets module is not declared".

            http://www.mediafire.com/view/waroga8c7d75nid/Error.png

            I am not gonna download any rusty scrap again. I have enough.

            DiracsbracketD Offline
            DiracsbracketD Offline
            Diracsbracket
            wrote on last edited by Diracsbracket
            #18

            @UnLuckyGuy
            Not related to your problem, but this forum has the neat option where you can make a screen shot and directly paste it in your post using CTRL-V (since you are working on Windows it seems). Or drag&Drop your image file directly into your post. That saves you the trouble of having to upload your image to some external site like mediafire first.

            1 Reply Last reply
            0
            • jsulmJ jsulm

              @UnLuckyGuy said in QT Compile problem.:

              I wanna compile my tool, and send to my friend, with DLL's, not the source code.

              For that you do not have to compile Qt by yourself. Simply install precompiled Qt for your compiler and use it.

              U Offline
              U Offline
              UnLuckyGuy
              wrote on last edited by
              #19

              @jsulm If you help me, where to download the right Pre-compiled version, because i rly have enough of errors.

              I have now QT 5.2.1 and 5.7 with MinGW 5.3 and 4.8, what version should i donwload of that pre-compiled QT? And where?

              1 Reply Last reply
              0
              • U Offline
                U Offline
                UnLuckyGuy
                wrote on last edited by UnLuckyGuy
                #20

                Guys, anybody knows what to do?? I need it, and i tried everything i can.

                PS.Here is the error list.
                http://www.mediafire.com/view/waroga8c7d75nid/Error.png#

                What commands shold i use on mingw32-make ?? I tried t download that pre-compiled version, but i can't find it for QT.

                1 Reply Last reply
                0
                • mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #21

                  Hi
                  Here is direct link to lastest version
                  https://download.qt.io/official_releases/qt/5.10/5.10.1/
                  you can go back to get older if you really need.
                  Make sure to select the mingw version as you not to have VS installed.

                  U 1 Reply Last reply
                  2
                  • mrjjM mrjj

                    Hi
                    Here is direct link to lastest version
                    https://download.qt.io/official_releases/qt/5.10/5.10.1/
                    you can go back to get older if you really need.
                    Make sure to select the mingw version as you not to have VS installed.

                    U Offline
                    U Offline
                    UnLuckyGuy
                    wrote on last edited by
                    #22

                    @mrjj But it's gonna compile? I need any working version to compile, and have the access to compile my tool. Even if it's 5.9, i just need it for compilation process.

                    mrjjM 1 Reply Last reply
                    0
                    • U UnLuckyGuy

                      @mrjj But it's gonna compile? I need any working version to compile, and have the access to compile my tool. Even if it's 5.9, i just need it for compilation process.

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by mrjj
                      #23

                      @UnLuckyGuy
                      But its precompiled ? ready to run.
                      As soon as its installed , its ready to compile Qt apps.
                      You do not need to build it manually.

                      U 1 Reply Last reply
                      1
                      • mrjjM mrjj

                        @UnLuckyGuy
                        But its precompiled ? ready to run.
                        As soon as its installed , its ready to compile Qt apps.
                        You do not need to build it manually.

                        U Offline
                        U Offline
                        UnLuckyGuy
                        wrote on last edited by
                        #24

                        @mrjj Hopeful it's gonna work.
                        Will see, any way if someone know's how to fix that issue (for future), i would like to know, because even if now it helps me a lot, in future i should be able to compile it by myself.

                        1 Reply Last reply
                        0
                        • U Offline
                          U Offline
                          UnLuckyGuy
                          wrote on last edited by
                          #25

                          Fu** up, it's not working.............

                          1 Reply Last reply
                          -1
                          • U Offline
                            U Offline
                            UnLuckyGuy
                            wrote on last edited by
                            #26

                            There is no fu** QMAke again, man wtf?

                            1 Reply Last reply
                            -1
                            • U Offline
                              U Offline
                              UnLuckyGuy
                              wrote on last edited by UnLuckyGuy
                              #27

                              Don't ask me how much time i lost... I find one tutorial, so i go to my compiler directory, and i copy all the dll's, i run my program, and i delete everything, and because the application is running, it stops just the needed DLL's, Works.....

                              I send it to my friend, and what happened??ERROR! Because he has win 10, i thought maybe if i install QT 5.6 and try there, it's gonna work. Another few hours lost, and nothing.
                              Same error.

                              I had fu** enough, if someone asks me if he should use QT, i am gonna say "NO, become a farmer, killer, cannibal, whatever you like, but don't use QT, cuz its gonna ruin your life"

                              I am done with that.

                              http://www.mediafire.com/view/lg46uc02dhf8lvz/errroooooorrrrrr.png

                              jsulmJ 1 Reply Last reply
                              -1
                              • U UnLuckyGuy

                                Don't ask me how much time i lost... I find one tutorial, so i go to my compiler directory, and i copy all the dll's, i run my program, and i delete everything, and because the application is running, it stops just the needed DLL's, Works.....

                                I send it to my friend, and what happened??ERROR! Because he has win 10, i thought maybe if i install QT 5.6 and try there, it's gonna work. Another few hours lost, and nothing.
                                Same error.

                                I had fu** enough, if someone asks me if he should use QT, i am gonna say "NO, become a farmer, killer, cannibal, whatever you like, but don't use QT, cuz its gonna ruin your life"

                                I am done with that.

                                http://www.mediafire.com/view/lg46uc02dhf8lvz/errroooooorrrrrr.png

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

                                @UnLuckyGuy It is always easy to complain about something else instead of asking yourself whether you should learn more. You clearly expect something which is doing what you want without you doing much. Reality is different.
                                There are many many developers out there using Qt successfully and you're not even able to download and install Qt...
                                Qt ruined your life? At least you're writing funny posts...

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

                                U 1 Reply Last reply
                                3
                                • mrjjM Offline
                                  mrjjM Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #29

                                  Hi
                                  What do you mean there is no qmake again?
                                  If you installed one of the binaries i linked too , that is not really possible.
                                  Unless you have a virus scanner that eats it or get write errors during installation.

                                  For running app on other system.
                                  That is called deployment. Besides some DLL it needs, there is also one or more sub folders.

                                  Often this tool can do most of the work of creating the deployment folder
                                  http://doc.qt.io/qt-5/windows-deployment.html

                                  I like this site for overview of the process:
                                  http://www.tripleboot.org/?p=138

                                  (it actually starts with the error u got)

                                  Its not related to Qt version. You will get same error for most version as they all use
                                  same deployment structure.

                                  1 Reply Last reply
                                  6
                                  • jsulmJ jsulm

                                    @UnLuckyGuy It is always easy to complain about something else instead of asking yourself whether you should learn more. You clearly expect something which is doing what you want without you doing much. Reality is different.
                                    There are many many developers out there using Qt successfully and you're not even able to download and install Qt...
                                    Qt ruined your life? At least you're writing funny posts...

                                    U Offline
                                    U Offline
                                    UnLuckyGuy
                                    wrote on last edited by UnLuckyGuy
                                    #30

                                    @jsulm Men,i dot have fu** 20 years for that, and i am not gonna live 500-700 to watch people like you, and lose my time. If you don't respect my time, i am not gonna speak with you.

                                    I tried everything i could, i watch more than one tutorial, i do the exact same thing, and i got errors, so think, what you are you talking about.

                                    "There are many many developers out there using Qt successfully and you're not even able to download and install Qt..."

                                    So how i create any project, if i can't install it? Go move you fingers, download version 5.2.1 or 5.2.0, and check by your self if there are those configuration files in source directory. You just talk, but you don't even check it.

                                    jsulmJ A 2 Replies Last reply
                                    -3
                                    • U UnLuckyGuy

                                      @jsulm Men,i dot have fu** 20 years for that, and i am not gonna live 500-700 to watch people like you, and lose my time. If you don't respect my time, i am not gonna speak with you.

                                      I tried everything i could, i watch more than one tutorial, i do the exact same thing, and i got errors, so think, what you are you talking about.

                                      "There are many many developers out there using Qt successfully and you're not even able to download and install Qt..."

                                      So how i create any project, if i can't install it? Go move you fingers, download version 5.2.1 or 5.2.0, and check by your self if there are those configuration files in source directory. You just talk, but you don't even check it.

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

                                      @UnLuckyGuy I spent my time trying to help you and you say I'm not respecting your time?!
                                      Really?
                                      What do you mean with "people like you"? What do you know about me?
                                      Well, I don't have to waste my time trying to help people who don't respect other people and are not able to communicate in a civilized way...

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

                                      U 1 Reply Last reply
                                      4
                                      • jsulmJ jsulm

                                        @UnLuckyGuy I spent my time trying to help you and you say I'm not respecting your time?!
                                        Really?
                                        What do you mean with "people like you"? What do you know about me?
                                        Well, I don't have to waste my time trying to help people who don't respect other people and are not able to communicate in a civilized way...

                                        U Offline
                                        U Offline
                                        UnLuckyGuy
                                        wrote on last edited by
                                        #32

                                        @jsulm You are comparing few days of pain, with fuc*** 15 min???????????????????????????????????????????????????????
                                        What's wrong with you? It's like comparing an elephant or a dinosaur with ant....

                                        1 Reply Last reply
                                        -3
                                        • U UnLuckyGuy

                                          @jsulm Men,i dot have fu** 20 years for that, and i am not gonna live 500-700 to watch people like you, and lose my time. If you don't respect my time, i am not gonna speak with you.

                                          I tried everything i could, i watch more than one tutorial, i do the exact same thing, and i got errors, so think, what you are you talking about.

                                          "There are many many developers out there using Qt successfully and you're not even able to download and install Qt..."

                                          So how i create any project, if i can't install it? Go move you fingers, download version 5.2.1 or 5.2.0, and check by your self if there are those configuration files in source directory. You just talk, but you don't even check it.

                                          A Offline
                                          A Offline
                                          ambershark
                                          wrote on last edited by ambershark
                                          #33

                                          @UnLuckyGuy said in QT Compile problem.:

                                          Men,i dot have fu** 20 years for that, and i am not gonna live 500-700 to watch people like you, and lose my time. If you don't respect my time, i am not gonna speak with you.

                                          @mrjj told you everything you need to know on how to deploy an application. If it takes you 20 years you should find a new hobby/career path. ;)

                                          This is not a Qt thing this is every single compiled application. If you want easy deployment perhaps learn a simpler language like python or java? Both of those have their deployment woes as well but they aren't as bad as compiled languages.

                                          So basically you just need to learn the basics of deployment of compiled binaries. It is different for every system with windows being one of the harder ones to deploy to.

                                          Luckily for you, Qt being as awesome as it is, there is a tool called windeployqt that does it all for you.

                                          Don't get mad at people for trying to help you though. We've all done our time learning how to be software engineers. You have to put in your time too. It can be frustrating but blaming a tool like Qt just shows how little experience you have. Qt is one of the easier things to deploy with. There is a term in computer science called dll hell (google it). It was around a long time before Qt and will continue to be around for a long time.

                                          You are comparing few days of pain, with fuc*** 15 min??????????

                                          We've all had the "few" days of pain. I had a bug caused by Microsoft that took me 30 days to find. So "few" days is nothing in this industry... @jsulm came in here to help. Nobody wasted your time but you most definitely wasted his. Apologies to him would be the proper thing to do. Just saying.

                                          My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

                                          1 Reply Last reply
                                          7

                                          • Login

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