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. GCC Desktop Kit yellow mark on Linux
Qt 6.11 is out! See what's new in the release blog

GCC Desktop Kit yellow mark on Linux

Scheduled Pinned Locked Moved Solved General and Desktop
25 Posts 5 Posters 3.3k 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.
  • jsulmJ jsulm

    @qcoderpro Can you upload this project to somewhere so we can test?

    Q Offline
    Q Offline
    qcoderpro
    wrote on last edited by
    #15

    @jsulm
    Yes, I uploaded it here: https://www.dropbox.com/s/xuji3ghpbvsy5u8/DialogTest.7z?dl=0

    jsulmJ 1 Reply Last reply
    0
    • Q qcoderpro

      @jsulm
      Yes, I uploaded it here: https://www.dropbox.com/s/xuji3ghpbvsy5u8/DialogTest.7z?dl=0

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

      @qcoderpro I can build it on Linux without any issues.
      Did you delete the DialogTest.pro.user file after copying to Linux?

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

      Q 1 Reply Last reply
      2
      • jsulmJ jsulm

        @qcoderpro I can build it on Linux without any issues.
        Did you delete the DialogTest.pro.user file after copying to Linux?

        Q Offline
        Q Offline
        qcoderpro
        wrote on last edited by
        #17

        @jsulm
        yes.
        Now how to recover it or anything to fix the issue please?

        jsulmJ 1 Reply Last reply
        0
        • Q qcoderpro

          @jsulm
          yes.
          Now how to recover it or anything to fix the issue please?

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

          @qcoderpro On which file system is the project located?
          Do you have any old build artefacts in the project or build folder?

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

          Q 1 Reply Last reply
          0
          • jsulmJ jsulm

            @qcoderpro On which file system is the project located?
            Do you have any old build artefacts in the project or build folder?

            Q Offline
            Q Offline
            qcoderpro
            wrote on last edited by
            #19

            @jsulm

            The project is made and working properly on Windows. Now what should I do to test it on Linux?

            I transferred the project to Linux:

            Screenshot from 2020-05-12 08-44-24.png

            Now I open the IDE (Qt Creator) and open the .pro file. Then I configure the project. But there is only the .pro and main.cpp files on the list!

            Screenshot from 2020-05-12 08-50-19.png

            So I add DialodTest.cpp and DialogTest.h files to the project.

            Screenshot from 2020-05-12 08-52-42.png

            And then run it.
            And suddenly all those errors come up.

            The problem is either with my Qt or Linux! But how to know and fix it?

            jsulmJ J.HilkJ 2 Replies Last reply
            0
            • Q qcoderpro

              @jsulm

              The project is made and working properly on Windows. Now what should I do to test it on Linux?

              I transferred the project to Linux:

              Screenshot from 2020-05-12 08-44-24.png

              Now I open the IDE (Qt Creator) and open the .pro file. Then I configure the project. But there is only the .pro and main.cpp files on the list!

              Screenshot from 2020-05-12 08-50-19.png

              So I add DialodTest.cpp and DialogTest.h files to the project.

              Screenshot from 2020-05-12 08-52-42.png

              And then run it.
              And suddenly all those errors come up.

              The problem is either with my Qt or Linux! But how to know and fix it?

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

              @qcoderpro There is nothing special to do.
              I downloaded your archive, extracted it, deleted DialogTest.pro.user file, open the pro file in QtCreator and built. That's it.
              So, again: did you delete DialogTest.pro.user before opening project in QtCreator?

              I guess you now added the files twice to the pro file? That would explain the errors you get...

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

              1 Reply Last reply
              2
              • Q qcoderpro

                @jsulm

                The project is made and working properly on Windows. Now what should I do to test it on Linux?

                I transferred the project to Linux:

                Screenshot from 2020-05-12 08-44-24.png

                Now I open the IDE (Qt Creator) and open the .pro file. Then I configure the project. But there is only the .pro and main.cpp files on the list!

                Screenshot from 2020-05-12 08-50-19.png

                So I add DialodTest.cpp and DialogTest.h files to the project.

                Screenshot from 2020-05-12 08-52-42.png

                And then run it.
                And suddenly all those errors come up.

                The problem is either with my Qt or Linux! But how to know and fix it?

                J.HilkJ Offline
                J.HilkJ Offline
                J.Hilk
                Moderators
                wrote on last edited by
                #21

                @qcoderpro
                start again from scratch. QtCreator does not show the project tree when your compiler setup is messed up. So when you added the files to the project file you added them twice (as @jsulm suggested)

                • Close QtCreator
                • Delete the project
                • Delete the build folder
                • Copy&Extract the project form windows over
                • delete the *.pro.user file
                • open the .pro file with QtCreator
                • Select the correct& working compiler configuration
                • Build the project

                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                Q 1 Reply Last reply
                2
                • J.HilkJ J.Hilk

                  @qcoderpro
                  start again from scratch. QtCreator does not show the project tree when your compiler setup is messed up. So when you added the files to the project file you added them twice (as @jsulm suggested)

                  • Close QtCreator
                  • Delete the project
                  • Delete the build folder
                  • Copy&Extract the project form windows over
                  • delete the *.pro.user file
                  • open the .pro file with QtCreator
                  • Select the correct& working compiler configuration
                  • Build the project
                  Q Offline
                  Q Offline
                  qcoderpro
                  wrote on last edited by
                  #22

                  @J-Hilk

                  I added the files "after" configuring the compiler. And now I have not added the files and the IDE doesn't show them either. It's only the .pro and main.cpp. Yet I run it and now I get this error.

                  Screenshot from 2020-05-12 09-11-30.png

                  I created an empty project "Test_1" and the IDE showed the same errors as above for this one too, so probably it's the source of the issue.

                  Screenshot from 2020-05-12 09-12-20.png

                  Pablo J. RoginaP jsulmJ 2 Replies Last reply
                  0
                  • Q qcoderpro

                    @J-Hilk

                    I added the files "after" configuring the compiler. And now I have not added the files and the IDE doesn't show them either. It's only the .pro and main.cpp. Yet I run it and now I get this error.

                    Screenshot from 2020-05-12 09-11-30.png

                    I created an empty project "Test_1" and the IDE showed the same errors as above for this one too, so probably it's the source of the issue.

                    Screenshot from 2020-05-12 09-12-20.png

                    Pablo J. RoginaP Offline
                    Pablo J. RoginaP Offline
                    Pablo J. Rogina
                    wrote on last edited by
                    #23

                    @qcoderpro it looks like your development machine is missing some OpenGL dev libraries. See this post just in case

                    Upvote the answer(s) that helped you solve the issue
                    Use "Topic Tools" button to mark your post as Solved
                    Add screenshots via postimage.org
                    Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                    1 Reply Last reply
                    1
                    • Q qcoderpro

                      @J-Hilk

                      I added the files "after" configuring the compiler. And now I have not added the files and the IDE doesn't show them either. It's only the .pro and main.cpp. Yet I run it and now I get this error.

                      Screenshot from 2020-05-12 09-11-30.png

                      I created an empty project "Test_1" and the IDE showed the same errors as above for this one too, so probably it's the source of the issue.

                      Screenshot from 2020-05-12 09-12-20.png

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

                      @qcoderpro Take a look at https://doc.qt.io/qt-5/linux.html and install libgl1-mesa-dev package as shown there

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

                      Q 1 Reply Last reply
                      1
                      • jsulmJ jsulm

                        @qcoderpro Take a look at https://doc.qt.io/qt-5/linux.html and install libgl1-mesa-dev package as shown there

                        Q Offline
                        Q Offline
                        qcoderpro
                        wrote on last edited by
                        #25

                        @jsulm

                        Thanks so much. Solved.

                        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