Hi,
Good to hear that is worked.

Yes, 1.0 and 1.1 can/should work side-by-side but you can only import one at a 
time of course. 
One thing though, currently if you build the 1.1-symbian branch and then the 
master branch, it will overwrite the com.nokia.symbian 1.1 imports with the 
master contents.

Do you have a business reason to us 1.0? Personally I will only use 1.1 or 
newer. 

Sorry can't say anything about Meego.

- Louis

-----Original Message-----
From: ext Harri Pasanen [mailto:ha...@mpaja.com] 
Sent: 8. marraskuuta 2011 9:34
To: Botha Louis.H (EXT-Digia/Tampere)
Cc: qt-components@qt.nokia.com
Subject: Re: [Qt-components] Compiling com.nokia.symbian on Linux

Thanks, your advice helped.

I collapsed it all to one line that does the trick:

QTDIR=~/qt474debug PATH=~/qt474debug/bin:$PATH ./configure -symbian && make && 
make install


Do you know if

com.nokia.symbian 1.1

and

com.nokia.symbian 1.0

can be installed side by side?  So that I would do

git checkout 1.0-symbian  + the above config and install, followed by
git checkout 1.1-symbian  + the above config and install


How about meego branches, can those be side by side?



/Harri



On 11/08/2011 07:36 AM, ext-louis.h.bo...@nokia.com wrote:
> Hi Harri
>
> I have succeeded building Qt Components for Symbian. I have not built Qt 
> 4.7.4 myself, I use the one coming with the QtSDK.
>
> I use the following to steps to build Qt Components:
> 1. Set the Qt that you want to use (I am using the QtSDK desktop Qt here)
> $ export QTDIR=~/QtSDK/Desktop/Qt/474/gcc/
>
> 2. Set the path
> $ export PATH=~/QtSDK/Desktop/Qt/474/gcc/bin/:$PATH
>
> 3. Build and install the Qt Components
> $ ./configure -symbian
> $ make
> $ make install
>
> 4. Run one of the test apps
> $  ./examples/symbian/gallery/qmlgallery
>
> If the gallery with an example with all the components pops up then the build 
> and install succeeded.
>
> If you build the master branch of Qt Components then your import should be 
> "import com.nokia.symbian 1.1"
> Remember to add the target you used above to your manual Qt4 targets in the 
> QtSDK and that it is the one selected for building.
>
> Hope this helps
> Louis
>
>
> -----Original Message-----
> From: qt-components-bounces+ext-louis.h.botha=nokia....@qt.nokia.com 
> [mailto:qt-components-bounces+ext-louis.h.botha=nokia....@qt.nokia.com] On 
> Behalf Of ext Harri Pasanen
> Sent: 7. marraskuuta 2011 22:23
> To: qt-components@qt.nokia.com
> Subject: Re: [Qt-components] Compiling com.nokia.symbian on Linux
>
> I also noticed that while 'configure' accepts -prefix, it does not affect 
> install.
>
> "make install" tries to install to /usr/lib/qt4/import ignoring the -prefix.
>
> How is one supposed to compile both Qt and qt-components so that they make a 
> coherent whole and run together?
>
> /Harri
>
> On 11/07/2011 09:05 PM, Harri Pasanen wrote:
>> Hi,
>>
>> I compiled my own Qt 4.7.4 on linux (kubuntu 11.04 amd64) with
>> debugging enabled, as I wanted to trace what is going on under the hood.
>>
>> I'm targeting mainly Symbian and Meego, but I'm happy to test on desktop.
>>
>> Trying to run my QML test app, it coughed up a message:
>>
>> module "com.nokia.symbian" is not installed
>>
>>
>>
>> After some googling I did
>>
>> git clone git://gitorious.org/qt-components/qt-components.git
>> cd qt-components
>> /configure -prefix ~/qt474debug/ -symbian make
>>
>> But the compilation fails with message:
>>
>> plugin.cpp: In function 'void tryToDisableSystemRotation(const
>> QDeclarativeEngine*)':
>> plugin.cpp:89:35: error: 'WA_SymbianNoSystemRotation' is not a member
>> of 'Qt'
>>
>> As the Qt SDK versions run fine with import com.nokia.symbian, I
>> fanthom there is a way to make it compile on Linux, but ./configure -h
>> did not point the way.
>>
>> So I joined this mailing searching the light.
>>
>> Any hints?
>>
>> Thanks,
>>
>> Harri
> _______________________________________________
> Qt-components mailing list
> Qt-components@qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-components

_______________________________________________
Qt-components mailing list
Qt-components@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-components

Reply via email to