HI, is my first time using qt creator and I need to create a graphical interface to use in an Arm 11 board.
I have installed in my Linux (Debian) the cross compiler and the arm-linux-gcc to compile my projects but my main problem is that I don't understand to configure the qt creator to compile using the cross compiler or arm-linux-gcc libreries.
I red about qmake, cmake... but I don't know somethnig about this.
I don't know if I have to reference the lib's, include's in the qt creator or if I have to put the ref's in the command line when I try to compile.
Could somebdy explain me how to configure the qt creatorto compile the projects using cross compile and how to compile the projects?
I red a lot of information but I don't understand because I'm very inexpert.
Thanks very much.
I find the Makefile in a project,
CC = gcc
CXX = g++
DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I.
LINK = g++
and I edit this Makefile changing:
CC = /usr/local/arm/4.3.2/bin/arm-linux-gcc
CXX = /usr/local/arm/4.3.2/bin/arm-linux-g++
DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I.
LINK = /usr/local/arm/4.3.2/bin/arm-linux-g++
and when I run make, the error output is:
make: arm-linux-g++: Program not found
Bookmarks