2009-01-13 09:17:22     Qt application build

Document created by Aaronwu Employee on Aug 9, 2013
Version 1Show Document
  • View in full screen mode

2009-01-13 09:17:22     Qt application build

Nikolay Chokoev (IRELAND)

Message: 67879   

 

Hi,

 

How can I build a custom Qt application? How to setup tools? Is there any documentation?

 

Best regards,

 

Nikolay

QuoteReplyEditDelete

 

 

2009-01-13 10:05:38     Re: Qt application build

Mike Frysinger (UNITED STATES)

Message: 67884   

 

http://www.qtsoftware.com/products

QuoteReplyEditDelete

 

 

2009-01-14 04:34:59     Re: Qt application build

Nikolay Chokoev (IRELAND)

Message: 67926   

 

Hi Mike,

 

I'm asking in terms of ucLinux distribution for blackfin....

 

...there are "tools/bfin-linux-uclibc-qmake" I suppose I have to use instead 'qmake'. Is it true? What else?

 

Regards,

 

Nikolay

QuoteReplyEditDelete

 

 

2009-01-14 06:07:00     Re: Qt application build

Mike Frysinger (UNITED STATES)

Message: 67934   

 

that is a wrapper for the normal qmake binary that you can use when generating a cross-Makefile

QuoteReplyEditDelete

 

 

2009-01-14 07:01:51     Re: Qt application build

Nikolay Chokoev (IRELAND)

Message: 67940   

 

I'm trying to cross-build a Qt application which is in separate from the ucLinux folder. I'm running the qmake-wrapper, which makes Makefile. That's OK, but when I run 'make' on this folder I have a lot of errors, probably because of wrong environment variable values.

 

Usualy when I build Qt application 'qmake' and 'make' on the Qt application folder do the job, but in this cross-compile situation doesn't.

 

How to proceed? Is there any script ....or something to set the needed variables/environment for me?

 

...some variables I've set:

 

STAGEDIR=/usr/dlnx764/svn/uclinux-dist/staging

QTDIR=/usr/dlnx764/svn/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3

 

QuoteReplyEditDelete

 

 

2009-01-14 13:06:11     Re: Qt application build

Mike Frysinger (UNITED STATES)

Message: 67946   

 

cant really guess without seeing the actual build/errors

Attachments

    Outcomes