Sign in Join

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

Mailing lists / lazarus / 2014-03

Qt4

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Antonio Fortuny

Hi Fols.

Last week I started to test QT4 with FPC-Lazarun on a Linux x86_64 : Lazarus 1.0.12, FPC 2.6.2
Now I have to do some changes in an active project and, when compiling, I get the following linker errors:

/usr/bin/ld: warning: /home/sources/compiled/link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lQt4Pas

and these appear with all clean projects when recompiling them !! I din't found anything on options, compiler options. All application *.o and *.ppu have been deleted
Even when rebuildoing the IDE same errors appear.
Some suggestions on how to get rid of them before reinstalling ?

Thanks,

Antonio.

---
Ce courrier ?lectronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active. http://www.avast.com

Reply by email

Mattias Gaertner
to Antonio Fortuny
Show quoted text 10 lines
Hi Fols. Last week I started to test QT4 with FPC-Lazarun on a Linux x86_64 : Lazarus 1.0.12, FPC 2.6.2 Now I have to do some changes in an active project and, when compiling, I get the following linker errors: /usr/bin/ld: warning: /home/sources/compiled/link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lQt4Pas

You need to install qt4pas.

http://wiki.lazarus.freepascal.org/Qt4_binding#Download_Free_Pascal_Qt4_Binding

Mattias

Reply by email

Antonio Fortuny
to Mattias Gaertner

Le 10/03/2014 10:49, Mattias Gaertner a ?crit :

Show quoted text 16 lines
On Mon, 10 Mar 2014 10:23:01 +0100 Antonio Fortuny wrote: > Hi Fols. > > Last week I started to test QT4 with FPC-Lazarun on a Linux x86_64 : > Lazarus 1.0.12, FPC 2.6.2 > Now I have to do some changes in an active project and, when compiling, > I get the following linker errors: > > /usr/bin/ld: warning: /home/sources/compiled/link.res contains output > sections; did you forget -T? > /usr/bin/ld: cannot find -lQt4Pas You need to install qt4pas. http://wiki.lazarus.freepascal.org/Qt4_binding#Download_Free_Pascal_Qt4_Binding

Yes Mattias, thanks. That's why, almost certainly, my first test with Qt4 failed.
Anyway, I got finally rid of the linker error: unistall Qt4 from the system. Now all current projects and the IDE recompile without problems. Next time I will do it on a test virtual machine. It looks safer.

Antonio.

Show quoted text 8 lines
Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Sita Software *Antonio Fortuny* Senior Software engineer 220, avenue de la Libert? L-4602 Niederkorn Tel.: +352 58 00 93 - 93 www.sitasoftware.lu <http://www.sitasoftware.lu> Your IT Partner --- Ce courrier ?lectronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active. http://www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140310/7ab1d15b/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: igcgdege.jpg Type: image/jpeg Size: 2306 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140310/7ab1d15b/attachment.jpg> -------------- next part -------------- A non-text attachment was scrubbed... Name: jifigacc.jpg Type: image/jpeg Size: 921 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140310/7ab1d15b/attachment-0001.jpg>

Reply by email

Danny Weldon
to Antonio Fortuny

Isn't this something that fppkg should be able to resolve automatically? ie. automatically download and install dependencies?

Antonio Fortuny wrote 63 lines
Le 10/03/2014 10:49, Mattias Gaertner a ?crit : On Mon, 10 Mar 2014 10:23:01 +0100 Antonio Fortuny wrote: Hi Fols. Last week I started to test QT4 with FPC-Lazarun on a Linux x86_64 : Lazarus 1.0.12, FPC 2.6.2 Now I have to do some changes in an active project and, when compiling, I get the following linker errors: /usr/bin/ld: warning: /home/sources/compiled/link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lQt4Pas You need to install qt4pas. http://wiki.lazarus.freepascal.org/Qt4_binding#Download_Free_Pascal_Qt4_Binding Yes Mattias, thanks. That's why, almost certainly, my first test with Qt4 failed. Anyway, I got finally rid of the linker error: unistall Qt4 from the system. Now all current projects and the IDE recompile without problems. Next time I will do it on a test virtual machine. It looks safer. Antonio. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Antonio Fortuny Senior Software engineer 220, avenue de la Libert? L-4602 Niederkorn Tel.: +352 58 00 93 - 93 www.sitasoftware.lu ________________________________ Ce courrier ?lectronique ne contient aucun virus ou logiciel malveillant parce que la protection Antivirus avast! est active. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Regards Danny

Reply by email

Marco van de Voort
to Danny Weldon
Danny Weldon wrote
Isn't this something that fppkg should be able to resolve automatically? ie. automatically download and install dependencies?

qt4pas is wrapper C++ code and should be built with the same compiler as QT was. That makes it platform/distro dependent, and not easy to preprovide. (with fppkg or otherwise)

Reply by email