maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Technology Preview: MADDE (https://talk.maemo.org/showthread.php?t=38075)

lamle 2010-04-25 13:30

Re: Technology Preview: MADDE
 
When I compile the application using madde, it cries about some error like this: IncludeChildElements is not a member of QXmlStreamReader, In my app, i use QXmlStreamReader::IncludeChildElements. I think this problem is because of old QT library, how to update it????

arne.anka 2010-04-25 18:10

Re: Technology Preview: MADDE
 
afaiu, qt4.6 is part of pr1.2 -- since pr1.2's release date is unbeknownst to man, you should try to workaround that and try another approach, that works with the older qt.

Venemo 2010-04-26 00:10

Re: Technology Preview: MADDE
 
QDomDocument is working fine for me with Qt 4.5 as well. Perhaps you could try that.

danielwilms 2010-04-26 07:34

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by lamle (Post 626985)
When I compile the application using madde, it cries about some error like this: IncludeChildElements is not a member of QXmlStreamReader, In my app, i use QXmlStreamReader::IncludeChildElements. I think this problem is because of old QT library, how to update it????

arne.anka is right, and this happens, because MADDE uses still 4.5 and not 4.6 yet as it is part of PR 1.2 and not of earlier releases. The point is, that if you would have already Qt 4.6 in MADDE, you would not be able to run the compiled code on your device.

In your case you don't have to use the constant value in Qt4.5, as this is the standard behaviour of the readElementText () function there.


Daniel

rontti 2010-04-26 09:54

Re: Technology Preview: MADDE
 
If you wanna play with madde source code see:

http://talk.maemo.org/showthread.php...071#post628071

rontti 2010-04-28 07:27

Re: Technology Preview: MADDE
 
Now you can have QT Creator and MADDE from one installation package
for Linux and Windows.

http://www.forum.nokia.com/Tools_Doc.../Nokia_Qt_SDK/

too 2010-04-28 09:43

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by rontti (Post 631039)
Now you can have QT Creator and MADDE from one installation package
for Linux and Windows.

http://www.forum.nokia.com/Tools_Doc.../Nokia_Qt_SDK/

After installing this, do

Code:

cd ~/NokiaQtSDK/Maemo/4.6.2
./bin/mad query all
ls -l cache


xando 2010-05-16 17:31

Re: Technology Preview: MADDE
 
Hi maybe it bit lame question, but.

My application depends on libqjson-dev. When I was using scrachbox to build(compile) it, I'd simple use apt-get tool to install it.

What I should do acquire the same effect using MADDE? I'm missing something?

gri 2010-05-16 17:34

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by xando (Post 661097)
Hi maybe it bit lame question, but.

My application depends on libqjson-dev. When I was using scrachbox to build(compile) it, I'd simple use apt-get tool to install it.

What I should do acquire the same effect using MADDE? I'm missing something?

I don't think there's currently an option for that :(

You could download the armel package from the repository and extract it by hand into the MADDE directories.

mwerle 2010-05-16 21:02

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by gri (Post 661101)
I don't think there's currently an option for that :(

You could download the armel package from the repository and extract it by hand into the MADDE directories.

This is what I did for the Nokia QT SDK (which contains MADDE). Works fine, but I raised a question as to whether there is a better (ie, official) way to do it with no replies so far.

See: http://talk.maemo.org/showthread.php?t=52761

Cheers,
- Micha.


All times are GMT. The time now is 11:43.

vBulletin® Version 3.8.8