Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Configure QtCreator in RPi3
Forum Updated to NodeBB v4.3 + New Features

Configure QtCreator in RPi3

Scheduled Pinned Locked Moved Unsolved QtonPi
compile-error
20 Posts 3 Posters 3.5k 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.
  • Pavel_47P Offline
    Pavel_47P Offline
    Pavel_47
    wrote on last edited by
    #11

    There is no build and run in preferences.

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

      It's Build & Run, but some stuff has changed, so depending on your Qt Creator version, it's under Kits.

      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
      • Pavel_47P Offline
        Pavel_47P Offline
        Pavel_47
        wrote on last edited by
        #13

        Well, I'm not sure I understood you correctly.
        I've found QtCreator in Programming section of Application menu.
        But neither section in Application menu mentions Qt framework itself.
        The location of QtCreator executive I can check with
        "which qtcreator" command.
        It's located in /usr/bin. But there is no any folder named mkspec.

        aha_1980A 1 Reply Last reply
        0
        • Pavel_47P Pavel_47

          Well, I'm not sure I understood you correctly.
          I've found QtCreator in Programming section of Application menu.
          But neither section in Application menu mentions Qt framework itself.
          The location of QtCreator executive I can check with
          "which qtcreator" command.
          It's located in /usr/bin. But there is no any folder named mkspec.

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #14

          @Pavel_47

          Please start Qt Creator, go to menu Tools > Options > Kits (or Build & Run if you have an older Qt Creator version) > Qt Versions:

          0_1557336564505_edf2577a-8c2b-4cd1-a284-4d7ba90a3215-grafik.png

          There you have all your Qt versions listed and the path to qmake

          Regards

          Qt has to stay free or it will die.

          1 Reply Last reply
          1
          • Pavel_47P Offline
            Pavel_47P Offline
            Pavel_47
            wrote on last edited by
            #15

            Yes, I've located it. Thanks.
            What about -lGLESv2 option ? I didn't find any makefile in mkspecs directory.
            Only qconfig.pri, qfeatures.pri, qmodule.pri. Should I check any of them for -lGLESv2 option ?

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

              No, it's in the devices subfolder. The one dedicated to RPi3.

              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
              0
              • Pavel_47P Offline
                Pavel_47P Offline
                Pavel_47
                wrote on last edited by
                #17

                There are 4 subfolders in devices subfolder that are in relation with RPi:

                • linux-rasp-pi2-g++
                • linux-rasp-pi-g++
                • linux-rpi3-g++
                • linux-rasp-vc-g++
                  Inside of all these subfolder there are filses qmake.conf
                  In every there are settings:
                QMAKE_LIBS_EGL = -lEGL -lGLESv2
                QMAKE_LIBS_OPENVG = -lEGL -lOpenVG -lGLESv2
                

                I replaced GLESv2 with brcmGLESv2 in all qmake.conf files (i.e. in 4 folders).
                Didn't help: when compiling project in QtCreator, I still see the same error message:
                cannot find -lGLESv2

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

                  Might be a silly question but are you sure you are modifying the one from your self-built Qt ?

                  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
                  0
                  • Pavel_47P Offline
                    Pavel_47P Offline
                    Pavel_47
                    wrote on last edited by
                    #19

                    I modify those, found in the location, specified in QtCreator: Tools->Options->Kits->Qt Versions

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

                      Did you check what your Kits are using as mkspecs ?

                      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
                      0

                      • Login

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