Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2010-11

Free Pascal Qt4 binding not working with QT 4.7.0

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Wagner Okuda Campaneli

Hi everyone,
I've downloaded the binding's library source (V2.1, Qt 4.5.X, compatible with Qt 4.6.X) expecting that it would work with Qt 4.7, but when I tried to compile it, some problems appeared.
When I used the qmake, this message showed up:
"This Pascal binding should be used for 4.5.3 and current Qt is 4.7.0" It didn"t concern me so much, 'cause the makefile was created. But when I tried to *make *it, it said that the QtCore was not found. Does anyone know what the problem could be?
Any help would be appreciated.

Thanks
Wagner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20101116/5460a8bc/attachment.html>

Reply by email

Wagner Okuda Campaneli
to Wagner Okuda Campaneli

Here's the console output I forgot:

wagner at wagner-Virtual-Machine:~/Desktop/qt4pas-V2.1_Qt4.5.3$ qmake Project MESSAGE: This pascal binding should be used for 4.5.3 and current Qt is 4.7.0
Project MESSAGE: Pascal Qt Interface for binding platform: BINUX Project MESSAGE: Install location: /usr/lib
wagner at wagner-Virtual-Machine:~/Desktop/qt4pas-V2.1_Qt4.5.3$ make g++ -c -pipe -O2 -w -D_REENTRANT -fPIC -DBINUX -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -Itmp -o tmp/qt4pas.o src/qt4pas.cpp
In file included from src/qt4pas.cpp:14:
src/pascalbind.h:16: fatal error: QtCore: File or directory not found compilation terminated.
make: ** [tmp/qt4pas.o] Erro 1

My gcc version is 4.4.5
Thanks again

2010/11/16 Wagner Okuda Campaneli

Show quoted text 14 lines
Hi everyone, I've downloaded the binding's library source (V2.1, Qt 4.5.X, compatible with Qt 4.6.X) expecting that it would work with Qt 4.7, but when I tried to compile it, some problems appeared. When I used the qmake, this message showed up: "This Pascal binding should be used for 4.5.3 and current Qt is 4.7.0" It didn"t concern me so much, 'cause the makefile was created. But when I tried to *make *it, it said that the QtCore was not found. Does anyone know what the problem could be? Any help would be appreciated. Thanks Wagner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20101116/04a7c0cf/attachment.html>

Reply by email

Wagner Okuda Campaneli
to Wagner Okuda Campaneli

Well guys, I just solved the problem. Apparently there were some symlinks missing (libQt4core.so included). I tried to create it manually but it wasn't working, probably 'cause I was forgetting some of them. So I decided to download the libQt4-Dev (with Synaptic) and it worked.

2010/11/16 Wagner Okuda Campaneli

Show quoted text 41 lines
Here's the console output I forgot: wagner at wagner-Virtual-Machine:~/Desktop/qt4pas-V2.1_Qt4.5.3$ qmake Project MESSAGE: This pascal binding should be used for 4.5.3 and current Qt is 4.7.0 Project MESSAGE: Pascal Qt Interface for binding platform: BINUX Project MESSAGE: Install location: /usr/lib wagner at wagner-Virtual-Machine:~/Desktop/qt4pas-V2.1_Qt4.5.3$ make g++ -c -pipe -O2 -w -D_REENTRANT -fPIC -DBINUX -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -Itmp -o tmp/qt4pas.o src/qt4pas.cpp In file included from src/qt4pas.cpp:14: src/pascalbind.h:16: fatal error: QtCore: File or directory not found compilation terminated. make: ** [tmp/qt4pas.o] Erro 1 My gcc version is 4.4.5 Thanks again 2010/11/16 Wagner Okuda Campaneli Hi everyone, > I've downloaded the binding's library source (V2.1, Qt 4.5.X, compatible > with Qt 4.6.X) expecting that it would work with Qt 4.7, but when I tried to > compile it, some problems appeared. > When I used the qmake, this message showed up: > "This Pascal binding should be used for 4.5.3 and current Qt is 4.7.0" > It didn"t concern me so much, 'cause the makefile was created. But when I > tried to *make *it, it said that the QtCore was not found. > Does anyone know what the problem could be? > Any help would be appreciated. > > Thanks > Wagner >

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20101116/03340e66/attachment.html>

Reply by email