<html>
<head>
<style type="text/css">
<!--
p { white-space: pre-wrap }
li { white-space: pre-wrap }
-->
</style>
</head>
<body style="line-height: normal; margin-right: 4px; font-size: 10pt; font-weight: 400; margin-left: 4px; font-family: Liberation Sans; font-style: normal; margin-bottom: 1px; margin-top: 4px; font-variant: normal" content="text/html; charset=ISO-8859-15" http-equiv="Content-Type">
<p style="margin-bottom: 0; margin-top: 0">
<font size="2" face="Dialog">Zeljko</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="2" face="Dialog">It seems to be an openSuSE issue then. I don't have qmake-qt4, just qmake 2.1. It does not seem to work. I'll ask on the openSuSE forums.</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="2" face="Dialog">Thanx for you help.</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="2" face="Dialog">Johan</font><br><br>>>> On 12/01/2011 at 14:14, in message <201112011314.32633.zeljko@holobit.net>, zeljko <zeljko@holobit.net> wrote:<br> </p>
<table border="0" style="margin-top: 0; margin-right: 0; margin-left: 15px; font-size: 1em; margin-bottom: 0" bgcolor="#f3f3f3">
<tr>
<td>
<div style="padding-left: 7px; border-left: solid 1px #050505">
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
On Thursday 01 of December 2011 12:37:08 Johan Kotze wrote: </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> Zeljko </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> There are some really terse instructions in the README.txt file that is </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> included in the source, but as I said in my original post, the </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> instructions do not work. Below is the instructions: </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
<br>
</p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
Have you installed qt-devel packages ? </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
<br>
</p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
I've just tried to make exactly as it is in README.txt and it works (Fedora 14 32bit and Fedora 16 64bit). you need qt-devel and qtwebkit-devel (or whatever name it is under suse) ... package which contains header files of qt (usually installed in /usr/include). </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
This is how I've installed those 2 packages on FC16 64bit (which automagically installed also it's dependencies). </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
yum install qt-devel.x86_64 qtwebkit-devel.x86_64 </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
<br>
</p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
Also, one note: Fedora 16 distributes qt-4.8 , not stable qt-4.7.4, but it works fine. </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
<br>
</p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
<br>
</p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
[linda@houston qt4pas-V2.4_Qt4.5.3]$ qmake-qt4 -query </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QT_INSTALL_PREFIX:/usr/lib/qt4 </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QT_INSTALL_DATA:/usr/lib/qt4 </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QT_INSTALL_DOCS:/usr/share/doc/qt4 </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QT_INSTALL_HEADERS:/usr/include </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QT_INSTALL_LIBS:/usr/lib </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QT_INSTALL_BINS:/usr/lib/qt4/bin </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QT_INSTALL_PLUGINS:/usr/lib/qt4/plugins </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QT_INSTALL_IMPORTS:/usr/lib/qt4/imports </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QT_INSTALL_TRANSLATIONS:/usr/share/qt4/translations </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QT_INSTALL_CONFIGURATION:/etc </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QT_INSTALL_EXAMPLES:/usr/lib/qt4/examples </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QT_INSTALL_DEMOS:/usr/lib/qt4/demos </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QMAKE_MKSPECS:/usr/lib/qt4/mkspecs </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QMAKE_VERSION:2.01a </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
QT_VERSION:4.7.4 </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
[linda@houston qt4pas-V2.4_Qt4.5.3]$ qmake-qt4 </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
Project MESSAGE: Added -mstackrealign to CXXFLAGS in support of SSE on arch: i686 </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
Project MESSAGE: Note: This binding version was generated for Qt 4.5.3. Current Qt is 4.7.4 </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
Project MESSAGE: Qt documents binary compatibility in each Version Change Note: http://qt.nokia.com/developer/changes </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
Project MESSAGE: Pascal Qt Interface for binding platform: BINUX </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
Project MESSAGE: Install location: /usr/lib </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
[linda@houston qt4pas-V2.4_Qt4.5.3]$ make </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
g++ -c -pipe -mstackrealign -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -w -D_REENTRANT -fPIC -DBINUX -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtWebKit -I/usr/include -Itmp -o tmp/qt4pas.o src/qt4pas.cpp </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
/usr/lib/qt4/bin/moc -DBINUX -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtWebKit -I/usr/include -Itmp src/qobject_hook.h -o tmp/moc_qobject_hook.cpp </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
g++ -c -pipe -mstackrealign -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -w -D_REENTRANT -fPIC -DBINUX -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtWebKit -I/usr/include -Itmp -o tmp/moc_qobject_hook.o tmp/moc_qobject_hook.cpp </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
.....etc etc ... bindings builded fine. </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
<br>
</p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> Compile Pascal Qt Interface from source: </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> ======================================== </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> * Download and unpack the sources </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> * cd into the soures directory </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> * run qmake -query to inspect your Qt installation </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> * qmake (creates Makefile) </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> * make (compiles) </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> * make install (obtain super user rights with sudo or su) </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> * make clean (cleans directory, do this when switching Qt versions) </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> I am stuck at the qmake (creates Makefile) part as qmake does not do </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> anything. It just displays the usage screen. I assume you need to give it </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> some kind of parameters, but I don't know what. </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> Johan </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> >>> On 12/01/2011 at 13:28, in message <201112011228.42089.zeljko@holobit.net>, zeljko <zeljko@holobit.net> wrote: </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> On Thursday 01 of December 2011 12:02:38 Johan Kotze wrote: </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> > Zeljko </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> > </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> > I have downloaded the binaries from Den's page and tried both v2.4 and </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> > v2.1 and both crash with the same error. So I am hoping that a locally </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> > compiled version will fix the issue. I am running QT 4.7. I am looking </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> > for more </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> Yes, that's probably true, but keep in mind that your gcc version is </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> important too. </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> > detailed instructions on how to build the library. </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> Afaik detailed instructions are in .txt file when you decompress source of </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> bindings. You need source of qt libs (maybe qt-devel is sufficient but I'm </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> not sure). </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> zeljko </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
<br>
</p>
</div>
</td>
</tr>
</table>
</body>
</html>