LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Qt Cross Compile (https://www.linuxquestions.org/questions/linux-software-2/qt-cross-compile-294160/)

werewolfolondon 02-23-2005 11:27 PM

Qt Cross Compile
 
Hello,

I have played around with QtDesigner and ended up with a gui saved as a .ui file. I would like to be able to cross compile this for a Sharp Zaurus (PDA) using a cross compiler that I already have. Does anybody know how to turn the .ui file into some sort of code that I can compile with this c++ cross compiler, and how exactly I would do this compilation? (I'm very much a newbie, so the more elaborate any help, the more appreciative I will be).

Thanks,
Ben

laopaishpe 02-24-2005 11:01 AM

I hve no idea what QtDesigner does, but usually in a RAD (rapid application development) tool you can specify the compiler you want to use. Try to find that somewhere under your "options" or "tools" menu, and replace gcc or whatever you see there with the cross compiler you have, and this should do the trick- you compile for the Zaurus, no need to mess around with modifying your resources.

Another approach would be to try and export your .ui file with your widgets/etc to xml format that is understood by Glade or something similar (Anjuta ?)

j-ray 02-25-2005 01:01 PM

all i know is that qtdesigner and the trolltech libraries are free for noncommercial use on linux. for use on windows and mac u need a license for some 3000 Euro. But maybe its possible to cross compile it anyway but i dont think so. do u know better? tell us!


All times are GMT -5. The time now is 11:53 PM.