[Qt] How to compile qt bindings

Johan Kotze jkotze at novell.com
Thu Dec 1 12:37:08 CET 2011


Zeljko 

There are some really terse instructions in the README.txt file that is included in the source, but as I said in my original post, the instructions do not work.  Below is the instructions: 

Compile Pascal Qt Interface from source: 
======================================== 
 * Download and unpack the sources 
 * cd into the soures directory 
 * run qmake -query to inspect your Qt installation 
 * qmake (creates Makefile) 
 * make (compiles) 
 * make install (obtain super user rights with sudo or su) 
 * make clean (cleans directory, do this when switching Qt versions) 

I am stuck at the qmake (creates Makefile) part as qmake does not do anything. It just displays the usage screen. I assume you need to give it some kind of parameters, but I don't know what. 

Johan

>>> On 12/01/2011 at 13:28, in message <201112011228.42089.zeljko at holobit.net>, zeljko <zeljko at holobit.net> wrote:


On Thursday 01 of December 2011 12:02:38 Johan Kotze wrote: 
> Zeljko 
> 
> I have downloaded the binaries from Den's page and tried both v2.4 and v2.1 
> and both crash with the same error. So I am hoping that a locally compiled 
> version will fix the issue. I am running QT 4.7. I am looking for more 


Yes, that's probably true, but keep in mind that your gcc version is important too. 


> detailed instructions on how to build the library. 


Afaik detailed instructions are in .txt file when you decompress source of bindings. You need source of qt libs (maybe qt-devel is sufficient but I'm not sure). 


zeljko 





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


More information about the Qt mailing list