Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.2k Topics 62.6k Posts
  • EGLFS graphic environment

    1
    0 Votes
    1 Posts
    650 Views
    No one has replied
  • Math library ARM support on IOS and Android

    2
    0 Votes
    2 Posts
    772 Views
    SGaistS
    Hi, It's easy to look at the implementation of these classes: just download the sources. AFAIK, there's no such optimization done currently.
  • Android with QT 5.2 and QT Quick: How to include a google maps view?

    19
    0 Votes
    19 Posts
    11k Views
    V
    "Mæp-qt":https://openrepos.net/content/dcaliste/maep-qt may help you
  • 0 Votes
    1 Posts
    952 Views
    No one has replied
  • 0 Votes
    2 Posts
    4k Views
    N
    I have read several article and I understand that to shutdown the device you have to ROOT permission you can put in sleep mode without ROOT permission but not in shutdown. Observation I have a SAMSUNG NOTE 10.1 (tablet) and when I press the power button for 1 second the device go to sleep. If I press the power button for 3 seconds I have a dialog screen that it propose if I turn off the device or not. Then I want to simulate the second case (button for 3 second the power button). @void keyPressPowerButton() { QKeyEvent event(QEvent::KeyPress, Qt::Key_PowerOff, Qt::NoModifier); QApplication::sendEvent(mainWindow, &event); }@ But It go in sleep mode not it in shutdown mode (with dialog screen that it propose if I turn off the device or not) How can I simulate the Qt::Key_PowerOff for 3 seconds ?
  • 0 Votes
    3 Posts
    975 Views
    L
    The version of Qt is 5.2.1 and OS is Ubuntu14.04,thanks.
  • A2DP support in Qt5.4

    2
    0 Votes
    2 Posts
    875 Views
    SGaistS
    Hi and welcome to devnet, You should rather ask this on the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented
  • QBluetooth in QT android support Bluetooth 4?

    2
    0 Votes
    2 Posts
    865 Views
    SGaistS
    Hi, You should rather ask this question on the "android-development":http://lists.qt-project.org/mailman/listinfo/android-development You'll find there the Android port's developers/maintainers This forum is more user oriented
  • IOS Deployment: QApplication created before UIApplicationMain

    3
    0 Votes
    3 Posts
    1k Views
    J
    Thanks Sgaist, I have a doubt before posting on the mailing list. I am real noob about iOS things
  • Print wifi

    1
    0 Votes
    1 Posts
    569 Views
    No one has replied
  • Problem when viewing web pages in QML using android.webkit.WebView

    Solved
    11
    0 Votes
    11 Posts
    6k Views
    G
    Now it works! Thank you very much, man!
  • Cross-compile error on RaspberryPi

    3
    0 Votes
    3 Posts
    5k Views
    C
    Thank you! I successfully compiled the qtbase. But when I compile other modules, there are some errors. When I compile qtjsbackend,the error is as followed @In file included from ../3rdparty/v8/src/v8.h:58:0, from ../3rdparty/v8/src/accessors.cc:28: ../3rdparty/v8/src/v8globals.h:434:1: error: expected identifier before ‘<<’ token <<<<<<< HEAD ^ ../3rdparty/v8/src/v8globals.h:434:1: error: expected ‘}’ before ‘<<’ token ../3rdparty/v8/src/v8globals.h:434:1: error: expected unqualified-id before ‘<<’ token ../3rdparty/v8/src/v8globals.h:578:3: error: expected declaration before ‘}’ token } } // namespace v8::internal ^ make[2]: *** [.obj/accessors.o] error 1 make[2]: *** waiting the uncompleted task.... In file included from ../3rdparty/v8/src/v8.h:58:0, from ../3rdparty/v8/src/api.h:31, from ../3rdparty/v8/src/api.cc:28: ../3rdparty/v8/src/v8globals.h:434:1: error: expected identifier before ‘<<’ token <<<<<<< HEAD ^ ../3rdparty/v8/src/v8globals.h:434:1: error: expected ‘}’ before ‘<<’ token ../3rdparty/v8/src/v8globals.h:434:1: error: expected unqualified-id before ‘<<’ token ../3rdparty/v8/src/v8globals.h:578:3: error: expected declaration before ‘}’ token } } // namespace v8::internal ^ make[2]: *** [.obj/api.o] error 1 make[2]:leaving /home/shawn/opt/qt5/qtjsbackend/src/v8' make[1]: *** [sub-v8-make_first-ordered] error 2 make[1]:leaving /home/shawn/opt/qt5/qtjsbackend/src' make: *** [sub-src-make_first] error 2 @ When I use the command "/usr/local/qt5pi/bin/qmake ." to compile the qt3d, qtjsondb and qtdocgallery, the error is @ file to open is a directory Error processing project file: .@ [quote author="Dheerendra" date="1408464631"]Remove -reduce-relocations option from your command line arguments and re-run your compilation.[/quote]
  • Multimedia key: FF, RW, Power, Eject

    1
    0 Votes
    1 Posts
    556 Views
    No one has replied
  • QML animation make large load of CPU core I.MX6

    3
    0 Votes
    3 Posts
    3k Views
    _
    thank you for reply. Examples from Vivante load core of CPU more less then Qt application - 5...10%. If I use ListView and scroll content by finger "left-rigth" - core CPU loaded by render thread even more (upto 70% and more)... So is it normally, or it is wrong use compiler options, or something else? P.S If I use qml animation, power consumption is increases +5 watt. Explicitly GPU is activated. But the CPU core is loaded very hardly too.
  • Windows without title bar but with border

    8
    0 Votes
    8 Posts
    25k Views
    D
    I had the sam problem and accidentally found acceptable solution? this will produce resizeable window without title: @w->setWindowFlags(Qt::Tool|Qt::CustomizeWindowHint);@
  • Connectivity btle on android

    2
    0 Votes
    2 Posts
    637 Views
    N
    I'm found only this "document":https://qt.gitorious.org/qt/qtconnectivity/commit/5c87c1e0e26bee77bf02459df884435f8c48e0f2#src/bluetooth/doc/src/bluetooth-overview.qdoc.
  • QSharedMemory with to sessions

    2
    0 Votes
    2 Posts
    1k Views
    N
    I think that the function will be the following: QString DeviceAdrHandlingOUT::read_shared_Memory() { QSharedMemory sharedMemory("DeviceOUT"); // <== MY CHANGE if(!sharedMemory.attach()) { qDebug() << "can't attach" << sharedMemory.errorString(); } QBuffer buffer; QDataStream in(&buffer); QString str; sharedMemory.lock(); buffer.setData((char*)sharedMemory.constData(), sharedMemory.size()); buffer.open(QBuffer::ReadOnly); in >> str; sharedMemory.unlock(); sharedMemory.detach(); return str; }
  • QT QML Integration

    3
    0 Votes
    3 Posts
    788 Views
    dheerendraD
    Welcome to the forum. I will send you the program shortly.
  • How to use android service with Qt?

    2
    0 Votes
    2 Posts
    1k Views
    metaDomM
    Good question, would like to know aswell!
  • [SOLVED] Qt on Android : How to reset Inactivity Time ?

    2
    0 Votes
    2 Posts
    1k Views
    N
    The solution is call the java class from qt c++ program using JNI class and the java class is the following: @// // Next72Utility.java // package org.qtproject.example.Chronometer; import android.content.Context; import android.app.Activity; import android.view.WindowManager; import android.view.WindowManager.LayoutParams; import android.os.Bundle; public class Next72Utility extends org.qtproject.qt5.android.bindings.QtActivity { public static Next72Utility m_istance; public Next72Utility() { m_istance = this; } public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); } }@