lukiluuk: If you know you are getting Utf8 then you can use QString::fromUtf8(). There is also some conversion routine for ASCII and Latin1 (both of which are straight forward to turn into unicode and thus do not need the full TextCodec treatment:-).
Thanks for the reply - I will test it and come back with more concrete questions. In fact I did not tried the Symbian Simulator in Qt Creator. From some reason (stupidity;) I thought it is for pure Qt applicaitions only, but if I can mix Qt and Symbian C++ I will probably prefer it over Carbide.C++. From the same reason I also thought that Qt Creator cannot mix Qt and Symbian C++...
On the other side Carbide.C++ is not a bad tool and it is always good to have options to choose especially if you are already familiar with the IDE and its tricks.
Might be having some info page about both IDEs on this web pages describing migration from Symbian to Qt and various possibilities/advantages/drawbacks is not a bad idea...
That's by a group called 'ofi labs' that have a mind-dazzling amout of qtwebkit / browser stuff.
Here's their git: http://gitorious.org/ofi-labs/x2
I know that. I just like to keep as close to the intended semantics as possible, because that quite often improves maintainability a lot. But hey, I'm happy I got it working, and maybe one day I'll find a proper solution :) Thanks for the help!
I had not realised that they were known to be broken, it would be nice if QT said that in their documentation - I guess it is not their time that gets wasted!
I will have a look at encapsulating some MS API code into a QT class. All I need to do is play single MP3 files, how hard can it be!!! - I will have to run the code on CE to test it anyway so I guess it is not as bad as it first seems.
Thanks for taking the time to reply - wish me luck!
If anyone else has written code for Windows to play MP3 files, using native API calls, please feel free to give me some pointers - I know it is off topic, but given the API is broken, it does not seem an unreasonable request.
It doesn’t find some Glib specific stuff. It means that -lglib doesn’t match. Either you don’t have library in correct place, or more likely, you’ve done something wrong, trying different way of building first and didn’t clean up or something like that. Anyway, need more info.
Yeah, that should be doable :) Morten wrote a plugin for Google Native client some time ago and it worked pretty well. See the EGLFs plugin to see how to implement a single context single surface lighthouse plugin. This plugin does no compositing, so all windows will be full screen. It could be possible to add some compositing step like the linuxfb (fb_base.h) plugin does.
I hang out in the #qt-lighthouse channel on freenode. Please drop by with questions/bugs.
As always, there is no one proper way of doing things and it always depends. E.g. on the number of developers. In small teams it may be even not possible mange the translation overhead.
Fortunately we're in the 2010's and it is no big problem with non-ASCII source code any more :-) We happily converted all of our sources to UTF-8 some two years ago, no problems so far, using the sources on Windows, Mac and Linux.
The orientation sensor will give you the physical orientation of the device. Depending on the device you may want to take other sensors into consideration. For example the auto-rotation on the n900 is disabled when the keyboard is open.
I can't wait to experiment with it. I have used the dbus signals on the n900 to detect the device changing orientation but this would be The Qt way.
Thanks. I actually can see that header file in the said folder. Previously I searched within the windows explorer. any ways
And I didn't do any thing else than winding up and shutdown the laptop in office and turned it back on when I am home. And strange that the error I mentioned above is no more...
Now I got the error what you have mentioned which I managed to fix with some code change at that line
I changed the line 520 (where the error you mentioned is) with the following.
[code]qulonglong timestamp = (qulonglong) info.timestamp().toTime_t() * 1000 + info.timestamp().time().msec();[/code]
I think the code was older and has dateTime method has been deprecated.
Any ways now there comes another error as follows
[quote]:: error: No rule to make target \NokiaQtSDK\Symbian\SDK\epoc32\release\armv5\LIB\SensrvClient.dso', needed by\NokiaQtSDK\Symbian\SDK\epoc32\release\gcce\udeb\sensoreval.exe'. Stop.[/quote]
hm, well. I'm using OpenEmbedded for building angstrom distribution for my device. It built well, also with qy-embedded. But qt-embedded has more newer version than qt-extended, so qt-extended dont wanna compile with it.
There is another way of building qtopia - to build it by self. But I dont know, how I can do it.
If someone experianced in qtopia or writing recipes in OpenEmbedded... So can anyone help me?
You must encode, at least, the URL parameter (second string above).
Try removing the "http://" from the second string and see if still crashes.