Hi Guys, I am using mini2440 board and linux as my working platform. I have some issue in running cross compiling the QT_4.8.5.I am using this command to cross-compile as mentioned in this tutorial (https://www.youtube.com/watch?v=-_YzWgGJgKU). ./configure -prefix /qtebuild/ -release -shared -fast -pch -no-qt3support -qt-sql-sqlite -no-libtiff -no-libmng -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -no-openssl -nomake examples -nomake tools -nomake demos -optimized-qmake -no-phonon -no-opengl -no-nis -no-cups -no-xcursor -no-xrandr -no-xfixes -no-xrender -no-xkb -no-sm -no-xinerama -no-xshape -no-separate-debug-info -xplatform qws/linux-arm-g++ -embedded arm -depths 16 -no-qvfb -qt-gfx-linuxfb -qt-gfx-qvfb -no-kbd-qvfb -no-mouse-qvbf -qt-kbd-usb -confirm-license -qt-mouse-tslib I am having some issue in this command.It is throwing error. -no-mouse-qvbf: unknown argument -qt-mouse-tslib: unknown argument If I am removing these arguments then it is working but without this "qt-mouse-tslib" argrument does my touch works ? Please share your views Regards Abhinav
Facing issue in cross compiling Qt
Maybe check out this tutorial to see there are any clues: http://mini2440vietnam.blogspot.co.nz/2011/04/upgrade-qt462-in-mini2440.... I see he doesn't have the -no-mouse-qvbf, but does have -qt-mouse-tslib. Ah, have you compiled tslib fist?
Noops.I haven't cross compiled tslib Is tslib source code is available in DVD that comes with board. After cross compiling tslib should I have to give some path or what should I have to do ?
Suspect it is not on the DVD as the tutorial suggests getting it from github. It has been about 2 years since I tried this tutorial, but suspect that path details are sorted out for you. Did the video not tell you to cross-compile tslib first?
Hi davef No in video I didn't find any thing like tslib I have taken the source code of tslib from github.I have also downloaded the pre-compiled tslib from the vietnam blog. Now can guide what steps I have to follow to get it work. Regards, Abhi
> Now can guide what steps I have to follow to get it work. Is this a question? Or, do you mean, "Now I understand what steps I have to follow to get it to work."
Sorry for your confusion.. But I am asking question..Does Qt cross-compilation has some dependecies on tslib ?
Yes. Qt has to be able to find tslib if you use -qt-mouse-tslib If you follow that tutorial you should see that tslib is put into a directory that should be found when you cross-compile Qt. From the tutorial: #after succesful tslib compilation, you will see tsblib in /home/tslib root@phuc-laptop:/usr/local/tslib# cd /home/tslib/ root@phuc-laptop:/home/tslib# ls bin etc include lib
So you want to say that my cross compiled tslib shud be at this location /home/user_name/tslib Then my QT cross compilation takes this path for tslib.Do you want to say this.
Well, that is what I read in the tutorial. When I did this I didn't have any tslib related problems. I am sure it must be in the translation, but it sounds like you are going to take me to court if this doesn't work for you :) When you cross-compiled tslib following the instructions in the tutorial did you find some files in /home/tslib? If so, that seems a positive step. Then when you cross-compile Qt did you get the error that started this thread?
Ok I will try that .. I more thing act I want to run my own GUI on mini2440 and that why I am doing all this stuff. One more doubt that I have is for cross compiling Qt we are making modification in qmake.conf file inside dir linux-arm-g++.We are giving path of our toolchain.Why we are not using qmake.conf inside dir linux-gnueabi-arm-g++ as our toolchain is arm-none-linux-gnueabi ?
From the tutorial: $cd /usr/local/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm-g++/ $gedit qmake.conf linux-arm-g++ is the name of the directory and has nothing to do with the toolchain. As far as I understand. I think it would be best if you work through each step in the tutorial and post your error messages BEFORE trying to proceed to the step. If you use the tutorial I linked to you stand a much better chance of getting help from me and others.