QT交叉编译 缺少sys/cdefs.h

交叉编译QT,因为要用的xcb等库,所以直接把开发板内的/lib /usr/lib /usr/include拷贝到了虚拟机,
解压qt源码,配置qmake.conf
#

qmake configuration for building with aarch64-linux-gnu-g++

#

MAKEFILE_GENERATOR = UNIX
CONFIG += incremental
QMAKE_INCREMENTAL_STYLE = sublib

include(../common/linux.conf)
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)

QMAKE_CXXFLAGS += -I/home/ubuntu/yk/usr/include
QMAKE_CXXFLAGS += -I/home/ubuntu/yk/usr/include/aarch64-linux-gnu
QMAKE_CFLAGS += -I/home/ubuntu/yk/usr/include
QMAKE_CFLAGS += -I/home/ubuntu/yk/usr/include/aarch64-linux-gnu

QMAKE_LFLAGS += /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/lib/
QMAKE_LFLAGS += -L/home/ubuntu/yk/lib/aarch64-linux-gnu
QMAKE_LFLAGS += -Wl,-rpath-link,/home/ubuntu/yk/lib/aarch64-linux-gnu
QMAKE_LFLAGS += -L/home/ubuntu/yk/usr/lib/aarch64-linux-gnu
QMAKE_LFLAGS += -Wl,-rpath-link,/home/ubuntu/yk/usr/lib/aarch64-linux-gnu
QMAKE_LFLAGS += -L/home/ubuntu/yk/lib
QMAKE_LFLAGS += -Wl,-rpath-link,/home/ubuntu/yk/lib
QMAKE_LFLAGS += -L/home/ubuntu/yk/usr/lib
QMAKE_LFLAGS += -Wl,-rpath-link,/home/ubuntu/yk/usr/lib

QMAKE_LIBS += -lpthread -lgobject-2.0 -lglib-2.0 -lpcre
QMAKE_CFLAGS += -O2 -march=armv7-a -mfpu=neon -mfloat-abi=hard
QMAKE_CXXFLAGS += -O2 -march=armv7-a -mfpu=neon -mfloat-abi=hard

QMAKE_LFLAGS += -L/home/ubuntu/yk/lib
QMAKE_LFLAGS += -Wl,-rpath-link,/home/ubuntu/yk/lib
QMAKE_LFLAGS += -L/home/ubuntu/yk/usr/lib
QMAKE_LFLAGS += -Wl,-rpath-link,/home/ubuntu/yk/usr/lib

modifications to g++.conf

QMAKE_CC = aarch64-linux-gnu-gcc
QMAKE_CXX = aarch64-linux-gnu-g++
QMAKE_LINK = aarch64-linux-gnu-g++
QMAKE_LINK_SHLIB = aarch64-linux-gnu-g++

modifications to linux.conf

QMAKE_AR = aarch64-linux-gnu-ar cqs
QMAKE_OBJCOPY = aarch64-linux-gnu-objcopy
QMAKE_NM = aarch64-linux-gnu-nm -P
QMAKE_STRIP = aarch64-linux-gnu-strip
load(qt_config)

执行configure后提示错误

ubuntu@ubuntuPC:~/yk/qt-everywhere-opensource-src-5.8.0$ ./configure -release -nomake examples -no-iconv -qt-xcb -qpa xcb -no-opengl -sysroot /home/ubuntu/yk/ -xplatform linux-arm-gnueabi-g++ -prefix /home/ubuntu/Qt5.8.0_arm -opensource -confirm-license

  • cd qtbase
  • /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/configure -top-level -release -nomake examples -no-iconv -qt-xcb -qpa xcb -no-opengl -sysroot /home/ubuntu/yk/ -xplatform linux-arm-gnueabi-g++ -prefix /home/ubuntu/Qt5.8.0_arm -opensource -confirm-license

This is the Qt Open Source Edition.

You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) version 3.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) version 2.

You have already accepted the terms of the Open Source license.

Creating qmake...
........................................................................................Done.
Info: creating stash file /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/.qmake.stash
Info: creating super cache file /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/.qmake.super

Running configuration tests...
Checking for gold linker... yes
Checking for valid makespec... yes
Checking for target architecture... Project ERROR: Could not determine target architecture. See config.log for details.

查看config.log

executing config test architecture

  • cd /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/arch && /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/bin/qmake -qtconf /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/bin/qt.conf "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker console" "QMAKE_CFLAGS += --sysroot=/home/ubuntu/yk/" "QMAKE_CXXFLAGS += --sysroot=/home/ubuntu/yk/" "QMAKE_LFLAGS += --sysroot=/home/ubuntu/yk/" /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/arch
  • cd /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/arch && MAKEFLAGS= /usr/bin/make > g++ -c -pipe --sysroot=/home/ubuntu/yk/ -g -Wall -W -fPIC -I. -I/home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/mkspecs/linux-g++ -o arch.o arch.cpp > In file included from /home/ubuntu/yk/usr/include/stdio.h:27:0, > from arch.cpp:43: > /home/ubuntu/yk/usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory > compilation terminated. > Makefile:167: recipe for target 'arch.o' failed > make: *** [arch.o] Error 1

找不到sys/cdefs.h
但是我配置的目录下面 /home/ubuntu/yk/usr/include/aarch64-linux-gnu 有sys/cdefs.h
找了一天问题了,还缺少配置什么路径?

2个回答

没有找到xcb的安装方法

安装下标准库,检查下有没有添加到编译的头文件路径,参考:https://blog.csdn.net/sfdazsdf/article/details/48625545

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
QT交叉编译 缺少sys/cdefs.h
交叉编译QT,因为要用的xcb等库,所以直接把开发板内的/lib /usr/lib /usr/include拷贝到了虚拟机,n解压qt源码,配置qmake.confn#n# qmake configuration for building with aarch64-linux-gnu-g++n#nnMAKEFILE_GENERATOR = UNIXnCONFIG += incrementalnQMAKE_INCREMENTAL_STYLE = sublibnninclude(../common/linux.conf)ninclude(../common/gcc-base-unix.conf)ninclude(../common/g++-unix.conf)nnQMAKE_CXXFLAGS += -I/home/ubuntu/yk/usr/includenQMAKE_CXXFLAGS += -I/home/ubuntu/yk/usr/include/aarch64-linux-gnunQMAKE_CFLAGS += -I/home/ubuntu/yk/usr/includenQMAKE_CFLAGS += -I/home/ubuntu/yk/usr/include/aarch64-linux-gnunnQMAKE_LFLAGS += /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/lib/nQMAKE_LFLAGS += -L/home/ubuntu/yk/lib/aarch64-linux-gnunQMAKE_LFLAGS += -Wl,-rpath-link,/home/ubuntu/yk/lib/aarch64-linux-gnu nQMAKE_LFLAGS += -L/home/ubuntu/yk/usr/lib/aarch64-linux-gnunQMAKE_LFLAGS += -Wl,-rpath-link,/home/ubuntu/yk/usr/lib/aarch64-linux-gnunQMAKE_LFLAGS += -L/home/ubuntu/yk/libnQMAKE_LFLAGS += -Wl,-rpath-link,/home/ubuntu/yk/libnQMAKE_LFLAGS += -L/home/ubuntu/yk/usr/libnQMAKE_LFLAGS += -Wl,-rpath-link,/home/ubuntu/yk/usr/libnnQMAKE_LIBS += -lpthread -lgobject-2.0 -lglib-2.0 -lpcrenQMAKE_CFLAGS += -O2 -march=armv7-a -mfpu=neon -mfloat-abi=hardnQMAKE_CXXFLAGS += -O2 -march=armv7-a -mfpu=neon -mfloat-abi=hardnnQMAKE_LFLAGS += -L/home/ubuntu/yk/libnQMAKE_LFLAGS += -Wl,-rpath-link,/home/ubuntu/yk/libnQMAKE_LFLAGS += -L/home/ubuntu/yk/usr/libnQMAKE_LFLAGS += -Wl,-rpath-link,/home/ubuntu/yk/usr/libnn# modifications to g++.confnQMAKE_CC = aarch64-linux-gnu-gccnQMAKE_CXX = aarch64-linux-gnu-g++nQMAKE_LINK = aarch64-linux-gnu-g++nQMAKE_LINK_SHLIB = aarch64-linux-gnu-g++nn# modifications to linux.confnQMAKE_AR = aarch64-linux-gnu-ar cqsnQMAKE_OBJCOPY = aarch64-linux-gnu-objcopynQMAKE_NM = aarch64-linux-gnu-nm -PnQMAKE_STRIP = aarch64-linux-gnu-stripnload(qt_config)nnn执行configure后提示错误nnubuntu@ubuntuPC:~/yk/qt-everywhere-opensource-src-5.8.0$ ./configure -release -nomake examples -no-iconv -qt-xcb -qpa xcb -no-opengl -sysroot /home/ubuntu/yk/ -xplatform linux-arm-gnueabi-g++ -prefix /home/ubuntu/Qt5.8.0_arm -opensource -confirm-licensen+ cd qtbasen+ /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/configure -top-level -release -nomake examples -no-iconv -qt-xcb -qpa xcb -no-opengl -sysroot /home/ubuntu/yk/ -xplatform linux-arm-gnueabi-g++ -prefix /home/ubuntu/Qt5.8.0_arm -opensource -confirm-licensennThis is the Qt Open Source Edition.nnYou are licensed to use this software under the terms ofnthe GNU Lesser General Public License (LGPL) version 3.nYou are also licensed to use this software under the terms ofnthe GNU General Public License (GPL) version 2.nnYou have already accepted the terms of the Open Source license.nnCreating qmake...n........................................................................................Done.nInfo: creating stash file /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/.qmake.stashnInfo: creating super cache file /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/.qmake.supernnRunning configuration tests...nChecking for gold linker... yesnChecking for valid makespec... yesnChecking for target architecture... Project ERROR: Could not determine target architecture. See config.log for details.nn查看config.lognnexecuting config test architecturen+ cd /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/arch && /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/bin/qmake -qtconf /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/bin/qt.conf "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker console" "QMAKE_CFLAGS += --sysroot=/home/ubuntu/yk/" "QMAKE_CXXFLAGS += --sysroot=/home/ubuntu/yk/" "QMAKE_LFLAGS += --sysroot=/home/ubuntu/yk/" /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/archn+ cd /home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/arch && MAKEFLAGS= /usr/bin/maken> g++ -c -pipe --sysroot=/home/ubuntu/yk/ -g -Wall -W -fPIC -I. -I/home/ubuntu/yk/qt-everywhere-opensource-src-5.8.0/qtbase/mkspecs/linux-g++ -o arch.o arch.cppn> In file included from /home/ubuntu/yk/usr/include/stdio.h:27:0,n> from arch.cpp:43:n> /home/ubuntu/yk/usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directoryn> compilation terminated.n> Makefile:167: recipe for target 'arch.o' failedn> make: *** [arch.o] Error 1nn找不到sys/cdefs.hn但是我配置的目录下面 /home/ubuntu/yk/usr/include/aarch64-linux-gnu 有sys/cdefs.hn找了一天问题了,还缺少配置什么路径?n
求UNIX下的 /usr/include/sys/cdefs.h
如题
交叉编译,缺少头文件
安装Python-dev,但是由于局域网内,用工具安装不了。我怎么才能找到python-dev的安装包?
交叉编译 QT
各位我原来做过QT,并且移植到mini2440上,执行成功,可是现在要用一种新的板子,用的交叉编译器是 arm_v5t_le-gcc命令的,我用重新编译一下QT吗?如果现在这个QT基础上改,我应该怎么做,改哪能让他的交叉编译命令改过来?
cdefs.h头文件
cdefs.h头文件 源代码下载中出现行号,花了十分钟去掉了行号 哈哈哈 如有需要请下载
交叉编译 gutenprint 报错 缺少 libgtk-x11
可是我从哪里下载源码呢, 难道下载gnome
交叉编译工具安装缺少动态库问题解决方法
安装交叉编译工具,实现代码兼容运行
树莓派&QT交叉编译之二
Rasberrypi&Qt cross compilation交叉编译的过程不复杂,主要是出现了一个符号链接的问题,解决方案在本文末。本文仅是简单介绍qt交叉编译的过程,具体内容请,请详察以下两个链接。
Qt 4.8.4 交叉编译移植
基于am335x交叉编译器arm-arago-linux-gnueabi的交叉编译,亲自编译记录的笔记。
QT交叉编译问题
我下载了 qt-everywhere-opensource-src-4.8.5 ,rn执行:rn./configure -prefix /root/qt-arm/ -opensource -confirm-license -release -shared -embedded arm -xplatform qws/linux-arm-g++ -depths 16,18,24 -fast -optimized-qmake -pch -qt-sql-sqlite -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -little-endian -host-little-endian -no-qt3support -no-libtiff -no-libmng -no-opengl -no-mmx -no-sse -no-sse2 -no-3dnow -no-openssl -no-webkit -no-phonon -no-nis -no-opengl -no-cups -no-glib -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-separate-debug-info -nomake examples -nomake tools -nomake docsrnrnrn完成了./configure之后,rn[../../lib/libQtNetwork.so.4.8.5] 错误1 我查了这个路径没这个文件,是否需要下载某个lib库么????rn[sub-network-make_default-ordered] 错误2rnrn我百度同样的问题,按下面的文件全部升级了也解决不了。rnI finally completed the library. For those of you with a clean Ubuntu partition, installing the following libraries will allow this installation to work flawlessly.rnrnbuild-essentialrn// sudo apt-get install build-essentialrnlibglib2.0-dev (you might have to create symlinks for headers)rn// sudo apt-get install libglib2.0-dev 下面命令同rnlibgtk2.0-devrnlibgnomeui-dev (not sure about this one but I was so far into the compilation that I put it in for safety)rnlibSM-devrnlibxrender-devrnlibfontconfig1-devrnlibxext-devrnlibgl-dev (this is a virtual library, the libglu-dev installation takes care of this one automatically - if not, just install the relevant ones)rnlibglu-devrnlibssl-devrnxorg-devrnlibgst-dev (you might have to create symlinks for headers)rnlibgstreamer0.10-dev (you might have to create symlinks for headers)rnlibgstreamer-plugins-base0.10-devrnrnDepending on your luck you may or may not have to create symlinks to get rid of errors involving header files not being found. I used the following:rnrnsudo ln -s /usr/include/gstreamer-0.10/gst /usr/include/gstrnrnsudo ln -s /usr/include/glib-2.0/* /usr/include/rnrnsudo ln -s /usr/lib/glib-2.0/include/* /usr/include/rnrnsudo ln -s /usr/include/libxml2/libxml /usr/include/libxmlrnrnThe idea is to allow the make file to find the header files in the erroneous locations. You can fix the errors by modifying the make file but this is a lot less stressful and easy to reverse.rnrnAll the best. rn
qt交叉编译问题
./configure 配置的时候 -xplatform后面直接跟平台的文件夹名字(linux-arm-hisiv400-g++),而不需要/qws/linux-arm-hisiv400-g++,这样的话找不到编译平台。  You might need to modify the include and library search paths by editing  QMAKE_IN
linux qt交叉编译参数详解
linux 环境下,安装qt交叉编译环境时,可以选择参数的的详细中文注解
Qt交叉编译mysql驱动
操作系统:Ubuntu1204.3 Qt版本:4.8.4 一、交叉编译libmysqlclient.so 当libmysqlclient.so文件不存在时需要自行编译,使用mysql官网源码编译libmysqlclient.so文件 1、从mysql官网下载mysql-client源码如下 ftp://ftp.fu-berlin.de/unix/databases/mysql/Do...
交叉编译qt出现问题
配置命令:rn ./configure \rn-prefix /usr/local/Trolltech/qte-arm rn-opensource rn-confirm-license rn-release -shared rn-embedded arm rn-xplatform qws/linux-arm-g++ rn-depths 16,18,24 rn-fast rn-optimized-qmake rn-pch rn-qt-sql-sqlite rn-qt-libjpeg rn-qt-zlib rn-qt-libpng rn-qt-freetype rn-little-endian -host-little-endian rn-no-qt3support rn-no-libtiff -no-libmng rn-no-opengl rn-no-mmx -no-sse -no-sse2 rn-no-3dnow rn-no-opensslrn-no-webkit rn-no-qvfb rn-no-phonon rn-no-nis rn-no-opengl rn-no-cups rn-no-glib rn-no-xcursor -no-xfixes -no-xrandr -no-xrender rn-no-separate-debug-info rn-nomake examples -nomake tools -nomake docs rn-qt-mouse-tslib-I/usr/local/tslib/include -L/usr/local//tslib/lib rnrn但是出现如下警告:rnYou have not explicitly asked to use pkg-config and are cross-compiling.rnpkg-config will not be used to automatically query cflag/lib parameters for rndependencies。rn这个问题怎么解决啊rn谢谢各位了啊rn分不多 只能给20分了rnrnrnrn
Qt creator能否交叉编译?
在Qt的帮助文档中好像提到Qt creator可以直接交叉编译,rn但没说如何实现,望大虾指点!rnPS:我已经编译了QtEmbedded,每次都在控制台把程序编译成arm架构可执行文件。
linux 下qt交叉编译指导书
完整的指导你完成linux qt的交叉编译。
Ubuntu16.04下Qt交叉编译开发环境搭建
一、软件包介绍: 1、arm-linux-gcc.tar.gz    我提供的包是arm-linux-gcc4.4.3版本,arm-linux-gcc是编译arm开发板上程序用的一种gcc。 2、qt-everywhere-opensource-src-4.8.5.tar.gz     这个包是QT4.8.5的源码包,everywhere意思就是可以编译出适合各种平台的版本。 3、qt-
qt交叉编译环境搭建方法
qt交叉编译环境搭建方法
Qt 交叉编译的路径设置
在交叉编译Qt源码时,需要设置部署路径。但是部署路径有三个变量,分别是-prefix, -extprefix 和-hostprefix。那这三个变量分别是什么意思呢?-prefix:目标板的引用路径。 这个路径有两个作用,一个是指定目标机的Qt库路径,也就是说,当你把Qt库部署到目标机时,需要把Qt库拷贝到这个路径下,Qt程序就可以自动找到库。第二个是,如果你没有指定extprefix, inst...
Qt 源码5.6.3交叉编译
下载源码 地址:http://download.qt.io/archive/qt/5.6/5.6.3/single/ 下载之后,解压到你喜欢的目录即可 修改qmake文件 进入目录/home/zhangsan/sourceCode_5.6.3/qt-everywhere-opensource-src-5.6.3/qtbase/mkspecs/linux-arm-gnueabi-g++ 打...
关于Android与qt交叉编译:
关于Android与qt交叉编译: 开始菜单栏找到Hyper-V,打开如下:       右键当前,点击连接,进入虚拟机,打开该虚拟机       找到qt Creator 打开,在起始页面找到需要打开的项目,会有如下提示,根据图片选择,生成Android forarneabi-7a(GCC 4.9 ,Qt 5.8.0)和desktop Qt5.8.0 GCC 64bit,...
QT ARM交叉编译
arm平台:BeagleBone Black 交叉编译工具:arm-linux-gnueabihf qt源码:qt-everywhere-opensource-src-5.8.0.tar.gz ~$ tar -xzf qt-everywhere-opensource-src-5.8.0.tar.gz ~$ cd qt-everywhere-opensource-src-5.8.0/qtba
qt 交叉编译出问题
本人新手求各位大大把下脉出什么问题了rn提示:rn You might need to modify the include and library search paths by editingrn QMAKE_INCDIR and QMAKE_LIBDIR inrn /home/rosi/Desktop/qt-embedded-linux-opensource-src-4.5.3/mkspecs/qws/linux-arm-g++.rnrn./mkspecs/qws/linux-arm-g++/qmake.conf 下 配置文件如下rnrnrn# modifications to g++.confrnQMAKE_CC = arm-hismaill-linux-gccrnQMAKE_CXX = arm-hismaill-linux-g++rnQMAKE_LINK = arm-hismaill-linux-g++rnQMAKE_LINK_SHLIB = arm-hismaill-linux-g++rnrn# modifications to linux.confrnQMAKE_AR = arm-hismaill-linux-ar cqsrnQMAKE_OBJCOPY = arm-hismaill-linux-objcopyrnQMAKE_STRIP = arm-hismaill-linux-striprnrnrnrnarm-himail-linux-g** 在系统路径下能找到 环境redhat 5.8和Ubuntu10.04 12.04都出现这个问题rnrn再附上configure 命令rn./configure -prefix /usr/local/hisi_lib/QtEmbedded-4.5.3 -no-qt3support -xplatform qws/linux-arm-g++ -embedded arm -qt-zlib -qt-libjpeg -make libs -nomake examples -nomake demos -nomake docs -no-nis -no-cups -no-iconv -qt-gfx-linuxfb -no-gfx-transformed -no-gfx-qvfb -no-gfx-vnc -no-gfx-multiscreen -no-kbd-tty -no-glib -qt-mouse-tslib -I/usr/local/hisi_lib/tslib/include -L/usr/local/hisi_lib/tslib/librn
qt交叉编译静态库
各位童鞋,资源里有编译好的海思Hi3531a的qt静态库,以及静态编译qt的脚本。如果您想自己编译,可以到官网下载qt5.7.0源码进行编译。我的交叉编译环境是ubuntu14.04 32bit
qt交叉编译配置文件
qt交叉编译的配置文件,包括./confiuge和平台有关的qmake.conf文件
交叉编译ARM版 Qt
https://blog.csdn.net/sno_guo/article/details/7571264
Qt交叉编译环境搭建
第一步:下载qt creator 拷贝到linux下,先chmod可执行权限 #chmod  -x Qt-linux-x86.run #./Qt-linux-x86.run 安装完成后,打开Qt Creator。 2、设置Qt交叉编译环境 首先设置qt-creator使其支持交叉编译 工具——选项——选择构建和运行——Qt版本——添加,这一步设置qmake的路径
ubuntu 龙芯 qt 交叉编译
上周遇到一个难题,在龙芯上面运行qt,网上对arm的讲解时非常多的,但是龙芯mips的交叉编译却说的十分的少,现在感觉对此比较了解,所以特意写一篇博客,如果有什么不对的地方,欢迎指正 首先说下自己的环境ubuntu kylin 64 首先是龙芯的交叉编译的下载,在龙芯的开源社区里面就能够找到。里面有详细的环境配置说明。 然后时qt我们可以在官网上面下载源码 http://mirro
交叉编译带opengl的qt
1.复制linux-imx6-g++到 /mkspecs/qws/ 2.复制替换linux.conf到/mkspecs/common/ 3.复制0001-add-i.MX6-EGL-support.patch到源码根目录$ patch -p1<0001-add-i.MX6-EGL-support.patch 4.复制run.sh到源码根目录$./run.sh $make $sudo make install.
qt交叉编译的配制工具
qt交叉编译的配制工具 ,arm开发时可能会用到。比如windows平台下开发qt arm
qt应用程序的交叉编译和移植
1.   最好使用相同的lib和include文件路径。 即计算机上交叉编译环境的相关依赖库与Arm开发板上的库的文件路径最好一致 比如 计算机上的Makefile文件的制定库 路径为/usr/local/freescale/qt4.8.5/lib  需要在计算机 和arm开发板上 都有该文件夹和相关文件 2. 需要确定选择对应的屏幕,在启动内核时,选择4.3寸显示屏  
QT 交叉编译环境搭建
1、下载: qt-create下载 qt-everywhere-opensource-5.5.1.tar.gz 交叉编译工具链arm-xilinx-linux-gnueabi- 2、解压qt-everywhere-opensource-5.5.1.tar.gz 1、cd qt-everywhere-opensource-5.5.1/qtbase/mkspecs
Qt交叉编译imx6
主体按照天嵌Qt5快速入门进行,对于自己的程序需要去除OPenGL相关,并注释pro文件中的两个库
qt交叉编译设置
我一开始交叉编译配置成arm的了,现在没有机器,想先在pc做下模拟怎样做才能使编译的程序能在pc上跑呢?不重新安装的情况下能实现吗?
Qt Creator的安装与Qt交叉编译的配置
Qt Creator的安装与Qt交叉编译的配置
QT缺少库文件
现在我的ARM板上有两个ARM版本的QT,一个是以前系统自带的,还有一个是我自己编译好的,移植到ARM板上的。rn 我自己编译QT内的测试程序运行不起来,错误是缺少库文件,这是为什么?rn用PC 版的QT就可以是不是我的ARM下的QT的配置错误呀!!rn找大神给我解决!!rn在线等!!rn谢谢!!rn
交叉编译适合ARM的QT版本
本文档提供从安装vmware到安装嵌入式ARM版本QT的一系列过程,以及过程中可能出现的错误的解决方案,亲测可用
Qt arm嵌入式交叉编译环境搭建
刚接触linux系统和Qt,这个编译环境的搭建确实让人很是烦恼。经过一个多月时间的接触,基本搞定了,虽然有些东西还是不是太明白,这在做个总结。Qt的理解 首先得明白,qt就是一个C++类库。用的时候,我们是通过调用它的动态库来使用的。这就涉及一个问题了,在不同的系统上比如windows、linux、arm-linux上编译器不一样,所以我们就需要用对应的编译器编译Qt的源码,来获取对应编译器的版本
Qt源码+tslib交叉编译到ARM
Step1:安装编译过程中所需的工具 $ sudo apt-get install automake libtool autoconf $ sudo apt-get install g++ xz-utils Step2:编译 tslib $ cd ${GUIWORKSPACE} $ tar -jxf tslib-1.4.tar.bz2 $ cd tslib $ ./autog
i.MX平台Qt交叉编译环境搭建
主机环境:Ubuntu 12.04, 64位 。 交叉编译工具:Poky 1.5.3 交叉编译工具链及相关工具1、安装交叉编译工具  将 poky 交叉编译工具压缩包解压到 /opt 目录。$ sudo cp fsl-imx-x11-Yocto_1.5.3.tar.bz2 /opt $ cd /opt $ sudo tar jxvf fsl-imx-x11-Yocto_1.5.3.tar.bz2
相关热词 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池 c#5.0 安装程序 c# 分页算法