Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, November 2006
qt-3.1 project compile for qt-embedded-2.3.10


Message 1 in thread

hi,

I have a qt-X11(qt-3.1)project created using qt-3.1 designer(forms are
also there). Now i want to compile this project for qt-embedded.
Can anyone tell me how to do this.
I installed qt-embedded-2.3.10 on my Linux machine(Red-Hat-Linux 9.0 with
kernel 2.4.20) and also enabled virtual framebuffer by compiling the
kernel.

Thanks and Reagrds,
Niranjan.


--
 [ signature omitted ] 

Message 2 in thread

If you set QT_DIR to point to the directory you installed qtembedded,
it'll link to the embedded libraries.
This is all written in the documentation though....

Ben 

> -----Original Message-----
> From: niranjank@xxxxxxxxxxxx [mailto:niranjank@xxxxxxxxxxxx] 
> Sent: Wednesday, November 01, 2006 7:46 AM
> To: qt-interest@xxxxxxxxxxxxx
> Cc: qt-embedded-interest@xxxxxxxxxxxxx
> Subject: qt-3.1 project compile for qt-embedded-2.3.10
> 
> hi,
> 
> I have a qt-X11(qt-3.1)project created using qt-3.1 
> designer(forms are also there). Now i want to compile this 
> project for qt-embedded.
> Can anyone tell me how to do this.
> I installed qt-embedded-2.3.10 on my Linux 
> machine(Red-Hat-Linux 9.0 with kernel 2.4.20) and also 
> enabled virtual framebuffer by compiling the kernel.
> 
> Thanks and Reagrds,
> Niranjan.
> 
> 
> To unsubscribe - send "unsubscribe" in the subject to 
> qt-embedded-interest-request@xxxxxxxxxxxxx
> 
> 

--
 [ signature omitted ] 

Message 3 in thread

hi,
Thanks for your response.

yes it is right to set QTDIR to qt-embedded.qt programs created
using qt-3.1 designer (no forms, only cpp and .h file) will work using
qt-embedded. But qt programs (with forms(.ui)) ,having compilation problem.

My steps.
1. I created qt-3.1 project with one form.
2. set QTDIR to qt-embedded
3. when i do using tmake
 tmake -o Makefile name.pro
error comes like
tmake error: name.pro:2: Syntax error


my name.pro file like follows.


SOURCES	+= main.cpp
unix {
  UI_DIR = .ui
  MOC_DIR = .moc
  OBJECTS_DIR = .obj
}
FORMS	= form1.ui
IMAGES	= images/filenew \
	images/fileopen \
	images/filesave \
	images/print \
	images/undo \
	images/redo \
	images/editcut \
	images/editcopy \
	images/editpaste \
	images/searchfind
TEMPLATE	=app
CONFIG	+= qt warn_on release
LANGUAGE	= C++

Can u tell me , what's the wrong.


Thanks and Regards,
Niranjan.


> If you set QT_DIR to point to the directory you installed qtembedded,
> it'll link to the embedded libraries.
> This is all written in the documentation though....
>
> Ben
>
>> -----Original Message-----
>> From: niranjank@xxxxxxxxxxxx [mailto:niranjank@xxxxxxxxxxxx]
>> Sent: Wednesday, November 01, 2006 7:46 AM
>> To: qt-interest@xxxxxxxxxxxxx
>> Cc: qt-embedded-interest@xxxxxxxxxxxxx
>> Subject: qt-3.1 project compile for qt-embedded-2.3.10
>>
>> hi,
>>
>> I have a qt-X11(qt-3.1)project created using qt-3.1
>> designer(forms are also there). Now i want to compile this
>> project for qt-embedded.
>> Can anyone tell me how to do this.
>> I installed qt-embedded-2.3.10 on my Linux
>> machine(Red-Hat-Linux 9.0 with kernel 2.4.20) and also
>> enabled virtual framebuffer by compiling the kernel.
>>
>> Thanks and Reagrds,
>> Niranjan.
>>
>>
>> To unsubscribe - send "unsubscribe" in the subject to
>> qt-embedded-interest-request@xxxxxxxxxxxxx
>>
>>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>

--
 [ signature omitted ] 

Message 4 in thread

Hi, Niranjan,

You'd better use same version for your qt x11 and qt embedded. If you
want to develop with qte 2.3.10, you should try to use qt x11 2.3.2,
not qt x11 3.x. And for qt 2.x, you should use tmake to generate the
makefile.

Good luck!

Regards,
Cavendish

-- 
 [ signature omitted ]