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
  • QListWidgetItem is not drawn correctly

    Unsolved
    7
    0 Votes
    7 Posts
    767 Views
    SGaistS
    What version of Qt are you using ? On what platform ? Can you provide a minimal compilable example that shows that behaviour ?
  • QT BLE stack - feature request extend QT API to support LE secure connection

    Unsolved
    2
    0 Votes
    2 Posts
    365 Views
    SGaistS
    Hi, Same applies as what was already said in your other thread.
  • MYSQL DRIVER ANDROID

    Unsolved
    4
    0 Votes
    4 Posts
    785 Views
    Pablo J. RoginaP
    @edoardo.videx Internet seach is your friend... it looks like there was (is?) a bug with out-of-tree build of SQL plugins in Qt since version 5.8 see for instance QTBUG-58372 and check how a manual build could be enabled.
  • Qt BLE stack - feature request extend Qt API to fetch service data from advertisment

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    aha_1980A
    @fr.vieren said in Qt BLE stack - feature request extend Qt API to fetch service data from advertisment: time and thus money are the main constraints as well :). As always :) But sometimes an investment pays back...
  • How to install QtCharts module on Qt 5.5. OS is Ubuntu 16.04 lts

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    sierdzioS
    @hakanaktan said in How to Install QtCharts module on Qt 5.5 .Os is Ubuntu 16.04 lts: On my embedded device Qt 5.5 is installed and it does not supoort newer versions. I'm pretty sure it would support higher versions just fine, you may need to compile Qt yourself - but that indeed might be a bit hard. So is it impossible to use QtCharts on this device and Qt version? So it seems. Unless you get in touch with Qt Company and they help you - that will be costly though, as Qt 5.5 is long, long past it's End of Life date. There are other chart libraries for Qt, by the way: Qwt, and you can integrate JavaScript charts (example: https://github.com/milosolutions/mcharts).
  • Build PySide2 for embedded device(ARM) IMX6

    Unsolved
    3
    0 Votes
    3 Posts
    463 Views
    SGaistS
    Hi, What errors are you getting ?
  • Catching GPIO button events

    Unsolved
    1
    0 Votes
    1 Posts
    679 Views
    No one has replied
  • How to change application window z index

    Unsolved ios qquickitem qquickwindow
    1
    0 Votes
    1 Posts
    911 Views
    No one has replied
  • Can we sell the Qt application developed under LGPLv3

    Unsolved
    8
    0 Votes
    8 Posts
    3k Views
    sierdzioS
    @SGaist said in Can we sell the Qt application developed under LGPLv3: Therefore if you want to keep LGPL for your application, you have to replace that GPL component with another one that has a licence compatible with LGPL. Indeed. There is one more workaround for this: build a separate application out of that GPL library and then interact with it via command line, dbus, sockets etc. So that there is no direct linking.
  • App runs with QtCreator but fails to start in standalone mode

    Unsolved
    3
    0 Votes
    3 Posts
    701 Views
    D
    Thanks for you answer. I thought about it but I can not find this option anymore in the settings. It was in Projects> Build> Android Build APK> Qt Deployment but on the QtCreator 4.6.1 version (Qt5.11) the settings of Projects> Build> Build Android APK> Advanced Actions no longer give access to this choice. I will try to force all qt libs in the apk (explicitly).
  • Debugging on physical Android device gives error code

    Unsolved android android debug adb devices
    9
    0 Votes
    9 Posts
    3k Views
    K
    Switched back to newer SDK folder holder a different adb version 1.0.40. That version did not support the run-as command as indicated above. Exited creator, started it again and did a rebuild and started debug on Nexus 7 without problems. BTW all has been tested with creator 4.8.1 after I have seen no difference to old creator version 4.5.2.
  • Block send of keyboard input to terminal on embedded app (Raspberry Pi 3)

    Unsolved
    9
    0 Votes
    9 Posts
    3k Views
    F
    Hi, it works for me with: export QT_QPA_EVDEV_KEYBOARD_PARAMETERS=grab=1 export QT_QPA_EVDEV_MOUSE_PARAMETERS=grab=1 and running with: sudo -E ./myapp -platform eglfs I think sudo is needed because of what documentation says about /dev/input/event* permissions. Also -E option is needed so that sudo preserves the exported variables. I hope this help. Qt for Embedded Linux Input When no windowing system is present, the mouse, keyboard, and touch input are read directly via evdev or using helper libraries such as libinput or tslib. Note that this requires that device nodes /dev/input/event* are readable by the user. eglfs and linuxfb have all the input handling code compiled-in. -------- I want to share additional information about my previous post: This is the list of exports with which I prevent that the mouse and keyboard events were passed to the terminal and the X11 system from my app: export QT_QPA_EGLFS_PHYSICAL_WIDTH=155 export QT_QPA_EGLFS_PHYSICAL_HEIGHT=86 export QT_QPA_EGLFS_WIDTH=1024 export QT_QPA_EGLFS_HEIGHT=614 export QT_QPA_EVDEV_KEYBOARD_PARAMETERS=grab=1 export QT_QPA_EVDEV_MOUSE_PARAMETERS=grab=1 export QT_QPA_EGLFS_NO_LIBINPUT=1 Note that export QT_QPA_EGLFS_NO_LIBINPUT=1 is necessary so Qt's own evdev handlers come in to play and consequently QT_QPA_EVDEV* options take into account. That is what I could verify. Qt for Embedded Linux Using libinput ... If libinput support is not available or the environment variable QT_QPA_EGLFS_NO_LIBINPUT is set, Qt's own evdev handlers come in to play. Also, as a comment, I tried this configuration, first with a mouse and keyboard controlled with a same USB (Logitech) and like that: the keyboard worked correctly but not the mouse. So I decided to try with independent mouse and keyboard, and now both (mouse & keyboard) work correctly. Nor do I have to run my application with SUDO or SUDO -E, since the directory /dev/input/event* has read/write permissions for the 'input' group and my user is part of that group. Regards!
  • Reading and Writing JSON

    Solved
    8
    0 Votes
    8 Posts
    1k Views
    VineelaV
    @sankarapandiyan I've marked it Solved long back.
  • Building for Android on a Windows host using OpenSSL

    Solved
    4
    0 Votes
    4 Posts
    652 Views
    SGaistS
    You can get the version used when building Qt using QSslSocket::sslLibraryBuildVersionString.
  • .pro.user / shared to repository

    Unsolved share project settings
    3
    0 Votes
    3 Posts
    1k Views
    aha_1980A
    @iwlf As @LeLev said, the pro.user cannot be shared and should not be checked into version control systems.
  • How to pair/bond Bluetooth Low Energy devices on Android/embedded linux/IOS?

    Unsolved
    3
    1 Votes
    3 Posts
    673 Views
    F
    Hi, Any solution so far... Thanks, Br, Frank
  • Incrementing String value

    Solved
    14
    0 Votes
    14 Posts
    2k Views
    sankarapandiyanS
    please mark the topic as solved
  • Qt OpenGL Graphics Application on Linux

    Unsolved
    2
    0 Votes
    2 Posts
    525 Views
    SGaistS
    Hi and welcome to devnet, I would check with the board documentation whether there's some mirroring that could be implemented at the lowest level.
  • How to get WiFi MAC address of Android device ?

    Solved
    17
    0 Votes
    17 Posts
    8k Views
    raven-worxR
    @Pradeep-P-N Since Android 6.0: https://developer.android.com/about/versions/marshmallow/android-6.0-changes#behavior-hardware-id To provide users with greater data protection, starting in this release, Android removes programmatic access to the device’s local hardware identifier for apps using the Wi-Fi and Bluetooth APIs. The WifiInfo.getMacAddress() and the BluetoothAdapter.getAddress() methods now return a constant value of 02:00:00:00:00:00. To access the hardware identifiers of nearby external devices via Bluetooth and Wi-Fi scans, your app must now have the ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION permissions: WifiManager.getScanResults() BluetoothDevice.ACTION_FOUND BluetoothLeScanner.startScan() Note: When a device running Android 6.0 (API level 23) initiates a background Wi-Fi or Bluetooth scan, the operation is visible to external devices as originating from a randomized MAC address. I recommend you use Java (JNI) to get the WiFi MAC Address. (Add android.permission.ACCESS_WIFI_STATE permission) WifiManager manager = (WifiManager) getSystemService(Context.WIFI_SERVICE); WifiInfo info = manager.getConnectionInfo(); String address = info.getMacAddress(); Note: some Android devices also have a wired network connection (mostly Android TV devices though)
  • QT5, eglfs no DRM device found

    Unsolved
    2
    0 Votes
    2 Posts
    833 Views
    sierdzioS
    Do you have Qt's EGLFS platform plugin compiled and working? Do you have OpenGL drivers installed via raspi-config?