Sunday, July 6th 2008, 4:50pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

ROY

Beginner

Posts: 2

Location: India

Occupation: embedded

1

Monday, July 2nd 2007, 11:38am

Qt 4.2.2 Can't Compile Test Application

QT 4.2.2 opensource version is cross-compiled for arm-linux.
But when compiling a test application using qmake.......the CC & GCC used are gcc & g++ (not the target compilers).

To circumvent the problem, i edited the makefile and explicitly mentioned armv5l-linux-gcc & armv5l-linux-g++.

for LIBS line mentioned of in the Makefile is:

LIBS = $(SUBLIBS) -L$(QTDIR)/lib -lqt-mt -lXext -lX11 -lm

for which -lqt-mt , -lXext , -lX11 , -lm all return error saying "incompatible version" on running make.
-------------------------------------------------------------------------------------------

also..

I'm not able to set the QTDIR directory properly. Inspite of setting this variable to /home/john/QTPHONE/qtopia-opensource-4.2.2 (this is where the qt4.2.2 source is present) the QTDIR variable reverts back to /usr/lib/qt-3.3

how do i correct this?


pls help.
  • Go to the top of the page

2

Tuesday, September 18th 2007, 5:42pm

set the QTDIR directory properly..i got this problem..too..
  • Go to the top of the page

3

Tuesday, September 18th 2007, 5:45pm

waiting...
  • Go to the top of the page

Rate this thread