Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.5k Posts
  • Android: build with Linux

    Solved android linux windows jenkin apk
    4
    0 Votes
    4 Posts
    993 Views
    KroMignonK
    I reply to myself, just in case some else has the same issue. Switching the Jenkins build slave from Windows7 to Linux (Debian 10) has reduced the APK build time from 40 minutes to 8 minutes! Yes, my project is relative big ;) Regards Fabrice
  • QMetaObject::invokeMethod: No such method QQuickRootItem::inputMethodQuery

    Unsolved
    2
    0 Votes
    2 Posts
    668 Views
    M
    Hi, I am experiencing exactly the same issue. Have you found any solution? PS The launching issue has been solved in the latest update of QtCreator
  • How to link libraries properly in synchronised sysroot on host computer

    Unsolved
    1
    0 Votes
    1 Posts
    508 Views
    No one has replied
  • Qt example application for GPS

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    T
    #include <iostream> #include <QGeoCoordinate> using namespace std; int main() { QGeoCoordinate qGeoCoord; cout << "Lat.: " << qGeoCoord.latitude() << endl << "Long.: " << qGeoCoord.longitude() << endl << "Alt.: " << qGeoCoord.altitude() << endl; return 0; } This is a simple code which i wrote, but the output is just "-nan" What more should i add to the code?
  • Since Qt 5.12.2 Android application crashes directly after start

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    G
    Hello. It seems I have the same issue. I try to add the Firebace Cloud Messaging to my project, and now after I set v. 5.13.2 my application in some devices is craching at very start. NDK the same as you r19c. I havent catch how youve solve it? Should I use older NDK (btw it seems that FCM libraries should be compiled with NDK 15 or smth) or can you explain how have you solve it exactly?
  • Disable bitcode for iOS project

    Unsolved ios
    7
    1 Votes
    7 Posts
    5k Views
    scarteziniS
    @Shiba 's response worked, but for each compile you need do that. So can put this on <project>.pro to set ENABLE_BITCODE=NO, and it will work every. Q_ENABLE_BITCODE.name = ENABLE_BITCODE Q_ENABLE_BITCODE.value = NO QMAKE_MAC_XCODE_SETTINGS += Q_ENABLE_BITCODE
  • Get SwipeView gesture

    Unsolved
    1
    0 Votes
    1 Posts
    184 Views
    No one has replied
  • INSTALLS ignores /res folder

    Unsolved qtbug-79762 android deploy linux
    6
    0 Votes
    6 Posts
    918 Views
    W
    For now I made a custom androiddeployqt that ignores cleanAndroidFiles(options); which deletes the files. Seems to work, only have to delete the build folder manually so it doesn't keep old build files.
  • Different UI via ssh and direct application start on RaspberryPi

    Solved
    4
    0 Votes
    4 Posts
    595 Views
    sierdzioS
    @MajidKamali said in Different UI via ssh and direct application start on RaspberryPi: using -platform eglfs in application arguments solved the problem! But I have another question in this regard. I configured Qt to compile with eglfs, why this is not default mode (platform) in raspberry? If you run from console, with no X server running, Qt will default to EGLFS.
  • qDebug to Qt Creator console don't work

    Unsolved
    1
    0 Votes
    1 Posts
    394 Views
    No one has replied
  • Native compile error on Raspberry Pi3 for Qt6

    Unsolved
    6
    0 Votes
    6 Posts
    626 Views
    jsulmJ
    @ShadowKni You should care as Qt6 is in development and can potentially cause more issues when building than Qt5.
  • [solved] Cannot archive iOS application with Xcode 11 and Qt 5.13.2

    Solved
    2
    0 Votes
    2 Posts
    527 Views
    C
    The problem seems solved after I remove everything from Release-iphoneos folder
  • qtmultimedia with alsa. A lot of problems.

    Unsolved
    1
    0 Votes
    1 Posts
    370 Views
    No one has replied
  • Reading UART (RS485) with Qt

    Unsolved c++ qt serial port serialport-byte
    8
    0 Votes
    8 Posts
    3k Views
    SGaistS
    @RunThiner There's no need for such a loop. QSerialPort already provides an asynchronous API and if you really want to wait for data to be available, there's a blocking API for that as shown in the QSerialPort details.
  • QtAndroid, exchanging data between c++ and android

    Solved
    3
    0 Votes
    3 Posts
    316 Views
    M
    The method signatures are wrong. 2 should be "(I)V", 3 should be "()I"
  • webnineview v.s. webview

    Unsolved
    2
    0 Votes
    2 Posts
    312 Views
    JonBJ
    @Eric-Ruei QWebengineView has a bunch of loadStarted/Progress/Finished signals. See if they are telling you anything? Maybe QWebEngineView::load(const QWebEngineHttpRequest &request) overload would allow you to examine any request/response issues?
  • How to start a second activity in Android

    Unsolved
    3
    0 Votes
    3 Posts
    379 Views
    mrdebugM
    It works but only one time. After the first ufc event the app goes to freeze here @Override protected void onResume() { super.onResume();
  • Java + QT (Use QT in JAVA)

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    L
    not yet( But! I managed to connect qt under windows without any problems. One question remains, if there is any peculiarity when implementing this all in the android (Android Studio) !? Maybe if some example where QT is used in a java project for android?
  • How to return terminal screen after application quit?

    Unsolved
    7
    0 Votes
    7 Posts
    784 Views
    MijazM
    @Vladimir-Sazonov just press Ctrl+Alt+F7 from keyboard
  • Can I decompile the apk file?

    Unsolved
    4
    0 Votes
    4 Posts
    534 Views
    M
    Built in Android Studio can be decompiled. Compiled in Qt cannot be decompiled?