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 2.7k 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.
  • M MongKong
    24 Feb 2019, 19:37

    @mrjj

    should i reinstall Qt ?

    M Offline
    M Offline
    mrjj
    Lifetime Qt Champion
    wrote on 24 Feb 2019, 19:45 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 24 Feb 2019, 19:59 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 24 Feb 2019, 20:21 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 24 Feb 2019, 20:23 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
          • M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 24 Feb 2019, 20:24 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 24 Feb 2019, 20:27 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
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 24 Feb 2019, 21:55 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 24 Feb 2019, 22:06
                2
                • S SGaist
                  24 Feb 2019, 21:55

                  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 24 Feb 2019, 22:06 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 24 Feb 2019, 22:06 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
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 24 Feb 2019, 22:23 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

                      22/22

                      24 Feb 2019, 22:23

                      • Login

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