Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Qt5 adding mkspecs

$
0
0
Hello everybody I would like to create a graphic interface on a embedded linux with an ARM architecture using Qt. So I downloaded the source code of Qt5 (the tar.gz for Linux). I have extracted the files. Before running ./configure with the correct configuration options, I have to add in the qtbase/mkspecs/ directory the configuration of my toolchain. And I think this where I’m wrong. I created in /mkspecs directory a new directory “arm-v5t-g++” with the name of my toolchain, that is quite similar to linux-arm-gnueabi-g++ And in that new folder I have created a qmake.conf and qplatformdefs.h file. The qplatformdefs is the same as the one of linux-arm-gnueabi-g++. Here is the qmake.conf MAKEFILE_GENERATOR      = UNIX CONFIG                  += incremental gdb_dwarf_index QMAKE_INCREMENTAL_STYLE = sublib   include(../common/linux.conf) include(../common/gcc-base-unix.conf) include(../common/g++-unix.conf)   # modifications to g++.conf QMAKE_CC                = arm-v5t-gcc QMAKE_CXX               = arm-v5t-gcc QMAKE_LINK              = arm-v5t-gcc QMAKE_LINK_SHLIB        = arm-v5t-gcc   QMAKE_INCDIR  =/home/arm/v5t/target/usr/include QMAKE_LIBDIR  =/home/arm/v5t/target/usr/lib   QMAKE_LIBS              = -lpng   # modifications to linux.conf QMAKE_AR                = arm-v5t-ar cqs QMAKE_OBJCOPY           = arm-v5t-objcopy QMAKE_STRIP             = arm-v5t-strip   load(qt_config) And then I run ./configure -xplatform linux-arm … But I have got errors /home/Qt5/qt-everywhere-opensource-src-5.0.1/qtbase/configure: line 2638: arm-v5t-g++: command not found May someone helps me ? I don’t know where I have made a mistake and I can not find help for embedded system with Qt5. Thanks you

Viewing all articles
Browse latest Browse all 22112

Trending Articles