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
  • webview cut off veritcally in mobile

    Unsolved qml webview mobile
    1
    0 Votes
    1 Posts
    534 Views
    No one has replied
  • Qt Android Problem

    Solved
    9
    0 Votes
    9 Posts
    4k Views
    I
    @kd_wala Thanks. I solved the problem: void TestClass::toast_message(const QString& text, Duration duration) { QtAndroid::runOnAndroidThread([&] { QAndroidJniObject _text = QAndroidJniObject::fromString(text); QAndroidJniObject toast = QAndroidJniObject::callStaticObjectMethod( "android/widget/Toast", "makeText", "(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;", QtAndroid::androidActivity().object(), _text.object(), jint(duration)); toast.callMethod<void>("show"); }); } This is running!
  • Qt Mapviewer example

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    RickLinuxR
    If you want to follow this bug here is the link: https://bugreports.qt.io/browse/QTBUG-55085 RickLinux
  • Qt Android assets

    Unsolved
    4
    0 Votes
    4 Posts
    4k Views
    KMaxK
    For everyone else who is have the same problem, this did the trick: .pro file: android { data.files = db/flags.sqlite data.path = /assets/db INSTALLS += data } .cpp file QFile dfile("assets:/db/flags.sqlite"); QString filePath = QStandardPaths::writableLocation( QStandardPaths::StandardLocation::AppLocalDataLocation ); filePath.append( "/flags.sqlite"); if (dfile.exists()) { if( QFile::exists( filePath ) ) QFile::remove( filePath ); if( dfile.copy( filePath ) ) QFile::setPermissions( filePath, QFile::WriteOwner | QFile::ReadOwner ); } d->database.setDatabaseName( filePath ); #else d->database.setDatabaseName( "db/flags.sqlite" ); #endif if( d->database.open() ) { qDebug( "DB open successful "); QSqlQuery q(d->database); q.exec("SELECT * from flags"); q.last(); d->dbSize = q.at() + 1; } else { qDebug( "DB failed" ); } } Link: Click me
  • How to set ANDROID_NDK_PLATFORM ?

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    ekkescornerE
    I think, if you don't use Java code via Android Extras relying on a higher API level, you can start with the lowest one supported by Qt this means 18 for Qt 5.7 can someone confirm ?
  • Android/iOS Best Practices

    Unsolved design android ios
    3
    0 Votes
    3 Posts
    2k Views
    pppgogogoP
    @DRoscoe Thanks so much, I really appreciate you taking time to respond!
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    15 Views
    No one has replied
  • Disable gstreamer dependency with Qt WebKit

    Unsolved
    13
    0 Votes
    13 Posts
    4k Views
    K
    @kumararajas From what I know, Milian Wolff from KDAB is working on bringing newer WebKit to Qt 4, ping milian on #qt-labs to know if this option is available and how much it would cost. It should also be possible to bring Qt 4 support to https://github.com/annulen/webkit, but you would need to hire Milian or someone else
  • Problem when running Release on Android kit

    Solved
    13
    0 Votes
    13 Posts
    13k Views
    ZZZZZMLZ
    I met the same problem as you, I had solved the error by uninstalling two diffirent version Qt creators in my pc. Keep the last version Qt creator on my windows8.1. I tried , builded and ran, it installed successfully the apk on my android device.
  • simple chat in console application does not send data

    Unsolved qtcpsocket qtcpserver
    1
    0 Votes
    1 Posts
    987 Views
    No one has replied
  • Setup Qt on windows 7 to cross compile for Raspberry Pi 2

    Unsolved
    18
    0 Votes
    18 Posts
    8k Views
    avgjoecoderA
    @jsulm The problem is CONFIGURING QtCreator. Apparently no one here knows how to do that for windows to pi cross compile and debug. I gave up on QT and have succeeded to do just that with Eclipse, their suggested toolchain and detailed configuration docs. So for my purposes, no need to continue this thread.
  • Create Qt application on raspberry pi (ARM cpu)

    Solved
    2
    0 Votes
    2 Posts
    609 Views
    SGaistS
    Hi and welcome to devnet, Since your are new to all of that, I'd recommend asking to use a virtual machine with Linux on it. It will make the setup way easier that way.
  • VTHandler in EGLFS breaks GDB Remote Debugging

    Unsolved eglfs gdb sigint
    10
    0 Votes
    10 Posts
    4k Views
    Julien CarbonnierJ
    Hi, I found your topic and i have a problem with a SIGSEGV at the start of qt application when i used gdb. Your patch work with a previous problem i have with breakpoints but no with this one so have you an idea ? I'm using an imx6 platform with EGLFS and when upgrading Qt from 5.3.2 to 5.5.1, I can't start a debug. I try to backtrace in qtcreator but i can't find anything to help. Thanks, Here it's a part of gdb log. >909-exec-run Process AW_APP created; pid = 1370 >library-loaded,id="/lib/ld-linux-armhf.so.3",target-name="/lib/ld-linux-armhf.so.3",host-name="/opt/fsl-imx-fb/4.1.15-1.2.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/lib/ld-linux-armhf.so.3",symbols-loaded="0",thread-group="i1" Library /lib/ld-linux-armhf.so.3 loaded >909^running dNOTE: ENGINE RUN AND INFERIOR RUN OK sRunning. dState changed from EngineRunRequested(7) to InferiorRunOk(11) [master] dINFERIOR STARTED sDémarrage de l'application >*running,thread-id="all" dNOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk. >~"\nProgram received signal " >~"SIGSEGV, Segmentation fault.\n" >~"0x4dca9e24 in ?? ()\n" >*stopped,reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation fault",frame={addr="0x4dca9e24",func="??",args=[]},thread-id="1",stopped-threads="all",core="0" dNOTE: INFERIOR SPONTANEOUS STOP sStopped. > 914bt full >&"bt full\n" >~"#-1 0x4dca9e24 in ?? ()\n" >~"No symbol table info available.\n" >&"warning: Unable to restore previously selected frame.\n" Unable to restore previously selected frame. >914^done
  • How to bind Qml with .H and .CPP?

    Unsolved qml binding qml
    2
    0 Votes
    2 Posts
    982 Views
    raven-worxR
    @Mathan-M see this
  • Qt5.7 QtWebEngine and ARMv8 (RPi3)

    Unsolved armv8 raspberry pi 3 qtwebengine neon
    2
    0 Votes
    2 Posts
    4k Views
    SGaistS
    Hi, I'd recommend posting that question to the the QtWebEngine mailing list. You'll find there QtWebEngine's developers/maintainers. This forum is more user oriented.
  • Qt5.7 & Raspberry Pi 3 mkspecs equal signs

    Unsolved raspberry pi 3
    3
    0 Votes
    3 Posts
    2k Views
    Dr.VD
    @micland I thought of that but discarded the idea because Raspbian seems to be the de facto standard distribution for RPi, and IMHO the mkspec should work out-of-the-box with the Rasbian library paths. Or at least there should be a mkspec for Raspbian. Also, if I understand it right, the symlinks won't fix the run time error. (But I have to admit I am not at all sure I understand it right.) One thing that puzzles me is the big difference between RPi3 and RPi2 mkspecs. Wouldn't it be enough to change the processor optimization flags?
  • Android Development Guide

    Unsolved
    8
    0 Votes
    8 Posts
    3k Views
    T
    Install latest mingw... I had problems with make without it...
  • Is Qt Partner Program available to GPL/LGPL companies?

    Unsolved partner gpl technology commercial lgpl
    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    @tekojo I knew something wasn't right :D
  • Android first Activity

    Solved android android 6 qt 5.7 start screen
    4
    0 Votes
    4 Posts
    2k Views
    benlauB
    @romsharkov You may use a custom theme to turn off the ActionBar. Example: quickandroid/apptheme.xml at master · benlau/quickandroid quickandroid/AndroidManifest.xml at master · benlau/quickandroid Document: Complete Guide to Making a Splash Screen for your QML Android Application — Medium
  • APK Build Failed -

    Solved qt mobile
    5
    0 Votes
    5 Posts
    3k Views
    BonganiB
    Thanks @Mathan-M, It also worked for me. I think we can mark this as solved.