鍩轰簬Hisi3521DV200骞冲彴绉绘Qt4.8.6
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了鍩轰簬Hisi3521DV200骞冲彴绉绘Qt4.8.6相关的知识,希望对你有一定的参考价值。
鏍囩锛?a href='http://www.mamicode.com/so/1/target' title='target'>target mbed mouse || tps comm idt headers val
杩戞棩锛屽洜鏂规鍙樻洿锛岄渶瑕佺Щ妞峇t4.8.6鍒癏isi3521DV200骞冲彴涓婏紱鑰屼箣鍓嶅紑鍙戠殑GUI鐣岄潰锛岄兘娌℃湁瑙︽懜鍔熻兘锛屾湰娆″紑鍙戞墦绠楀皢瑙︽懜鍔熻兘涔熶竴骞跺疄鐜般€?/span>
1.瀹夎浜ゅ弶缂栬瘧閾綼rm-himix400-linux-g++锛?/span>
- 涓€鑸琀IsiSDK鍖呴兘鏈変氦鍙夌紪璇戦摼涓庡畨瑁呮寚瀵硷紝涓嶅仛璧樿堪銆?/span>
2.浜ゅ弶缂栬瘧锛屽畨瑁卼slib
3.涓嬭浇Qt婧愮爜锛?/span>
- 涓嬭浇閾炬帴锛?span style="text-decoration: underline; color: #000000;">http://download.qt.io/archive/qt/4.8/4.8.6/
- 婧愮爜鍖咃細qt-everywhere-opensource-src-4.8.6.tar.gz
4.瑙e帇Qt锛屽苟淇敼io.pri鏂囦欢锛歴rc/corelib/io/io.pri
-
浠? linux-*:!symbian { SOURCES += io/qfilesystemwatcher_inotify.cpp io/qfilesystemwatcher_dnotify.cpp HEADERS += io/qfilesystemwatcher_inotify_p.h io/qfilesystemwatcher_dnotify_p.h } 鏀逛负 linux-*|arm-himix400-linux-*:!symbian { SOURCES += io/qfilesystemwatcher_inotify.cpp io/qfilesystemwatcher_dnotify.cpp HEADERS += io/qfilesystemwatcher_inotify_p.h io/qfilesystemwatcher_dnotify_p.h }
5.鍒涘缓涓撳睘arm-himix400-linux-g++缂栬瘧閾剧殑qmake.conf鏂囦欢
- 鍒涘缓arm-himix400-linux-g++鐨剄make.cof鏂囦欢锛?nbsp;cp mkspecs/qws/linux-arm-gnueabi-g++/ mkspecs/qws/arm-himix400-linux-g++/ -r
- 淇敼mkspecs/qws/arm-hisiv300-linux-g++/qmake.conf鏂囦欢锛屽涓?/span>锛?/li>
# # qmake configuration for building with arm-none-linux-gnueabi-g++ # include(../../common/linux.conf) include(../../common/gcc-base-unix.conf) include(../../common/g++-unix.conf) include(../../common/qws.conf) # modifications to g++.conf QMAKE_CC = /opt/hisi-linux/x86-arm/arm-himix400-linux/bin/arm-himix400-linux-gcc -lts QMAKE_CXX = /opt/hisi-linux/x86-arm/arm-himix400-linux/bin/arm-himix400-linux-g++ -lts QMAKE_LINK = /opt/hisi-linux/x86-arm/arm-himix400-linux/bin/arm-himix400-linux-g++ -lts QMAKE_LINK_SHLIB = /opt/hisi-linux/x86-arm/arm-himix400-linux/bin/arm-himix400-linux-g++ -lts # modifications to linux.conf QMAKE_AR = /opt/hisi-linux/x86-arm/arm-himix400-linux/bin/arm-himix400-linux-ar cqs QMAKE_OBJCOPY = /opt/hisi-linux/x86-arm/arm-himix400-linux/bin/arm-himix400-linux-objcopy QMAKE_STRIP = /opt/hisi-linux/x86-arm/arm-himix400-linux/bin/arm-himix400-linux-strip load(qt_config)
6.璁惧畾浜ゅ弶缂栬瘧閰嶇疆鍙傛暟
-
./configure -opensource --prefix=/opt/qt4.8.6_a15 -confirm-license -qt-sql-sqlite -qt-gfx-linuxfb -qt-gfx-transformed -plugin-sql-sqlite -no-qt3support -no-phonon -no-svg -no-webkit -no-script -no-scripttools -no-declarative -no-declarative-debug -qt-zlib -qt-libtiff -qt-libpng -no-libmng -qt-libjpeg -no-rpath -no-pch -no-3dnow -no-avx -no-neon -no-openssl -no-nis -no-cups -no-dbus -embedded arm -platform linux-g++ -xplatform qws/arm-himix400-linux-g++ -little-endian -qt-freetype -no-opengl -no-glib -nomake demos -nomake examples -nomake docs -nomake tools -nomake accessible -qt-mouse-tslib -L/home/newbie/Desktop/tslib/arm-himix400-linux-target/lib -I/home/newbie/Desktop/tslib/arm-himix400-linux-target/include
7.缂栬瘧涓庡畨瑁?/span>
- make && make install
8.闂涓庡鐞嗘柟娉?/span>
- 闂
Makefile:2519: recipe for target 鈥?/span>.obj/release-shared-emb-arm/itemviews.o鈥?/span> failed make[3]: *** [.obj/release-shared-emb-arm/itemviews.o] Error 1 make[3]: Leaving directory 鈥?/span>/home/newbie/Desktop/qt-everywhere-opensource-src-4.8.6/src/plugins/accessible/widgets鈥?/span> Makefile:39: recipe for target 鈥?/span>sub-widgets-make_default鈥?/span> failed make[2]: *** [sub-widgets-make_default] Error 2 make[2]: Leaving directory 鈥?/span>/home/newbie/Desktop/qt-everywhere-opensource-src-4.8.6/src/plugins/accessible鈥?/span> Makefile:246: recipe for target 鈥?/span>sub-accessible-make_default鈥?/span> failed make[1]: *** [sub-accessible-make_default] Error 2 make[1]: Leaving directory 鈥?/span>/home/newbie/Desktop/qt-everywhere-opensource-src-4.8.6/src/plugins鈥?/span> Makefile:448: recipe for target 鈥?/span>sub-plugins-make_default-ordered鈥?/span> failed make: *** [sub-plugins-make_default-ordered] Error 2
- 瑙e喅鏂规
-
鍥犱箣鍓嶇殑arm-hisiv300-linux-*涓巃rm-hisiv500-linux-*閮芥病鏈夐亣鍒拌繖绉嶆儏鍐碉紝涓€寮€濮嬫潫鎵嬫棤绛栥€?/p>
- 浠庝互涓婃姤閿欎俊鎭兘澶熺湅鍑猴紝鍦ㄧ洰褰?home/newbie/Desktop/qt-everywhere-opensource-src-4.8.6/src/plugins/accessible/widgets缂栬瘧鎶ラ敊銆?/li>
- cd /home/newbie/Desktop/qt-everywhere-opensource-src-4.8.6/src/plugins/accessible/widgets && make
- 鏍规嵁鎶ラ敊鍐呭锛屼慨鏀规枃浠讹細
浠?br />bool QAccessibleTable2::unselectColumn(int column) { if (!view()->model() || !view()->selectionModel()) return false; QModelIndex index = view()->model()->index(0, column, view()->rootIndex()); if (!index.isValid() || view()->selectionMode() & QAbstractItemView::NoSelection) return false; view()->selectionModel()->select(index, QItemSelectionModel::Columns & QItemSelectionModel::Deselect); return true; } 鏀逛负锛?bool QAccessibleTable2::unselectColumn(int column) { if (!view()->model() || !view()->selectionModel()) return false; QModelIndex index = view()->model()->index(0, column, view()->rootIndex()); if (!index.isValid() || view()->selectionMode() & QAbstractItemView::NoSelection) return false; view()->selectionModel()->select(index,QItemSelectionModel::SelectionFlags(QItemSelectionModel::Columns & QItemSelectionModel::Deselect)); return true; }
-
閲嶆柊缂栬瘧瀹夎锛屽嵆鍙€?/p>
以上是关于鍩轰簬Hisi3521DV200骞冲彴绉绘Qt4.8.6的主要内容,如果未能解决你的问题,请参考以下文章