Unsolved IDE both for Raspberry and Ubuntu
-
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
-
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)
-
@CW-BWW I'm not that familiar with QML/QtQuick but there should be other groups, scroll a bit
-
@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 -
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.
-
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.