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
  • Application crashing when ios native text field got focused in qt for ios

    1
    0 Votes
    1 Posts
    337 Views
    No one has replied
  • Static building QtWebEngine for iOS

    3
    0 Votes
    3 Posts
    2k Views
    SGaistS
    Hi and welcome to devnet, QtWebEngine will hit the same wall on iOS as QtWebKit: you can't use it by Apple's rules. However, there's the QtWebView module that provides integration of the native web views for iOS and Android at least.
  • Beaglebone Crossompile: Cannot find lib not so easy fix

    beaglebone blac
    9
    0 Votes
    9 Posts
    4k Views
    SGaistS
    I'd rather go with building Qt using your BBB root filesystem so you can have all the most recent part you can
  • 0 Votes
    2 Posts
    2k Views
    D
    Note that I am able to configure and deploy using ndk-r9d with GCC 4.8, but debugging does not work at all on a Galaxy S6. Setting a breakpoint in main(), nothing is hit. Note that I am able to debug using Android Studio for a regular Java app on the device. This is the application output: Debugging starts E/Zygote (18560): MountEmulatedStorage() E/Zygote (18560): v2 I/libpersona(18560): KNOX_SDCARD checking this for 10265 I/libpersona(18560): KNOX_SDCARD not a persona I/SELinux (18560): Function: selinux_compare_spd_ram , priority [2] , priority version is VE=SEPF_SM-G920V_5.0.2_0009 E/SELinux (18560): [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL I/art (18560): Late-enabling -Xcheck:jni D/TimaKeyStoreProvider(18560): TimaSignature is unavailable D/ActivityThread(18560): Added TimaKeyStore provider I/InjectionManager(18560): Inside getClassLibPath + mLibMap{0=, 1=} D/AssetManager(18560): addAssetPath path =/data/app/org.qtproject.example.MyApp-1/base.apkmapset is 0 D/AssetManager(18560): addAssetPath path =/data/app/org.qtproject.example.MyApp-1/base.apk, mapOffset =0 D/AssetManager(18560): addAssetPath path =/data/app/org.qtproject.example.MyApp-1/base.apk,elasticAppCookieOffset ={3=0} I/LoadedApk(18560): getClassLoader :null I/InjectionManager(18560): Inside getClassLibPath caller I/LoadedApk(18560): classLibPath :, mActivityThread.mCoreFeatureClassLoader :null D/InjectionManager(18560): InjectionManager D/InjectionManager(18560): fillFeatureStoreMap org.qtproject.example.MyApp I/InjectionManager(18560): Constructor org.qtproject.example.MyApp, Feature store :{} I/InjectionManager(18560): featureStore :{} I/LoadedApk(18560): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.qtproject.example.MyApp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.qtproject.example.MyApp-1/lib/arm, /vendor/lib, /system/lib]]] I/LoadedApk(18560): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.qtproject.example.MyApp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.qtproject.example.MyApp-1/lib/arm, /vendor/lib, /system/lib]]] I/LoadedApk(18560): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.qtproject.example.MyApp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.qtproject.example.MyApp-1/lib/arm, /vendor/lib, /system/lib]]] I/LoadedApk(18560): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.qtproject.example.MyApp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.qtproject.example.MyApp-1/lib/arm, /vendor/lib, /system/lib]]] I/LoadedApk(18560): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.qtproject.example.MyApp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.qtproject.example.MyApp-1/lib/arm, /vendor/lib, /system/lib]]] I/LoadedApk(18560): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.qtproject.example.MyApp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.qtproject.example.MyApp-1/lib/arm, /vendor/lib, /system/lib]]] I/LoadedApk(18560): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.qtproject.example.MyApp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.qtproject.example.MyApp-1/lib/arm, /vendor/lib, /system/lib]]] I/LoadedApk(18560): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.qtproject.example.MyApp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.qtproject.example.MyApp-1/lib/arm, /vendor/lib, /system/lib]]] I/LoadedApk(18560): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.qtproject.example.MyApp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.qtproject.example.MyApp-1/lib/arm, /vendor/lib, /system/lib]]] I/LoadedApk(18560): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.qtproject.example.MyApp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.qtproject.example.MyApp-1/lib/arm, /vendor/lib, /system/lib]]] I/LoadedApk(18560): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.qtproject.example.MyApp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.qtproject.example.MyApp-1/lib/arm, /vendor/lib, /system/lib]]] D/PhoneWindow(18560): FMB installDecor mIsFloating : false D/PhoneWindow(18560): FMB installDecor flags : 8454400 I/Qt (18560): qt start D/ (18560): (null):0 ((null)): QML debugging is enabled. Only use this in a safe environment. I/Qt JAVA (18560): DEBUGGER: extra parameters: Bundle[{debug_ping=true, gdbserver_socket=/data/data/org.qtproject.example.MyApp/debug-socket, qml_debug=true, gdbserver_command=/data/data/org.qtproject.example.MyApp/lib/libgdbserver.so --multi +/data/data/org.qtproject.example.MyApp/debug-socket, qmljsdebugger=port:50111,block, ping_socket=org.qtproject.example.MyApp.ping_pong_socket}] I/Qt JAVA (18560): DEBUGGER: removing gdb socket /data/data/org.qtproject.example.MyApp/debug-socket I/Qt JAVA (18560): DEBUGGER: starting /data/data/org.qtproject.example.MyApp/lib/libgdbserver.so --multi +/data/data/org.qtproject.example.MyApp/debug-socket I/Qt JAVA (18560): DEBUGGER: gdbserver started I/Qt JAVA (18560): DEBUGGER: waiting for socket at /data/data/org.qtproject.example.MyApp/debug-socket, attempt 0 I/Qt JAVA (18560): DEBUGGER: waiting for socket at /data/data/org.qtproject.example.MyApp/debug-socket, attempt 1 I/Qt JAVA (18560): DEBUGGER: socket ok I/Qt JAVA (18560): DEBUGGER: Waiting for debug socket connect I/Qt JAVA (18560): DEBUGGER: go to sleep I/Qt JAVA (18560): DEBUGGER: Waiting for debug socket connect I/Qt JAVA (18560): DEBUGGER: go to sleep I/Qt JAVA (18560): DEBUGGER: Debug socket accepted I/Qt JAVA (18560): DEBUGGER: Waiting for debug socket connect I/Qt JAVA (18560): DEBUGGER: go to sleep I/Qt JAVA (18560): DEBUGGER: Waiting for debug socket connect I/Qt JAVA (18560): DEBUGGER: go to sleep I/Qt JAVA (18560): DEBUGGER: Waiting for debug socket connect I/Qt JAVA (18560): DEBUGGER: go to sleep I/Qt JAVA (18560): DEBUGGER: Waiting for debug socket connect I/Qt JAVA (18560): DEBUGGER: go to sleep I/Qt JAVA (18560): DEBUGGER: Waiting for debug socket connect I/Qt JAVA (18560): DEBUGGER: go to sleep I/Qt JAVA (18560): DEBUGGER: Waiting for debug socket connect I/Qt JAVA (18560): DEBUGGER: go to sleep I/Qt JAVA (18560): DEBUGGER: Waiting for debug socket connect I/Qt JAVA (18560): DEBUGGER: go to sleep I/Qt JAVA (18560): DEBUGGER: Waiting for debug socket connect I/Qt JAVA (18560): DEBUGGER: go to sleep I/Qt JAVA (18560): DEBUGGER: Incoming socket OK I/Qt JAVA (18560): DEBUGGER: Got pid acknowledgment I/Qt JAVA (18560): DEBUGGER: ping not requested I/Qt JAVA (18560): DEBUGGER: pong not requested D/Activity(18560): registerForContextMenu with mFeatureContextMenuListener W/Qt A11Y (18560): Could not activate platform accessibility. D/Activity(18560): performCreate Call Injection manager I/InjectionManager(18560): dispatchOnViewCreated > Target : org.qtproject.qt5.android.bindings.QtActivity isFragment :false D/OpenGLRenderer(18560): Render dirty regions requested: true D/libEGL (18560): loaded /vendor/lib/egl/libGLES_mali.so D/PhoneWindow(18560): FMB isFloatingMenuEnabled mFloatingMenuBtn : null D/PhoneWindow(18560): FMB isFloatingMenuEnabled return false I/OpenGLRenderer(18560): Initialized EGL, version 1.4 I/OpenGLRenderer(18560): HWUI protection enabled for context , &this =0xe0c22088 ,&mEglDisplay = 1 , &mEglConfig = -502738276 D/OpenGLRenderer(18560): Get maximum texture size. GL_MAX_TEXTURE_SIZE is 8192 D/OpenGLRenderer(18560): Enabling debug mode 0 D/mali_winsys(18560): new_window_surface returns 0x3000, [1440x2560]-format:1 I/LoadedApk(18560): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.qtproject.example.MyApp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.qtproject.example.MyApp-1/lib/arm, /vendor/lib, /system/lib]]] I/InjectionManager(18560): dispatchCreateOptionsMenu :org.qtproject.qt5.android.bindings.QtActivity I/InjectionManager(18560): dispatchPrepareOptionsMenu :org.qtproject.qt5.android.bindings.QtActivity I/Timeline(18560): Timeline: Activity_idle id: android.os.BinderProxy@38cebf75 time:182342765 D/libMyApp.so(18560): (null):0 ((null)): QML Debugger: Waiting for connection on port 50111... D/libMyApp.so(18560): (null):0 ((null)): FT_New_Face failed with index 0 : 90 D/mali_winsys(18560): new_window_surface returns 0x3000, [1440x2560]-format:1 D/mali_winsys(18560): new_window_surface returns 0x3000, [1440x2460]-format:1
  • Symbol not found error

    1
    0 Votes
    1 Posts
    540 Views
    No one has replied
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • 1 Votes
    15 Posts
    12k Views
    SGaistS
    Cross-compiling is one thing, how did you install Qt on your board ?
  • 0 Votes
    2 Posts
    1k Views
    AlexorleonA
    I installed the Ubuntu 14.04, but does not turn on bluetooth. I installed the OpenSUSE and I was able to run btchat. http://doc.qt.digia.com/qtmobility/btchat.html Successfully connected to U30GT-H and produced messaging. But between android devices nothing works. And the example of "Bluetooth QML Ping Pong example" is also not works. Sorry for my english.
  • QAndroidJniObject, how to give back data

    qandroidjniobje
    1
    0 Votes
    1 Posts
    620 Views
    No one has replied
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    3 Posts
    2k Views
    R
    Thanks. I couldn't find a bug myself but it seems there is one, so in the event that someone else might be interested it is https://bugreports.qt.io/browse/QTBUG-43837.
  • Qt Project Warning - updateXcode to version 6...

    2
    0 Votes
    2 Posts
    579 Views
    J
    On Mac OS X there is a file .qmake.stash. Remove it and run qmake again. No sure if a similar file exists on Windows.
  • Ubuntu rootfs in i.MX6

    1
    0 Votes
    1 Posts
    389 Views
    No one has replied
  • Release.gpg file from apt-get update

    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    You have to cross-compile your application before you can use it on your BBB. The easiest way to do that is to do it from a linux computer (it's doable on Windows but it's really really easier to do it from linux) You can do it from a virtual machine.
  • This topic is deleted!

    Locked
    2
    0 Votes
    2 Posts
    7 Views
  • Framebuffer is not clean closing qt application

    2
    0 Votes
    2 Posts
    674 Views
    SGaistS
    Hi and welcome to devnet, As a work around, you could call your application using a script and add a line where you send 0 to the frame buffer. Hope it helps
  • 5 Keys Input and Menu handling?

    8
    0 Votes
    8 Posts
    2k Views
    SGaistS
    I don't know whether you saw this but I think you should take a look at the QtGamepad module. It might simplify things for your use case
  • QWindow - gestures

    5
    0 Votes
    5 Posts
    2k Views
    X
    I have a program with Qmainwindow as root. In Qmainwindow I created a MainWidget inherited from Qwidget, which acts like my layout. This MainWidget contains a Qwindow, where I draw opengl directly. Now I want that my Qwindow get gestures event, if I run my program on a tablet. Would I get gestures event in my MainWidget and can manually tell my Qwindow? If not, can I create a transparent qwidget over my Qwindow and get gestures events? Thanks in advance
  • 1 Votes
    1 Posts
    364 Views
    No one has replied
  • Error when using QMediaPlayer on IOS

    ios error mediaplayer qmediaplayer
    6
    0 Votes
    6 Posts
    2k Views
    SGaistS
    I just realized something: I'm not sure whether the QtMultimedia plugins can handle files found in QRC. So I'd first go with the assets to provide multimedia content with an application since most of the time anyway, these files are already compressed (mp3, mp4 etc.) and generally too big to be compiled in.