Qt creator setup on Beaglebone armv71 running Debian "9" stretch
-
Hi, I am new to Qt and want to develop GUI application. before that I wish to setup Qt creator on BB (beaglebone) running Debian 9 stretch. I followed this shared link https://sites.google.com/site/timpicuc/Downhome/beaglebone-black/setting-up-qt-for-bbb-with-debian but facing errors. Is there any other way to setup Qt C++ on BB, please suggest~
-
@Ashh said in Qt creator setup on Beaglebone armv71 running Debian "9" stretch:
but facing errors
You should say what errors.
If you don't need latest Qt you can simply install QtCreator and Qt from Debian repositories (using apt). -
@jsulm Thanks, when I give below command to configure....
./configure -v -opensource -confirm-license -prefix /opt/qt-arm -embedded arm -platform qws/linux-x86-g++ -xplatform qws/linux-am335x-g++ -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-ssse3 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -little-endian -host-big-endian -no-pch -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-webkit -no-qt3support -nomake examples -nomake demos -nomake docs -nomake translations -qt-mouse-tslib
Erros: multiple errors of similar format...
/home/ash/Downloads/qt-bbb/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/arm-linux-gnueabihf-g++ -c pipe -O3 -march=armv7-a -mtune=cortex=a8 -mfpu=neon -mfloat-abi=hard -Wall -W -I../../mkspecs/qws/linux-am335x-g++ -I. -I../../../../downloads/tslib/src -o tslib.o tslib.cpp make: /home/ash/Downloads/qt-bbb/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/arm-linux-gnueabihf-g++: Command not found make: *** [tslib.o] Error 127 tslib disabled. The tslib functionality test failed!
similar errors with D-bus disabled, PulseAudio disabled, ICU disabled, NIS disabled......etc.
Is there any installation link of direct repositories (debian) for Qt5.12.3 and how can I install that, please suggest. Thanks.
-
@Ashh said in Qt creator setup on Beaglebone armv71 running Debian "9" stretch:
please suggest
I already did: install Qt packages provided by Debian using apt (like you install any other packages).
sudo apt-get install build-essential libgl1-mesa-dev sudo apt-get install qt5-default qt5-qmake qtbase5-dev-tools qt5-doc qtcreator
-
@Ashh said in Qt creator setup on Beaglebone armv71 running Debian "9" stretch:
and start with command "qtcreator"
Just to be sure: you do all this on the Beaglebone device?
-
@SGaist yes, I want to setup it on BBB. these instructions are for setting up Qt on BBB via cross-compilation through Ubuntu host system, but the actual deployment is on BBB finally. so I followed that as its mentioned to setup Qt on BBB.
Please correct me, if I misunderstood. -
Just to clear some confusion, since you are developing directly on the BBB, you can follow the standard procedures that apply to desktop machines. Your device is "the desktop machine" in this case.
The only thing that you won't be able to do is to use the prebuilt packages using the Qt Company's online installer because they do not provide pre-built binaries for that architecture.
-
@jsulm Thanks for your suggestion. but i am sorry, may I please ask you to share some link where its shows how to add the kits. Once i add device BB vis IP under 'Generic Linux Device', its immediately close the qt-creator program. I don't understand this happening. I tried to follow this https://www.youtube.com/watch?v=eZ-HOc2P_EI
Please suggest! -
@Ashh There is nothing special: go to the Kits page, click at Add button to add a Kit and configure it.
"Once i add device BB vis IP under 'Generic Linux Device'" - I'm really confused now! You wrote before that you want to develop DIRECTLY on the device, right? So, why are you trying to add BB device with IP?! This is only needed if you are doing cross-compalation... -
@jsulm Thanks. I am sorry for mistake.
I am very new to Qt. since I tried many ways to setup and working on Qtcreator and spent long time on it. The actual thing, I wish to do it, I need to run a Qt developed application on BB, for which I tried these ways...- VS2019+visualGDB--->cross compile----> deploy application to BB (I prefer this).
-> application running on vs2019(win10), works well,
-> but when I tried to run it and cross compile through visualGDB, it gives errors (related to opencv), for which I already posted a different post in this form https://forum.qt.io/topic/128465/unable-to-compile-qt-visualgdb-opencv, but unfortunately, it didn't get resolve. so I tried another way..... - virtual box Ubuntu (cross compile) + setup Qt creator (BB)
-> To do this, I tried to follow the steps mentioned in here https://sites.google.com/site/timpicuc/Downhome/beaglebone-black/setting-up-qt-for-bbb-with-debian, which is also based on cross-compilation to set up Qtcreator on BB through Ubuntu (host). but failed. so I am trying other option.... - Direct setup Qt creator on BB
-> As per your suggestions, I am trying to do that but didn't see how to add kits in Qt. could you please share any link related to it?
Please let me know the simple way to do so. Please suggest. Thanks.
- VS2019+visualGDB--->cross compile----> deploy application to BB (I prefer this).
-
@Ashh said in Qt creator setup on Beaglebone armv71 running Debian "9" stretch:
could you please share any link related to it?
I don't have any link and I'm wondering why a link is needed to add a Kit in QtCreator?
Did you try what I already suggested?
On the Kit tab in QtCreator properties click on Add button to add a new Kit. In that Kit select the Qt5 version which was detected (you can see it in the screen-shot you posted). Please do this and tell us whether you have any concrete issues.