[embedded]Install qt lib for pc and embedded
$ tar zxvf qt-everywhere-opensource-src-4.8.6.tar.gz$ sudo apt-get install libx11-dev libxext-dev libxtst-dev
$ cp qt-everywhere-opensource-src-4.8.6/ qt-everywhere-opensource-src-4.8.6-x11 -fr
$ cd qt-everywhere-opensource-src-4.8.6-x11/
$ ./configure --prefix=/usr/local/qt-4.8.6-x11
$ make
$ sudo make install
/*******/
If tells error like 'stray', it maybe have runned command 'export NM=nm' while building crosstool by crosstool-ng ago.
$ cp qt-everywhere-opensource-src-4.8.6/ qt-everywhere-opensource-src-4.8.6-arm -fr
$ cd qt-everywhere-opensource-src-4.8.6-arm/
$ ./configure --prefix=/usr/local/qt-4.8.6-arm -opensource -embedded arm -xplatform qws/linux-arm-g++ -webkit -qt-gfx-transformed -qt-libtiff -qt-libmng -qt-mouse-tslib -qt-mouse-pc -no-mouse-linuxtp -no-neon
$ make
$ sudo make install
标签: embedded
« [ubuntu]The volume "boot" has only 9 MB disk space remaining
|
[embeded] Port u-boot to mini2440 (3)»
评论:
萧
2017-05-04 16:41
2017-05-04 16:41
lib/libQtGui.so: undefined reference to `ts_read_raw'
/lib/libQtGui.so: undefined reference to `ts_open'
/lib/libQtGui.so: undefined reference to `ts_fd'
/lib/libQtGui.so: undefined reference to `ts_config'
/lib/libQtGui.so: undefined reference to `ts_close'
/lib/libQtGui.so: undefined reference to `ts_read
解决办法:
'修改qt-everywhere-opensource-src-4.7.2/mkspecs/qws/Linux-arm-g++/qmake.conf 文件(添加lts参数):
QMAKE_CC = arm-linux-gcc -lts
QMAKE_CXX = arm-linux-g++ -lts
QMAKE_LINK = arm-linux-g++ -lts
QMAKE_LINK_SHLIB = arm-linux-g++ -lts
/lib/libQtGui.so: undefined reference to `ts_open'
/lib/libQtGui.so: undefined reference to `ts_fd'
/lib/libQtGui.so: undefined reference to `ts_config'
/lib/libQtGui.so: undefined reference to `ts_close'
/lib/libQtGui.so: undefined reference to `ts_read
解决办法:
'修改qt-everywhere-opensource-src-4.7.2/mkspecs/qws/Linux-arm-g++/qmake.conf 文件(添加lts参数):
QMAKE_CC = arm-linux-gcc -lts
QMAKE_CXX = arm-linux-g++ -lts
QMAKE_LINK = arm-linux-g++ -lts
QMAKE_LINK_SHLIB = arm-linux-g++ -lts
日历
最新微语
- 有的时候,会站在分叉路口,不知道向左还是右
2023-12-26 15:34
- 繁花乱开,鸟雀逐风。心自宁静,纷扰不闻。
2023-03-14 09:56
- 对于不可控的事,我们保持乐观,对于可控的事情,我们保持谨慎。
2023-02-09 11:03
- 小时候,
暑假意味着无忧无虑地玩很长一段时间,
节假意味着好吃好喝还有很多长期不见的小朋友来玩...
长大后,
这是女儿第一个暑假,
一个半月...
2022-07-11 08:54
- Watching the autumn leaves falling as you grow older together
2018-10-25 09:45
分类
最新评论
- Goonog
i get it now :) - 萧
@Fluzak:The web host... - Fluzak
Nice blog here! Also... - Albertarive
In my opinion you co... - ChesterHep
What does it plan? - ChesterHep
No, opposite. - mojoheadz
Everything is OK!... - Josephmaigh
I just want to say t... - ChesterHep
What good topic - AnthonyBub
Certainly, never it ...
2017-05-04 17:30
./configure -prefix /usr/local/qt-4.8.6-arm -opensource -embedded arm -xplatform qws/linux-arm-g++ -webkit -qt-gfx-transformed -qt-libmng -qt-mouse-tslib -qt-mouse-pc -no-mouse-linuxtp -no-neon -I/usr/local/tslib/include -L/usr/local/tslib/lib -no-script -no-webkit