鍩轰簬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>

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
  • 鎶€鏈浘鐗? src=
  • 鏍规嵁鎶ラ敊鍐呭锛屼慨鏀规枃浠讹細
    浠?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的主要内容,如果未能解决你的问题,请参考以下文章

娲炲療婕忔礊绠$悊骞冲彴瀹炶返

鍩轰簬璇嶅吀鍜屾湸绱犺礉鍙舵柉涓枃鎯呮劅鍊惧悜鍒嗘瀽绠楁硶

FILEBEAT+ELK鏃ュ織鏀堕泦骞冲彴鎼缓娴佺▼

nginx鍩轰簬HTTP瀹炵幇璐熻浇鍧囪 tomcat

linux鐜鍩轰簬python璇█docx杞琾df

鍩轰簬Haproxy鏋勫缓璐熻浇鍧囪 闆嗙兢