Recent

Author Topic: Dynamically load Qt ?  (Read 12849 times)

zeljko

  • Hero Member
  • *****
  • Posts: 1057
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Dynamically load Qt ?
« Reply #15 on: June 14, 2013, 08:14:30 am »
@ Blaazen : many thanks ( but i have already do it  :-X ).

With libQt4pas.o 32 bits in /lib/i386-linux-gnu i get that message :

Quote
/usr/lib/codetyphon/fpc/bin/x86_64-linux/i386-linux-ld: warning: link.res contains output sections; did you forget -T?
/usr/lib/codetyphon/fpc/bin/x86_64-linux/i386-linux-ld: warning: libGL.so.1, needed by /usr/lib/i386-linux-gnu//libQtWebKit.so.4, not found
....
...
 Error: Error while linking
 There were 1 errors compiling module, stopping

PS : Cross-compiling with GTK2 widgetset : no problem, compile ok and running 32 bit app ok as well.  :-[

1st error message says all: You need libQtOpenGL library. libQtWebKit won't link because of that (looks like a ld/packager dependencies problem, because usually libQtOpenGL does not need to be installed).


Dibo

  • Hero Member
  • *****
  • Posts: 1045
Re: Dynamically load Qt ?
« Reply #16 on: June 14, 2013, 11:03:13 am »
BTW: Anyone know what is a road map of Qt4Pas?

I'm wondering if it is possible to use Qt4Pas to write complex QT application (without LCL). Can Qt4Pas be compared to e.g. python Qt wrapper? It would be nice to use Lazarus and Qt4Pas as replacement of Qt Creator to write native QT applications (like FPC JVM for native android apps). Visual designer could be added in future. I wrote one project in QT Creator, QT widgets are just amazing. FPC + Qt widgets = awesome :D

Main feature for Qt4Pas is that it should be splitted for Qt modules. For example, now simple "hello world" require all QT modules (like webkit, network etc)

zeljko

  • Hero Member
  • *****
  • Posts: 1057
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Dynamically load Qt ?
« Reply #17 on: June 14, 2013, 12:30:21 pm »
BTW: Anyone know what is a road map of Qt4Pas?

I'm wondering if it is possible to use Qt4Pas to write complex QT application (without LCL). Can Qt4Pas be compared to e.g. python Qt wrapper? It would be nice to use Lazarus and Qt4Pas as replacement of Qt Creator to write native QT applications (like FPC JVM for native android apps). Visual designer could be added in future. I wrote one project in QT Creator, QT widgets are just amazing. FPC + Qt widgets = awesome :D

Main feature for Qt4Pas is that it should be splitted for Qt modules. For example, now simple "hello world" require all QT modules (like webkit, network etc)

Fell free to create patches and modularized qt C bindings.