![]() |
2010-06-03
, 22:13
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#2
|
The Following User Says Thank You to Venemo For This Useful Post: | ||
![]() |
2010-06-03
, 23:22
|
|
Posts: 59 |
Thanked: 42 times |
Joined on Nov 2009
@ Wageningen (NL)
|
#3
|
<snip/>
Basically, you must add all the libraries in question to INCLUDEPATH and LIBS in your project file. (Like this one.)
TARGET = qtpluginloader TEMPLATE = lib CONFIG += plugin SOURCES = hd-plugin-loader-qt.c HEADERS = hd-plugin-loader-qt.h QT += maemo5 INCLUDEPATH += /sysroots/fremantle-arm-sysroot-10.2010.19-1-slim\usr\include\libhildondesktop-1 INCLUDEPATH += /sysroots/fremantle-arm-sysroot-10.2010.19-1-slim\usr\include\glib-2.0 INCLUDEPATH += /sysroots/fremantle-arm-sysroot-10.2010.19-1-slim\usr\lib\glib-2.0\include INCLUDEPATH += /sysroots/fremantle-arm-sysroot-10.2010.19-1-slim\usr\include\gtk-2.0 INCLUDEPATH += /sysroots/fremantle-arm-sysroot-10.2010.19-1-slim\usr\lib\gtk-2.0\include INCLUDEPATH += /sysroots/fremantle-arm-sysroot-10.2010.19-1-slim\usr\include\cairo INCLUDEPATH += /sysroots/fremantle-arm-sysroot-10.2010.19-1-slim\usr\include\pango-1.0 INCLUDEPATH += /sysroots/fremantle-arm-sysroot-10.2010.19-1-slim\usr\include\atk-1.0 INCLUDEPATH += /sysroots/fremantle-arm-sysroot-10.2010.19-1-slim\usr\include\dbus-1.0 INCLUDEPATH += /sysroots/fremantle-arm-sysroot-10.2010.19-1-slim\usr\lib\dbus-1.0\include
The Following User Says Thank You to JapieB For This Useful Post: | ||
![]() |
2010-06-03
, 23:43
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#4
|
Using the qt-labs-maemo5-homescreen example and using the following qtpluginloader.pro the plugin builds!
[...]
After copying the libqtpluginloader.so to /usr/lib/hildon-desktop/loaders on my n900 the qt-homescreen-example works!
The Following User Says Thank You to Venemo For This Useful Post: | ||
![]() |
2010-06-04
, 03:02
|
|
Posts: 59 |
Thanked: 42 times |
Joined on Nov 2009
@ Wageningen (NL)
|
#5
|
CONFIG += link_pkgconfig PKGCONFIG += hildon-1 libhildondesktop-1
The Following User Says Thank You to JapieB For This Useful Post: | ||
![]() |
2010-06-04
, 08:57
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#6
|
It turns out that the qt4-homescreen-example didn't build out of the box in Madde (I use the Windows version) because the Madde file '/madbin/pkg-config.cmd' is wrong...
it contains
@env.exe PERL5LIB=/madlib/perl5 /madlib/pkg-config %*
but it should contain
@env.exe PERL5LIB=/madlib/perl5 /madbin/pkg-config %*
(the pkg-config program is installed in /madbin instead of /madlib)
After fixing this file, the example builds unchanged!
I downloaded the example (qt4-homescreen-example), but I cannot build the project using Madde 0.6.72. (first error: hd-plugin-loader-qt.c:42:47: error: libhildondesktop/libhildondesktop.h: No such file or directory)
Installing qt4-homescreen-loader from extras-testing doesn't seem to work on my PR1.2 N900.
EasyPark - Use your N900 to park without worries...
Please Test version 1.1-3 and Vote!