Unsolved QT installation failed on arm71
-
@FRKhan said in QT installation failed on arm71:
in my target at /usr/local/qt-arm
If there's no typo, something is not matching since ldd is showing Qt libraries are taken from another folder: /usr/local/Qt-4.8.7-arm/lib so it seems you have another installation of Qt in your device...
-
One thing to do: copy the Qt installation folder in the exact same subdirectory on your target than on your desktop machine.
-
Thank you guys for your time.
@Pablo-J-Rogina said in QT installation failed on arm71:
If there's no typo, something is not matching since ldd is showing Qt libraries are taken from another folder: /usr/local/Qt-4.8.7-arm/lib so it seems you have another installation of Qt in your device...
yes that was typo. It is /usr/local/Qt-4.8.7-arm
@SGaist said in QT installation failed on arm71:
One thing to do: copy the Qt installation folder in the exact same subdirectory on your target than on your desktop machine.
I did it. deployed application but nothing appeared. not even any error. I found this thread. I open console terminal (CNTRL+ALT+F1) and my application executed successfully. I did not enabled virtual frame buffer or vnc while configuring qt sources.
Although i somehow executed application on my target but i didn't understand one thing. How qt application executes on host system when compiled using host kit? i mean why that doesn't depends upon virtual framebuffer on vnc?
Secondly, Qt virtual buffer documentation says we should not use it on release application but on debug applications only. If this is true the what is the most optimized approach to deploy the qt application on production release? -
If you are building with your host kit then it's going to use your host infrastructure. Likely the XCB backend.
The virtual framebuffer is a tool that allows you to visualise your application the way it would be on your target without the need to have it available.
-
@SGaist Thank you
@SGaist said in QT installation failed on arm71:
The virtual framebuffer is a tool that allows you to visualise your application the way it would be on your target without the need to have it available.
Ok. than what is the best way to deploy the application. My target board is running XUnuntu. When i deploy my application, it appears in destined folder when does not run until i go to console terminal. I have to do (CNTRL+ALT+F1) and run ./app -qws.
what i want is, when i double click on my application executable, it should launch. Like built-in calculator. When i click on calculator icon, it's window appears. is it possible for qt application?
-
Do you have a window manager on your target ?
-
@SGaist
yes. My target is Picozed SDR board which is running Xubuntu with HDMI display. It has Xfce desktop environment. We can install other tools as well. It has most of the desktop environment available. -
Then why are you using a Qt version built for embedded without window manager ?
-
@SGaist I have not figured out what version is suitable for me. I'm beginner in QT. I had no idea about this window manager thing. Can you please guide me. Any useful material or link?
-
Well, since you want to use your desktop environnement on your target. Just don't pass the embedded option when configuring Qt. You'll have a standard desktop Qt but built for ARM.