Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.6k Posts
  • How does threads access ui component

    7
    0 Votes
    7 Posts
    5k Views
    S
    bq. But how to show a user informative dialog boxes that disappear/invisible after 5 sec. create a pair of signal/slot that take the message text and time as arguments: @ public slots: void displayMessage(QString message, int seconds); @ The main class then displays the message and starts a timer that removes the message after the time elapses. Or you send one signal to display the text and later another signal to hide the text.
  • Deleting file from sdcard When uninstalling app from android

    2
    0 Votes
    2 Posts
    780 Views
    S
    Not long ago I read the guidelines of Googles SDK and I cannot remember that there was something related written there. I think what you are asking for is not supported by Android - although your idea is not that bad. I clean up my SD card manually every few month after uninstalling applications. They all leave some garbage there.
  • BluetoothService object convert to QBluetoothServiceInfo object

    2
    0 Votes
    2 Posts
    734 Views
    S
    You do not need a QBluetoothServiceInfo to open a connection. You only need the destination addressand either the port number or the service UUID. BluetoothService provides the address and the UUID - so you have already what you need. QBluetoothSocket::connectToService(const QBluetoothAddress & address, const QBluetoothUuid & uuid, OpenMode openMode = ReadWrite)
  • 0 Votes
    1 Posts
    844 Views
    No one has replied
  • Cannot find -l QtDeclarative

    2
    0 Votes
    2 Posts
    633 Views
    SGaistS
    Hi, Did you install it ?
  • Changes to moc_mainwindow.cpp will be lost. What is the remedy

    2
    0 Votes
    2 Posts
    668 Views
    SGaistS
    Hi, Because it's a generated file that you should never modify. What complains are you getting ?
  • Unable to Add Third party library

    7
    0 Votes
    7 Posts
    2k Views
    A
    sure.. ill check this and update in the header
  • Qt 5.3 iOS Wrong JPEG library version

    9
    0 Votes
    9 Posts
    5k Views
    C
    Hey, that worked. Thanks!
  • Integration of iOS frameworks in Qt Creator (Qt, QML)

    8
    0 Votes
    8 Posts
    4k Views
    SGaistS
    Take a look at the QtMacExtras module and the cocoa platform plugins, they show it nicely
  • Mix QT with objective-c to develope an ios application

    5
    0 Votes
    5 Posts
    4k Views
    H
    I found a solution. Please go to : http://qt-project.org/forums/viewthread/48250/
  • Writing multi line in QTextEdit

    2
    0 Votes
    2 Posts
    3k Views
    N
    use "\n" or slot "append" =)
  • [SOLVED] iOS retina

    8
    0 Votes
    8 Posts
    6k Views
    Z
    @Image { source: "foo.png" }@ will try to load "foo@2x.png" on iOS retina screens automatically, no need for custom logic there.
  • QtGui/QAction: No such file or directory

    2
    0 Votes
    2 Posts
    5k Views
    sierdzioS
    Maybe you have switched the Qt version in Kit settings? In Qt 4, QAction is part of QtGui module. In Qt 5, it is part of QtWidgets module. Best option is not to specify the module name when including the header.
  • Project ERROR: Unknown module(s) in QT: macextras

    6
    0 Votes
    6 Posts
    2k Views
    SGaistS
    Hi, Did you install the QtMacExtras module ?
  • Enabling touch screen in Qt4(4.8.5)/X11

    6
    0 Votes
    6 Posts
    3k Views
    SGaistS
    AFAIK, X should pass the events to Qt where you can then handle them. If you want to handle X11 events in your application you have the x11EventFilter and x11ProcessEvent methods that you can reimplement.
  • Obtain MAC address or other device footprint

    6
    0 Votes
    6 Posts
    3k Views
    D
    Sure. However, I found another solution, which may be better in terms of security. When the app is first launched, I generate a UUID and store it in the app's settings file. The UUID stays the same and will be renewed only when the user reinstalls the app. So, I no longer need the MAC addresses. Since the settings file may be accessible on a rooted device, I don't use the UUID directly as the key to my SecureStore. Instead, I obtain the key by passing the UUID to a modified version of the bcrypt password hashing algorithm.
  • QPainter errors while project compiling as static method

    1
    0 Votes
    1 Posts
    570 Views
    No one has replied
  • QT streaming Server

    6
    0 Votes
    6 Posts
    4k Views
    S
    Dear SGaist, cybercatalyst, mrdebug, Thanks a lot for giving me the pointers to start with :) Cheers !
  • PDF rendering with poppler libraries

    10
    0 Votes
    10 Posts
    4k Views
    D
    Hi Please make the following changes. void Window::openFile() { Comment the following code. /* QString path = QFileDialog::getOpenFileName(this, tr("Open PDF File"), /lastPath/"./", tr("PDF files (*.pdf)")); if (path.isEmpty()) return; qDebug() << "open file is executing"; char val = getchar(); qDebug() << "getchar executed"; */ Change the path variable value to "./somedocument.pdf" documentWidget->setDocument(path); hope this will help.
  • [SOLVED] stdlib: No such file or directory

    3
    0 Votes
    3 Posts
    2k Views
    O
    Thanks! But I had been try your suggestion... After search and researching on the web I found I solution in this post: "http://qt-project.org/forums/viewthread/45095":http://qt-project.org/forums/viewthread/45095