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 Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues

Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 2 Posters 923 Views
  • 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.
  • OscarTheGrouchO Offline
    OscarTheGrouchO Offline
    OscarTheGrouch
    wrote on last edited by
    #1

    New user to Qt, trying to just learn and write programs for myself.
    Installed Qt Creator 4.14.1 under GPL v3.
    After some trial and error, discovered I need a Qt version.
    Installed Qt 5.12.10
    Still will not open a new project. Issues with Tools>Options>Kits and Cmake
    Kits show Desktop but with warning icon.
    CMake shows no auto or manual option.
    See attached screen shot pictures.
    Also noticed https://www.qt.io/product/features#js-6-4 doesn't seem to allow the choice of GPL, Dev Platform = Linux and Target Platforms = Linux/X11. Keeps switching back to Commercial License
    Any help greatly appreciated.
    OtG

    Screenshot at 2021-03-21 18-04-45.png Screenshot at 2021-03-21 18-04-29.png Screenshot at 2021-03-21 18-04-15.png Screenshot at 2021-03-21 18-03-53.png Screenshot at 2021-03-21 18-02-47.png

    JKSHJ 1 Reply Last reply
    0
    • OscarTheGrouchO OscarTheGrouch

      New user to Qt, trying to just learn and write programs for myself.
      Installed Qt Creator 4.14.1 under GPL v3.
      After some trial and error, discovered I need a Qt version.
      Installed Qt 5.12.10
      Still will not open a new project. Issues with Tools>Options>Kits and Cmake
      Kits show Desktop but with warning icon.
      CMake shows no auto or manual option.
      See attached screen shot pictures.
      Also noticed https://www.qt.io/product/features#js-6-4 doesn't seem to allow the choice of GPL, Dev Platform = Linux and Target Platforms = Linux/X11. Keeps switching back to Commercial License
      Any help greatly appreciated.
      OtG

      Screenshot at 2021-03-21 18-04-45.png Screenshot at 2021-03-21 18-04-29.png Screenshot at 2021-03-21 18-04-15.png Screenshot at 2021-03-21 18-03-53.png Screenshot at 2021-03-21 18-02-47.png

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @OscarTheGrouch said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

      discovered I need a Qt version.
      Installed Qt 5.12.10
      Still will not open a new project. Issues with Tools>Options>Kits and Cmake
      Kits show Desktop but with warning icon.

      You also need a C++ compiler. Install g++ from your Linux distro's preferred repository.

      CMake shows no auto or manual option.

      Do you have existing experience with CMake? If not, you can ignore this for now and just use qmake which was installed with your Qt 5.12.10.

      If you want to use CMake, install it from your Linux distro's preferred repository.

      Also noticed https://www.qt.io/product/features#js-6-4 doesn't seem to allow the choice of GPL, Dev Platform = Linux and Target Platforms = Linux/X11. Keeps switching back to Commercial License

      Unfortunately, that page doesn't seem to be very well-designed: https://forum.qt.io/topic/123280/qt-features-page-working-correctly

      What would you like to find out? Perhaps someone here could answer your questions.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      OscarTheGrouchO 1 Reply Last reply
      2
      • JKSHJ JKSH

        @OscarTheGrouch said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

        discovered I need a Qt version.
        Installed Qt 5.12.10
        Still will not open a new project. Issues with Tools>Options>Kits and Cmake
        Kits show Desktop but with warning icon.

        You also need a C++ compiler. Install g++ from your Linux distro's preferred repository.

        CMake shows no auto or manual option.

        Do you have existing experience with CMake? If not, you can ignore this for now and just use qmake which was installed with your Qt 5.12.10.

        If you want to use CMake, install it from your Linux distro's preferred repository.

        Also noticed https://www.qt.io/product/features#js-6-4 doesn't seem to allow the choice of GPL, Dev Platform = Linux and Target Platforms = Linux/X11. Keeps switching back to Commercial License

        Unfortunately, that page doesn't seem to be very well-designed: https://forum.qt.io/topic/123280/qt-features-page-working-correctly

        What would you like to find out? Perhaps someone here could answer your questions.

        OscarTheGrouchO Offline
        OscarTheGrouchO Offline
        OscarTheGrouch
        wrote on last edited by
        #3

        @JKSH said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

        You also need a C++ compiler. Install g++ from your Linux distro's preferred repository.

        OK, this helped with the Kits issue and Compiler now shows C++ support. Thanks!!

        Do you have existing experience with CMake? If not, you can ignore this for now and just use qmake which was installed with your Qt 5.12.10

        Will do.

        What would you like to find out? Perhaps someone here could answer your questions.

        Just wanted to know if I could make Linux applications under GPL with Linux Dev Platform.

        New project complies but doesn't run, error is
        "cannot find -lGL"
        I've seen this before when I tried to get Qt working (changed computers)
        So I'm not sure how to get this fixed. I think it's something to do with display??
        Any help, again appreciated,
        OtG

        JKSHJ 1 Reply Last reply
        0
        • OscarTheGrouchO OscarTheGrouch

          @JKSH said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

          You also need a C++ compiler. Install g++ from your Linux distro's preferred repository.

          OK, this helped with the Kits issue and Compiler now shows C++ support. Thanks!!

          Do you have existing experience with CMake? If not, you can ignore this for now and just use qmake which was installed with your Qt 5.12.10

          Will do.

          What would you like to find out? Perhaps someone here could answer your questions.

          Just wanted to know if I could make Linux applications under GPL with Linux Dev Platform.

          New project complies but doesn't run, error is
          "cannot find -lGL"
          I've seen this before when I tried to get Qt working (changed computers)
          So I'm not sure how to get this fixed. I think it's something to do with display??
          Any help, again appreciated,
          OtG

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          @OscarTheGrouch said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

          Just wanted to know if I could make Linux applications under GPL with Linux Dev Platform.

          The answer is a resounding "Yes".

          All Qt 5.12 modules are dual-licensed, available under both a commercial license and a GPLv3 license.

          Many of them are even triple-licensed: Commercial, GPLv3, and LGPLv3.

          New project complies but doesn't run, error is
          "cannot find -lGL"
          I've seen this before when I tried to get Qt working (changed computers)
          So I'm not sure how to get this fixed. I think it's something to do with display??

          This is a common question, e.g. https://forum.qt.io/topic/94119/qt-error-cannot-find-lgl

          Basically, -l shows the Linker trying to find a library. In this case, the linker can't find the GL (OpenGL development) libraries, so it's time to install more stuff ;-)

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          OscarTheGrouchO 1 Reply Last reply
          2
          • JKSHJ JKSH

            @OscarTheGrouch said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

            Just wanted to know if I could make Linux applications under GPL with Linux Dev Platform.

            The answer is a resounding "Yes".

            All Qt 5.12 modules are dual-licensed, available under both a commercial license and a GPLv3 license.

            Many of them are even triple-licensed: Commercial, GPLv3, and LGPLv3.

            New project complies but doesn't run, error is
            "cannot find -lGL"
            I've seen this before when I tried to get Qt working (changed computers)
            So I'm not sure how to get this fixed. I think it's something to do with display??

            This is a common question, e.g. https://forum.qt.io/topic/94119/qt-error-cannot-find-lgl

            Basically, -l shows the Linker trying to find a library. In this case, the linker can't find the GL (OpenGL development) libraries, so it's time to install more stuff ;-)

            OscarTheGrouchO Offline
            OscarTheGrouchO Offline
            OscarTheGrouch
            wrote on last edited by
            #5

            @JKSH said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

            @OscarTheGrouch said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

            Just wanted to know if I could make Linux applications under GPL with Linux Dev Platform.

            The answer is a resounding "Yes".

            All Qt 5.12 modules are dual-licensed, available under both a commercial license and a GPLv3 license.

            Many of them are even triple-licensed: Commercial, GPLv3, and LGPLv3.

            New project complies but doesn't run, error is
            "cannot find -lGL"
            I've seen this before when I tried to get Qt working (changed computers)
            So I'm not sure how to get this fixed. I think it's something to do with display??

            This is a common question, e.g. https://forum.qt.io/topic/94119/qt-error-cannot-find-lgl

            Basically, -l shows the Linker trying to find a library. In this case, the linker can't find the GL (OpenGL development) libraries, so it's time to install more stuff ;-)

            OK, thanks for the info. Can you tell me how to do that (or point me in the right direction)?
            OtG

            JKSHJ 1 Reply Last reply
            0
            • OscarTheGrouchO Offline
              OscarTheGrouchO Offline
              OscarTheGrouch
              wrote on last edited by
              #6

              My Graphics info ..
              Graphics: Device-1: Intel vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0
              chip ID: 8086:9bc8
              Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa
              compositor: marco resolution: 1920x1080~60Hz
              OpenGL: renderer: Mesa Intel UHD Graphics 630 (CML GT2) v: 4.6 Mesa 20.2.6
              direct render: Yes

              I assume I must install something ...
              Any help appreciated,
              OtG

              1 Reply Last reply
              0
              • OscarTheGrouchO OscarTheGrouch

                @JKSH said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

                @OscarTheGrouch said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

                Just wanted to know if I could make Linux applications under GPL with Linux Dev Platform.

                The answer is a resounding "Yes".

                All Qt 5.12 modules are dual-licensed, available under both a commercial license and a GPLv3 license.

                Many of them are even triple-licensed: Commercial, GPLv3, and LGPLv3.

                New project complies but doesn't run, error is
                "cannot find -lGL"
                I've seen this before when I tried to get Qt working (changed computers)
                So I'm not sure how to get this fixed. I think it's something to do with display??

                This is a common question, e.g. https://forum.qt.io/topic/94119/qt-error-cannot-find-lgl

                Basically, -l shows the Linker trying to find a library. In this case, the linker can't find the GL (OpenGL development) libraries, so it's time to install more stuff ;-)

                OK, thanks for the info. Can you tell me how to do that (or point me in the right direction)?
                OtG

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #7

                @OscarTheGrouch said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

                Can you tell me how to do that (or point me in the right direction)?

                Sure. See @mrjj's instructions or links at https://forum.qt.io/topic/94119/qt-error-cannot-find-lgl

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                OscarTheGrouchO 1 Reply Last reply
                1
                • JKSHJ JKSH

                  @OscarTheGrouch said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

                  Can you tell me how to do that (or point me in the right direction)?

                  Sure. See @mrjj's instructions or links at https://forum.qt.io/topic/94119/qt-error-cannot-find-lgl

                  OscarTheGrouchO Offline
                  OscarTheGrouchO Offline
                  OscarTheGrouch
                  wrote on last edited by
                  #8

                  @JKSH said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

                  @OscarTheGrouch said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

                  Can you tell me how to do that (or point me in the right direction)?

                  Sure. See @mrjj's instructions or links at https://forum.qt.io/topic/94119/qt-error-cannot-find-lgl

                  Found this from my earlier post ..

                  mrjj Lifetime Qt Champion Dec 13, 2020, 11:08 AM

                  Hi
                  Normally its something like
                  sudo apt install mesa-common-dev libglu1-mesa-dev

                  This worked and I can run a new project now ..

                  JKSHJ 1 Reply Last reply
                  2
                  • OscarTheGrouchO OscarTheGrouch

                    @JKSH said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

                    @OscarTheGrouch said in Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues:

                    Can you tell me how to do that (or point me in the right direction)?

                    Sure. See @mrjj's instructions or links at https://forum.qt.io/topic/94119/qt-error-cannot-find-lgl

                    Found this from my earlier post ..

                    mrjj Lifetime Qt Champion Dec 13, 2020, 11:08 AM

                    Hi
                    Normally its something like
                    sudo apt install mesa-common-dev libglu1-mesa-dev

                    This worked and I can run a new project now ..

                    JKSHJ Offline
                    JKSHJ Offline
                    JKSH
                    Moderators
                    wrote on last edited by
                    #9

                    @OscarTheGrouch said in [Qt Creator 4.14.1, with Qt 5.12.10. Kits and Cmake issues]

                    This worked and I can run a new project now ..

                    Happy coding!

                    Please mark the thread as "Solved"

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    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