User(s) browsing this thread: 1 Guest(s)
[200] Trying to understand cross-compiling and buiding QT, please help!
|
|
10-15-2010, 07:19 AM
|
|||
|
|||
|
Trying to understand cross-compiling and buiding QT, please help!
Im still trying to build QT and cross-compile my apps, im want to check if im on the right path.
Ive configured and build a cross-compiler and toolchain as discribed here: http://www.networkedmediatank.com/showth...#pid383376 - Do I have a compiler who builds for C200 in /usr/local/mips-4.4/bin?? - When i compile other packages, glib, gstreamer, libxml, qt, etc I build them with this compiler (PATH=/usr/local/mips-4.4/bin:$PATH) and with --prefix=/usr/local/mips-4.4/mips-linux-gnu/ and --host=mips-linux-g++ so afther make install the library's will be availible in /usr/local/mips-4.4/mips-linux-gnu/lib/pkgconfig. so when i'm going to compile other packages i could add PKG_CONFIG_PATH and PKG_CONFIG_SYSROOT to that path for cross-compiled library's???? is this right? - When i compile with the cross-compiler i should use -EL -march=74kc -fPIC should i also use these options while compiling librarys as, glib, gstreamer, libxml, qt etc??? and how is this don? I hope you could lighten my day, im trying to compile and build for over a week now, almost 12 hours aday i realy want this to work!!! Grtzz |
|||
|
10-15-2010, 07:24 AM
|
|||
|
|||
|
RE: Trying to understand cross-compiling and buiding QT, please help!
I know there was some back and forth a few months ago on making a working cross compiler that needed some patches but I don't remember if it was for the 200 or 100 series or who it was.. I never really used the cross setup I put together, I did some initial quick tests but I didn't try anything like QT.
|
|||
|
10-15-2010, 08:28 AM
|
|||
|
|||
RE: Trying to understand cross-compiling and buiding QT, please help!
(10-15-2010 07:24 AM)accident Wrote: I know there was some back and forth a few months ago on making a working cross compiler that needed some patches but I don't remember if it was for the 200 or 100 series or who it was.. I never really used the cross setup I put together, I did some initial quick tests but I didn't try anything like QT. I build a small "Hello world" application with the cross-compiled application compiler (build as mentioned above) and that works, so i gues im on the right track! |
|||
|
10-15-2010, 08:35 AM
|
|||
|
|||
|
RE: Trying to understand cross-compiling and buiding QT, please help!
btw, if you didn' tknow, QT is already built.. you can find the install in CSI
|
|||
|
10-15-2010, 08:51 AM
|
|||
|
|||
| RE: Trying to understand cross-compiling and buiding QT, please help! | |||
|
10-15-2010, 09:08 PM
|
|||
|
|||
|
RE: Trying to understand cross-compiling and buiding QT, please help!
Does anybody have an idee how to compile the following application by using a cross-compiler and the QT Libs found in the CSI, and the header files from the QT Source package?
#include <QtGui/QApplication> #include <QtGui/QPushButton> int main(int argc, char *argv[]) { QApplication app(argc, argv); QPushButton hello("Hello world!"); hello.resize(100, 30); hello.show(); return app.exec(); } |
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]

[200] Trying to understand cross-compiling and buiding QT, please help!



![[+]](images/collapse_collapsed.gif)

