IDE both for Raspberry and Ubuntu
-
wrote on 27 Mar 2019, 08:16 last edited by
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? -
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?@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
-
wrote on 27 Mar 2019, 08:26 last edited by
-
great! thank you for the quick response.
work's for me :-)how can i place buttons?
i can only find text inputs :-(@CW-BWW
HI
I wonder where rest on Qt Quick Controls 2 are?What Qt version did you install?
(Note Creator version 4.8.2 is Not the Qt version, just the editor version)
-
great! thank you for the quick response.
work's for me :-)how can i place buttons?
i can only find text inputs :-(@CW-BWW I'm not that familiar with QML/QtQuick but there should be other groups, scroll a bit
-
great! thank you for the quick response.
work's for me :-)how can i place buttons?
i can only find text inputs :-(@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 -
wrote on 27 Mar 2019, 08:43 last edited by
-
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
@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.
-
wrote on 27 Mar 2019, 08:56 last edited by
thank you!
i'll be back ;-)christian
@mrjj said in IDE both for Raspberry and Ubuntu:
What Qt version did you install?
-
thank you!
i'll be back ;-)christian
@mrjj said in IDE both for Raspberry and Ubuntu:
What Qt version did you install?
@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.
1/10