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 not working properly... ( compiler problems ? )
Forum Updated to NodeBB v4.3 + New Features

Qt not working properly... ( compiler problems ? )

Scheduled Pinned Locked Moved Solved General and Desktop
22 Posts 4 Posters 3.0k Views 2 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.
  • mrjjM mrjj

    @MongKong

    and you did install the mingw this time ?

    It seems the project is un configured so either no kits was shown to you or
    you didnt select one.

    what did it show in Kit selection when you made the project ?
    alt text

    M Offline
    M Offline
    MongKong
    wrote on last edited by
    #9

    @mrjj

    removed everything but kept mingw ye

    0_1551025688464_4666e27a-81d3-492f-8ec0-0476b55ce7a6-image.png

    ( i have to wait 600s to reply -.- )

    mrjjM 1 Reply Last reply
    0
    • M MongKong

      @mrjj

      removed everything but kept mingw ye

      0_1551025688464_4666e27a-81d3-492f-8ec0-0476b55ce7a6-image.png

      ( i have to wait 600s to reply -.- )

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

      @MongKong
      and you select that kit and press next ?
      It should not say unconfigured at the "screen" button then.

      M 2 Replies Last reply
      0
      • mrjjM mrjj

        @MongKong
        and you select that kit and press next ?
        It should not say unconfigured at the "screen" button then.

        M Offline
        M Offline
        MongKong
        wrote on last edited by
        #11

        @mrjj

        yeah i did that and it brought me to the picture i sent before:

        alt text

        1 Reply Last reply
        0
        • mrjjM mrjj

          @MongKong
          and you select that kit and press next ?
          It should not say unconfigured at the "screen" button then.

          M Offline
          M Offline
          MongKong
          wrote on last edited by
          #12

          @mrjj

          should i reinstall Qt ?

          mrjjM 1 Reply Last reply
          0
          • M MongKong

            @mrjj

            should i reinstall Qt ?

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

            @MongKong
            Hi
            well something did went wrong.
            Could you please first remove all of Qt.
            Then reboot
            and then install the mingw Qt packet.
            We could also try fiddling with the kits but
            often a reinstall is faster if you have ok internet.

            1 Reply Last reply
            1
            • E Offline
              E Offline
              EvanZ
              wrote on last edited by
              #14

              Hey @MongKong,

              I had recently problems when installing Qt. So I wrote a mini-list of what to do after completely uninstalling Qt, if it can help you:

              1. When installing Qt, select:
                a. the latest version of Qt
                b. the latest compiler version. Choose the MinGW compiler and select the MinGW kit, but not all the MSCV kits.
                c. the latest framework version
                d. a debugger is selected by default

              2. When creating a new project, if necessary, unblock the firewalls of your antivirus.

              3. When creating a new project, if necessary, go to tools->options and select the kit corresponding to the compiler (show the pathway).

              1 Reply Last reply
              2
              • M Offline
                M Offline
                MongKong
                wrote on last edited by
                #15

                i uninstalled Qt and installed it again and i installed all of these packages :
                0_1551039452192_2949e997-c12f-45fa-b7ac-ff88818e5a83-image.png
                0_1551039465098_60a24eb0-1435-4465-91da-798e552b3c60-image.png

                Tried creating a project again...still same thing....
                @EvanZ
                about the tools->options thingy, what do i do, do i press on Desktop Qt 5.12.1 MinGW and press add ? :
                0_1551039568098_ab97a228-8ad6-4e9d-97ac-2f3db47f0618-image.png

                And another thing, when i try opening projects i get this:
                0_1551039635957_4a2bbea4-034c-4679-a142-81c3ae6615fe-image.png

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

                  Hi,

                  If you over over the yellow warning sign, you'll have more information about what is wrong.

                  You should also check the Compilers panel.

                  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
                  1
                  • mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #17

                    Hi
                    That is really odd. normally mingw just works,
                    Do you have any other version of mingw installed ?
                    Do you have Avast virus scanner installed ?

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      MongKong
                      wrote on last edited by MongKong
                      #18

                      @mrjj

                      i used this program before cause i was coding in CodeBlocks ( because it didn't detect my compiler ):
                      0_1551040018537_b1aec9d2-9957-499b-a111-f4523c6a4323-image.png

                      @SGaist :
                      This is what the yellow warning says:
                      0_1551040046956_22f3a407-3f73-4f97-b891-2a1253021a74-image.png

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

                        Looks like you are trying to use a 32bit build of MinGW for a 64bit build of Qt.

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

                        M 1 Reply Last reply
                        2
                        • SGaistS SGaist

                          Looks like you are trying to use a 32bit build of MinGW for a 64bit build of Qt.

                          M Offline
                          M Offline
                          MongKong
                          wrote on last edited by MongKong
                          #20

                          @SGaist
                          hihi
                          Yep, thank you for realizing that !!!
                          it was set for this : F:\Qt\Tools\mingw730_32\bin\g++.exe
                          so i changed it to this: F:\Qt\Tools\mingw730_64\bin\g++.exe
                          now it's working fine :D
                          0_1551045982059_da24acf1-0f22-411b-9a6f-30471d1aef9c-image.png

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            MongKong
                            wrote on last edited by
                            #21

                            @mrjj @EvanZ @SGaist

                            I just want to say thank you to all of you for helping me out !!!
                            Now i can try and make a game :D

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

                              You're welcome !

                              Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)

                              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
                              2

                              • Login

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