[Qt] How to compile qt bindings

Johan Kotze jkotze at novell.com
Thu Dec 1 14:04:50 CET 2011


Ah, the missing piece of the puzzle. It is building now.  

Thank you.

>>> On 12/01/2011 at 14:57, in message <201112011357.24682.Den.Jean at telenet.be>, Den Jean <Den.Jean at telenet.be> wrote:


On Thursday 01 December 2011 11:17:17 Johan Kotze wrote: 
> I have downloaded the source and ran qmake - query in the /src directory. 
> That produced the following: 


When you unpack qt4pas-V2.4_Qt4.5.3.tar.gz you get 
a directory qt4pas-V2.4_Qt4.5.3. The instructions say 


* Download and unpack the sources 
* cd into the soures directory 
* run qmake -query to inspect your Qt installation 
* qmake (creates Makefile) 


The sources dir is qt4pas-V2.4_Qt4.5.3 and not qt4pas-V2.4_Qt4.5.3/src 


The qmake program of Qt4 looks for a file *.pro (Project file). 
Here is the contents of qt4pas-V2.4_Qt4.5.3 


$ls 
COPYING.TXT Makefile qt4.pas Qt4Pas.pro README.TXT src/ tmp/ 


Just run qmake there (and then make ...) 


The instruction were not meant to be terse, it is funny how 
things can be unexpectedly misleading (sources dir vs. src/). 


regards, 


Den Jean 







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/qt/attachments/20111201/fc1724fe/attachment-0002.html>


More information about the Qt mailing list