Forum > QT
/usr/bin/ld: Qt4Intf: No such file: No such file or directory
blueprint:
Hello all!
Being totally new to Lazarus (and for that matter Delphi) I'm experiencing a bit of trouble. I've been trying to port an application to both Mac OS X and GNU/Linux. Porting to Mac was successful without much tweaking. The current problem has to do with me trying to use Qt for the Linux version (used Carbon for the Darwin version), but when reaching linking i get this in Messages: "/usr/bin/ld: Qt4Intf: No such file: No such file or directory". I followed this "http://wiki.lazarus.freepascal.org/Qt_Interface_Mac", installed the Mac intel binary mentioned in the Introduction, and finally added "-framework Qt4Intf -lobjc -framework Foundation" to "Pass Options to the Linker".
What am I doing wrong? :(
BTW. I'm running FPC 2.4.2 and Lazarus 0.9.30 on Mac OS X 10.5.8.
Kind regards
Blaazen:
If you want Qt+Linux then you don't need to follow wiki "Qt+Mac".
This one is for you: http://wiki.lazarus.freepascal.org/Qt_Interface#Quick_start_guide_for_Linux
And what distro do you have ? It should be some KDE4 based.
blueprint:
Hi Blaazen
Thank you for your reply.
Surely that can't be right? I'm doing the work in Mac OS X (no ldconfig ...)? I've been able to do ports to GNU/Linux from here before, but those projects didn't involve Qt. The target workstation is running Debian 6.0.1a.
Blaazen:
I am little confused. Why do you use word "port" ? Lazarus is write once - compile anywhere.
EDIT: I was hurry before. I wanted to say that if you have Lazarus compiled with carbon on Mac and you make some project there then the project should work on Linux where you have compiled Lazarus with Qt (or with GTK2).
blueprint:
--- Quote from: Blaazen on May 31, 2011, 05:37:05 pm ---I am little confused. Why do you use word "port" ? Lazarus is write once - compile anywhere.
EDIT: I was hurry before. I wanted to say that if you have Lazarus compiled with carbon on Mac and you make some project there then the project should work on Linux where you have compiled Lazarus with Qt (or with GTK2).
--- End quote ---
I think you're getting me wrong. I'm doing cross compiling on a Mac, specifying different targets (i386-linux, i386-win32 ...) and ending up having an executable for each platform. I've already compiled working versions of my project in both *.exe and *.app. Now, I'm left with building a GNU/Linux version?
Kind regards
Navigation
[0] Message Index
[#] Next page