Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.2k Topics 62.7k Posts
  • Get screen orientation before any form created

    5
    0 Votes
    5 Posts
    4k Views
    F
    Just thinking out loud: 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.
  • Header file missing with error "e32math.h: No such directory"

    4
    0 Votes
    4 Posts
    3k Views
    K
    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] Any clue?
  • Qt 4.6.4: QNetworkAccessManager cannot close the connection

    3
    0 Votes
    3 Posts
    6k Views
    ?
    hi, did you confirm that the handleFinished() slot was called ... there if you call the close() on m_reply, that should free the resources
  • Wanting something strange

    3
    0 Votes
    3 Posts
    2k Views
    I
    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?
  • How to create and deploy a mobile app for Symbian (N8) and Maemo (N900)

    7
    0 Votes
    7 Posts
    4k Views
    M
    Good stuff! Thanks! :) I'll download the 2.1 beta when I get some time and give it a whirl.
  • How to Share links on Facebook through QT?

    5
    0 Votes
    5 Posts
    5k Views
    F
    [quote author="syedasadalibs03" date="1290753813"] QString urlString ="http://www.facebook.com/sharer.php?u=" + "http://www.google.com" + &t= + " SearchEngine" ; ui->webView->setUrl(QUrl(urlString) ) ; [/quote] The javascript shouldn't crash but neither should you use this string. You must encode, at least, the URL parameter (second string above). Try removing the "http://" from the second string and see if still crashes.
  • Session dbus from root

    6
    0 Votes
    6 Posts
    6k Views
    C
    Hi Kim, I'm glad you managed to find a solution to the problem! Cheers, Chris.
  • N900 and QGraphicsView, screen turns off..

    5
    0 Votes
    5 Posts
    4k Views
    F
    I still have to try myself but this is the link I mentioned before: "http://maemo.org/community/maemo-developers/keeping_backlight_on/":http://maemo.org/community/maemo-developers/keeping_backlight_on/
  • How to map a local (PC-HDD) folder to QT simulator

    5
    0 Votes
    5 Posts
    3k Views
    E
    Ohhh, how stupid I am!!! :-( thanks a lot, eugen
  • [Qt Message] exception on 3 [will close the socket handle - hack]

    8
    0 Votes
    8 Posts
    6k Views
    H
    I don't really understand the root cause with the link you give. Thanks very much. I hope the exception will be solved by next Qt version.
  • Problem using qtSoap

    3
    0 Votes
    3 Posts
    7k Views
    D
    I would recommend trying KDSoap, which we (KDAB) just released it. See http://www.kdab.com/products/kd-soap for more details. It does include a code generator in order to generate a C++ class from a WSDL file, and is a much more complete solution than Qt Soap: support for sync and async calls, support for RPC and document types of communication, etc. KDSoap is available under the GPL license from ftp://ftp.kdab.com/pub/kdsoap (for opensource applications and for evaluation purposes), and under a commercial license from http://www.kdab.com/products/license-prices
  • QT on windows Mobile 6.5

    4
    0 Votes
    4 Posts
    4k Views
    F
    Just develop it from scratch.
  • Development for Symbian^3 on Linux

    11
    0 Votes
    11 Posts
    6k Views
    B
    [quote author="teukkam" date="1290419378"]there are dependencies to precompiled Windows libraries that are closed-source only.[/quote] What do you mean: "precompiled Windows libraries"? Is it Windows system libraries from Microsoft or Nokia closed-source libraries? In other words: is it possible even theoretically to port this code to Linux by community efforts? Or it may be done only by Nokia because of closed-source modules?
  • QML and Nokia Qt SDK

    3
    0 Votes
    3 Posts
    4k Views
    K
    There is an Auto Detected path Qt in Path which is not found by the creator. However, the options doesn't allow me to modify it. I tried adding a new manual path pointing to Qt SDK but still the project doesn't show any option to set it.
  • Adding audio encoder codec support for Qt Mobility's gstreamer plugin

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • How to change audio output device in qmediaplayer

    3
    0 Votes
    3 Posts
    7k Views
    S
    Ok, as far as I can see, the QAudioEndpointSelector class is used for this and the plugins (directshow, gstreamer, symbian) have to inherit this class and implement the features for the underlying audio system. But unfortunately only in symbian and directshow (see ../qt-mobility-opensource-src-1.1.0/plugins/multimedia/...) exists the classes S60MediaPlayerAudioEndpointSelector and respectively DirectShowAudioEndpointControl but not for gstreamer. So the question is now (are there the some of the writers here?): will it be implemented for gstreamer so I can use this under linux and when? kind regards!
  • Qt on the Caanoo

    4
    0 Votes
    4 Posts
    3k Views
    B
    Seems that SDK is available at http://dl.openhandhelds.org/cgi-bin/caanoo.cgi?0,0,0,0,17,477 (from your link). So, the task is to install SDK and try to compile Qt :) Please, drop here some message about results. Good Luck!
  • Qt startup error "maybe missing resource file on S60 3.1" on s60 3rd fp1

    3
    0 Votes
    3 Posts
    3k Views
    H
    Thanks for your reply. I create a new project and copy the code to my new project,the problem solved...
  • Need help youtube APIs with qt

    7
    0 Votes
    7 Posts
    6k Views
    X
    doforumda, here goes some basic samples to send some request: @class MyObject : public QObject { Q_OBJECT public: explicit MyObject(QObject *parent = 0); private slots: void processReply(); }; MyObject::MyObject(QObject *parent) : QObject(parent) { QNetworkAccessManager *nam = new QNetworkAccessManager(this); QNetworkRequest request; request.setUrl(QUrl("http://gdata.youtube.com/feeds/api/videos?q=football&orderby=published&max-results=1&v=2")); QNetworkReply *reply = nam->get(request); connect(reply, SIGNAL(finished()), SLOT(processReply())); } void MyObject::processReply() { QNetworkReply *reply = static_cast<QNetworkReply *>(sender()); if (reply->error() != QNetworkReply::NoError) { qDebug() << "Error found: " << reply->error(); return; } QByteArray content = reply->readAll(); qDebug() << content; // Here, you can use, e.g. QXmlStreamReader, to parse the received content reply->deleteLater(); }@
  • Server-client connection

    3
    0 Votes
    3 Posts
    4k Views
    L
    Umm, no. I'm a newbie in networking :) I'll try to find out how-to then!