How to isolate my Qt program in raspberry pi!?
-
@jsulm I use the standard Touch display supplied with Raspberry board
@MAthias_Va Did you try any other Qt based app like VLC?
What Qt version do you use? -
@MAthias_Va Did you try any other Qt based app like VLC?
What Qt version do you use?@jsulm VLC, no I didn't! I use Qt5.10.1
-
@jsulm VLC, no I didn't! I use Qt5.10.1
@MAthias_Va said in How to isolate my Qt program in raspberry pi!?:
I use Qt5.10.1
Is it the one provided by Raspbian?
-
@MAthias_Va said in How to isolate my Qt program in raspberry pi!?:
I use Qt5.10.1
Is it the one provided by Raspbian?
@jsulm No I didn't install Qt in my Raspberry
-
@jsulm No I didn't install Qt in my Raspberry
@MAthias_Va Then I guess you're doing cross compilation with cross compiled Qt?
You could try this: install Qt and Qt-dev packages from Raspbian on your device and build your app there. Then try to run it to see whether it behaves in same way or not. -
@MAthias_Va Then I guess you're doing cross compilation with cross compiled Qt?
You could try this: install Qt and Qt-dev packages from Raspbian on your device and build your app there. Then try to run it to see whether it behaves in same way or not.@jsulm Ok I will, thanks
-
@MAthias_Va Then I guess you're doing cross compilation with cross compiled Qt?
You could try this: install Qt and Qt-dev packages from Raspbian on your device and build your app there. Then try to run it to see whether it behaves in same way or not.@jsulm said in How to isolate my Qt program in raspberry pi!?:
what do you mean with:
and build your app there
Do mean the destination folder where I sent the compiled file should be there!
-
@jsulm said in How to isolate my Qt program in raspberry pi!?:
what do you mean with:
and build your app there
Do mean the destination folder where I sent the compiled file should be there!
@MAthias_Va No, I mean build your app directly on your device
-
So I Installed Qt Creator using this commands on my Raspberry:
sudo apt-get install qt4-dev-tools sudo apt-get install qt5-default sudo apt-get install qtcreator
I build a simple program on it to open an ApplicationWindow, but I didn't get the same problem on this case!!
I couldn't build my same program with Qt installed on my raspberry as it is older version than I use on PC!
Any Advice?
-
So I Installed Qt Creator using this commands on my Raspberry:
sudo apt-get install qt4-dev-tools sudo apt-get install qt5-default sudo apt-get install qtcreator
I build a simple program on it to open an ApplicationWindow, but I didn't get the same problem on this case!!
I couldn't build my same program with Qt installed on my raspberry as it is older version than I use on PC!
Any Advice?
@MAthias_Va said in How to isolate my Qt program in raspberry pi!?:
qt4-dev-tools
This is for Qt4. I guess you want to use Qt5? Then install the Qt5 version.
-
@MAthias_Va said in How to isolate my Qt program in raspberry pi!?:
qt4-dev-tools
This is for Qt4. I guess you want to use Qt5? Then install the Qt5 version.
@jsulm on My Raspberry now I have Qt5.7.1
-
@jsulm on My Raspberry now I have Qt5.7.1
@MAthias_Va And does your app build now? If not - do you use Qt5 Kit?
-
@MAthias_Va And does your app build now? If not - do you use Qt5 Kit?
@jsulm yes it is! I can build with it
-
It looks like I am not the only one faced this problem!
I found this similar situation https://www.qtcentre.org/threads/68141-Using-touch-screen-affects-both-qt-application-and-desktop
and there it say I might avoid it by not showing the desktop :)
-
If you built Qt for Raspberry it will default to eglfs platform plugin.
Try starting your app with the "-platform xcb" parameter to use the X11 platform if you are running your app from X.