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. IDE both for Raspberry and Ubuntu
Forum Updated to NodeBB v4.3 + New Features

IDE both for Raspberry and Ubuntu

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 4 Posters 864 Views 1 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.
  • CW-BWWC Offline
    CW-BWWC Offline
    CW-BWW
    wrote on last edited by
    #1

    Hello, this is Christian from germany.
    I want to make program windows in ubuntu and for the raspbian OS.
    I'm familiar with Visual Basic in Windows and have had many Projects in C, C++, HTML, PHP, Visual C# and Visual Basic.
    Now i would like to learn how to make GUI-Applications for Ubuntu and Raspbian.
    I tried to make a Project in Qt Creator 4.8.2., but the Program doesn't run.
    The error message is: "cannot find -lGL" and "collect2: error: ld returned 1 exit status"
    What can i do?

    jsulmJ 1 Reply Last reply
    0
    • CW-BWWC CW-BWW

      Hello, this is Christian from germany.
      I want to make program windows in ubuntu and for the raspbian OS.
      I'm familiar with Visual Basic in Windows and have had many Projects in C, C++, HTML, PHP, Visual C# and Visual Basic.
      Now i would like to learn how to make GUI-Applications for Ubuntu and Raspbian.
      I tried to make a Project in Qt Creator 4.8.2., but the Program doesn't run.
      The error message is: "cannot find -lGL" and "collect2: error: ld returned 1 exit status"
      What can i do?

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

      @CW-BWW said in IDE both for Raspberry and Ubuntu:

      "cannot find -lGL" and "collect2: error: ld returned 1 exit status"

      Do

      sudo apt-get install build-essential libgl1-mesa-dev
      

      See https://doc.qt.io/qt-5/linux.html

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

      1 Reply Last reply
      3
      • CW-BWWC Offline
        CW-BWWC Offline
        CW-BWW
        wrote on last edited by
        #3

        great! thank you for the quick response.
        work's for me :-)

        how can i place buttons?
        i can only find text inputs :-(

        0_1553674973336_Bildschirmfoto von 2019-03-27 09-22-29.png

        mrjjM jsulmJ J.HilkJ 3 Replies Last reply
        0
        • CW-BWWC CW-BWW

          great! thank you for the quick response.
          work's for me :-)

          how can i place buttons?
          i can only find text inputs :-(

          0_1553674973336_Bildschirmfoto von 2019-03-27 09-22-29.png

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

          @CW-BWW
          HI
          I wonder where rest on Qt Quick Controls 2 are?

          alt text

          What Qt version did you install?

          (Note Creator version 4.8.2 is Not the Qt version, just the editor version)

          1 Reply Last reply
          0
          • CW-BWWC CW-BWW

            great! thank you for the quick response.
            work's for me :-)

            how can i place buttons?
            i can only find text inputs :-(

            0_1553674973336_Bildschirmfoto von 2019-03-27 09-22-29.png

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

            @CW-BWW I'm not that familiar with QML/QtQuick but there should be other groups, scroll a bit

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

            1 Reply Last reply
            0
            • CW-BWWC CW-BWW

              great! thank you for the quick response.
              work's for me :-)

              how can i place buttons?
              i can only find text inputs :-(

              0_1553674973336_Bildschirmfoto von 2019-03-27 09-22-29.png

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

              @CW-BWW
              you need to add the appropriate import first, then the designer tools will be available to you.

              In your case click on the Import tab, click on Add Import select the QtQuick.Controls option


              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.

              1 Reply Last reply
              3
              • CW-BWWC Offline
                CW-BWWC Offline
                CW-BWW
                wrote on last edited by
                #7

                worked, thanks a lot!
                it could be that easy ;)

                would the program / IDE run on my raspberry pi 3 b+ too?
                because thats what i need the IDE for.

                christian

                0_1553676171467_Bildschirmfoto von 2019-03-27 09-41-39.png

                J.HilkJ 1 Reply Last reply
                0
                • CW-BWWC CW-BWW

                  worked, thanks a lot!
                  it could be that easy ;)

                  would the program / IDE run on my raspberry pi 3 b+ too?
                  because thats what i need the IDE for.

                  christian

                  0_1553676171467_Bildschirmfoto von 2019-03-27 09-41-39.png

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

                  @CW-BWW said in IDE both for Raspberry and Ubuntu:

                  would the program / IDE run on my raspberry pi 3 b+ too?
                  because thats what i need the IDE for.

                  yes, you can even find it in the packet manager. However those versions are usually a couple of releases behind the current one.

                  if you want up to date QtCreator and Qt 5.12.2 (the atm latest one) you will have to download the publicly available source code and compile them yourself.

                  That will take a considerable amount of time on a raspberryPi.


                  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.

                  1 Reply Last reply
                  3
                  • CW-BWWC Offline
                    CW-BWWC Offline
                    CW-BWW
                    wrote on last edited by
                    #9

                    thank you!
                    i'll be back ;-)

                    christian

                    @mrjj said in IDE both for Raspberry and Ubuntu:

                    What Qt version did you install?

                    0_1553676814201_Bildschirmfoto von 2019-03-27 09-52-50.png

                    jsulmJ 1 Reply Last reply
                    0
                    • CW-BWWC CW-BWW

                      thank you!
                      i'll be back ;-)

                      christian

                      @mrjj said in IDE both for Raspberry and Ubuntu:

                      What Qt version did you install?

                      0_1553676814201_Bildschirmfoto von 2019-03-27 09-52-50.png

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

                      @CW-BWW This is Qt version which was used to build QtCreator. It is not necessarily same as the one you're using. To check Qt version you're using go to QtCreator options and check the Kit you're using there.

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

                      1 Reply Last reply
                      3

                      • Login

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