"DBus activation" can launch programs for you (when you set it up correctly, i.e. install a .service file). See
http://wiki.forum.nokia.com/index.php/Qt_application_for_Maemo_with_DBus_support...
Type: Posts; User: vivainio; Keyword(s):
"DBus activation" can launch programs for you (when you set it up correctly, i.e. install a .service file). See
http://wiki.forum.nokia.com/index.php/Qt_application_for_Maemo_with_DBus_support...
You need to create your QGraphicsScene and QGraphicsView on heap with "new". Now you just create them on stack and they are deleted when they go out of scope.
I believe QML is where you want to look for that. It's not exactly the same thing (completely new "canvas" instead of wrapping the existing QWidgets), but it can probably cover your needs.
Qt...
If you want to do this the "proper way", you can use
http://doc.qt.nokia.com/4.7/qnetworkaccessmanager.html#authenticationRequired
http://doc.qt.nokia.com/4.7/qauthenticator.html
You need to launch "python" executable in the debugger, then set breakpoint on do_something (e.g. with "rbreak do_something").
rbreak is a gdb command - you can execute gdb commands by enabling...
So you went to "projects" tab and tried to add remote compiler as a target in the floater? Or, don't you see remote compiler targets when starting a new project?
Yes, it should work fine at...
"load-applet" has this feature (both static screenshots and video supported). It does appear to be in a bit of a broken state currently.
For user-oriented questions like this, you'll probably want...
So you are using both system() and fork()? Perhaps popen() would be closer to what you want to do?
You are doing all of this in a very complex way. You should remake it instead of hacking it no work:
- Store the key to a QByteArray arr
- Make an algorithm to dig up byte N from arr. Think of...
Worse, in this particular case it doesn't belong anywhere:
key = pass.toAscii().data();
The QByteArray is destroyed after this statement is done, making 'key' point to garbage. If you want to...
Qt wraps the GConf mess in calls to QLocale (as shown in the posted example), so the user can do things "normally".
(You can check the details from qlocale_maemo5.cpp, function maemo5_is24h()).
Are you sure you need this information?
Normal application will just want to display a date in currently selected format (as done in the pointed example). It should never bother about these small...
What you probably want to do is to follow the example "examples/maemo5/datetime" in Qt package:
...
Please submit a self-contained example that compiles and I'll take a stab at debugging it.
To proceed with troubleshooting - were you running the command line program as root by any chance? Or did you "su - user" before running it?
What you probably missed in the wiki: this issue is fixed in 4.6 (out Real Soon Now), so you can remove that hack.
Did you have a.exec() too, so that you'll have the mainloop?
Just grab (and slightly modify) the debian/ directory from some Qt example project, e.g. one you get by running
mad pscreate -t qt_simple qthello
Perhaps you'd like to try this out:
http://blogs.forum.nokia.com/blog/kate-alholas-forum-nokia-blog/2010/02/14/easy-to-use-sms-and-messaging-api-to-maemo-5
(it's using Telepathy).
It's needed (at least) if you happen to be running as root (e.g. in ssh session, if you won't do "su - user" for one reason or another).
You can check whether it's needed by looking at the output...
Did you start your app with "run-standalone.sh CameraDepthOfField"? If not, try it out.
Yeah, the key here is that you include notify.h before Qt gets a chance to '#define signals'.
Ah, the problem is "signals" macro definition by Qt.
Try doing '#undef signals' before including notify.h
This is off topic for "Qt for Maemo" mailing list.
That being said, you may be looking for your usual rss feed reader...
Please use pkgconfig as instructed by Daniil:
CONFIG += link_pkgconfig
PKGCONFIG += libnotify
Even if you got your your .pro file (where you explicitly specify everything) to work, it...