Yeah, it seems that MLocale is the way to go (QLocale also doesn't work). This is what I used:
MLocale* mLocale = new MLocale();
mLocale->formatDateTime(dateTime, MLocale::DateNone,...
Type: Posts; User: il_bale; Keyword(s):
Yeah, it seems that MLocale is the way to go (QLocale also doesn't work). This is what I used:
MLocale* mLocale = new MLocale();
mLocale->formatDateTime(dateTime, MLocale::DateNone,...
I did, but the result was the same.
I have a javascript Date object that I format with Qt.formatTime in my QML application like this:
Qt.formatTime(dateObject)
From the Qt documentation I was expecting this to be formatted...
The error reported here is reported by qsparql and occurs also if ShareUi is not invoked.
I have the same problem, and it seems to me that this error occurs when the item that is being inserted is already in the database. The insertion for me works the first time (but share UI is still...
OK finally found the solution from another thread. One has to select the Harmattan extras components in the simulator settings:...
I reinstalled Qt SDK 1.1.4 with Harmattan target from scratch, leaving out the Qt Quick components for Symbian. Now com.nokia.extras is not found at all. So it looks like the extras components are...
I do. In case it helps, this is the listing of Simulator/Qt/gcc/imports/com/nokia/extras.1.1:
~/QtSDK/Simulator/Qt/gcc/imports/com/nokia$ ls extras.1.1/
Constants.js qmldir ...
Also, if I remove the TimePickerDialog component instantiation, everything works fine.
Thanks for the reply. I forgot to mention that I'm developing for meego target if that wasn't clear.
I don't know why those SVG errors are there, but they are not related to my app - all I have is...
Is it possible to run in Qt simulator a QML application that uses extras components (com.nokia.extras)? for example if I instantiate a TimePickerDialog, I get the list of errors below when I execute...
Unfortunately not yet.
Thanks. I did that, but now the packaging of the library fails with this error message:
dh_makeshlibs: /usr/share/debhelper/autoscripts/postinst-makeshlibs does not exist
make: *** [binary-arch]...
Thanks, but if that was the case shouldn't the build fail at link time rather than package creation? As far as I can tell the library is installed in the sysroot and is found in the predefined paths.
Hello,
what is the correct way to package and deploy a library to N9 with Qt Creator? I have a project that produces a library and one that uses it, but when I compile the latter I get the...
Yes, it was only the signal, the actual property value is correct if one reads it again. Not a big deal really.
The same applies to voiceRingtoneVolume. Here the additional problem is that the volume is changed in the "general" profile, and since there is no actual profile change, no signal is received at all...
Hi,
it seems that the DeviceInfo QML element in the system info module (v 1.1) for Meego, doesn't signal changes in the vibrationActive property. I instantiate the following:
DeviceInfo {
...
Hello,
I'm writing an application for N9 that needs to play a sound saved as a .wav file, using QMediaPlayer. I thought I'd add the sound file to the application resources for easy packaging, but...
Thanks, that's more or less what I ended up doing (see my other reply above)
This is otherwise interesting, but I'm looking for a signal or event to notify the application when it becomes inactive. I couldn't find it in the link you sent.
OK, after some more investigation I came to a solution that works for me, I'm posting it here in case it helps anybody.
- To be notified when the application goes in and out from the task...
Thanks for the reply. This however doesn't seem to react to the screen being switched off and back on, is it possible in any way to be notified when that happens?
Hello,
In order to make my application behave well with respect to power management, I would like to suspend all background operations when the application goes to the task switcher and when the...
Never mind. I'm using a test date in year 1900 and time_t counts time starting from 1970...