[maemo-developers] QtCreator, libraries, and multiple platforms

From: David Talmage talmage at acm.org
Date: Wed Aug 3 22:03:11 EEST 2011
I need help making QtCreator build an application and a library for Maemo, 
Symbian (using the remote compiler), and the simulator.  I've been all over 
the documentation, the forum on Qt Developer Network, and Google.  I can't find 
an example that does what I need.

I have a library (lib) and an application (app). Each one is a QtCreator 
project.  I can build them individually but I can't link app with liblib.so.  
Whatever I use has to work with maemo.org's autobuilder and Nokia's remote 
compiler for Symbian.

As a first pass, it would help if there is an environment variable I can 
reference in app.pro like $$OUT_PWD that contains the name of the build 
directory for lib.  Then linking might work.  I can hack something together 
with qmake's replace(), like replace($$OUT_PWD, app, lib) and that might work 
as long as app/ and lib/ were in the same directory.  I don't know how well it 
would port or whether it would continue to work when I install app and 
liblib.so on the phones.

Dave
More information about the maemo-developers mailing list