Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.3k Posts
  • How to change Qt (& QMake) version in Yocto build???

    Unsolved
    1
    0 Votes
    1 Posts
    291 Views
    No one has replied
  • 0 Votes
    2 Posts
    842 Views
    O
    So I've worked out how to do this. Actually quite simple once you know how. Just needed to add the following in the local.conf file: SDKMACHINE = "x86_64-mingw32" SDK_ARCHIVE_TYPE = "zip" Then it was just a simple matter of copying the zip file from the the Unbuntu system by typing \wls$ into windows explorer to find, copy and then extracting the zip file into a windows folder. My only challenges now are that the Qt version is wrong and the CMake version is wrong. Can anyone tell me how to ensure that the SDK has the right version of Qt? I am using 5.12.11 at the moment and my SDK is build for 5.12.10. It would also be appreciated if someone could advise how to ensure the SKD is build with the most up to date CMake version.
  • Error QT Android SDK configuration

    Unsolved
    2
    0 Votes
    2 Posts
    267 Views
    KroMignonK
    @Creatorczyk You have to install android sdk tools, look at those posts: https://forum.qt.io/post/678841 https://forum.qt.io/post/585927
  • QtPurchasing

    Unsolved
    3
    0 Votes
    3 Posts
    313 Views
    J.HilkJ
    @unclebenedict the api/targetsdk should be independent from the Qt version you use. You control that via the AndroidManifest file QtPurchasing was dropped in Qt6 and one is supposed to use the native apis instead of the Qt Wrapper. There are supposed to be examples for how to do this, but the related ticket: https://bugreports.qt.io/browse/QTBUG-82847 is still work in progress 🤷‍♂️ So, coming soon ™️
  • Building QtMqtt Library on Windows

    Unsolved
    6
    0 Votes
    6 Posts
    537 Views
    SGaistS
    If you have external libraries you have to add them to the deployment.
  • Do QLocalSockets need a QLocalServer to work?

    Unsolved
    4
    0 Votes
    4 Posts
    593 Views
    JonBJ
    @DannySW I'm not sure that they aren't sill "peer to peer" though. In Unix both sides just use a socket(), they simply call different functions on it for server/client at the connection/disconnection phase. I haven't looked at the Qt sources, but I think they have just separated them into two classes so that you know which side you are using, and you can only call client vs server functionality in the respective one, but otherwise similar. The QLocalSocket docs do say: On Windows this is a named pipe and on Unix this is a local domain socket. UPDATE OK, I looked at the docs of what each do. The key is QLocalSocket *QLocalServer::nextPendingConnection() Returns the next pending connection as a connected QLocalSocket object. So that's the connected socket (after accept()) at the server side, to read/write on like at the client side, a QLocalSocket on both sides. QServerSocket encapsulates just the connections part of what you do with the listening socket in Unix.
  • Android BLE scanner example crashed

    Unsolved
    2
    0 Votes
    2 Posts
    527 Views
    M
    @martinknocik The problem is caused by Virtualbox, i have installed QtCreator inside virtual Lubuntu. Barebone is Linux Mint. If place Ble example file inside virtualbox guest os directory, everything works. But if place BLE xxample inside shared folder, BLE example is crashing/restarting. Maybe some problem with FIle permissions ?
  • Raspberry Os Lite USB touchscreen issues

    Unsolved
    3
    0 Votes
    3 Posts
    253 Views
    S
    with this variables environment works, but if I set height and width then the labels in the gui appear very tiny DISPLAY=:0.0 LD_LIBRARY_PATH=/opt/vc/lib QT_QPA_EGLFS_NO_LIBINPUT=1 QT_QPA_EGLFS_PHYSICAL_HEIGHT=800 QT_QPA_EGLFS_PHYSICAL_WIDTH=1280 QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event0:rotate=180 QT_QPA_PLATFORMTHEME=qt5ct XAUTHORITY=/home/pi/.Xauthority XDG_SESSION_TYPE=x11
  • clicking on QDialog won't bring it to front on android.

    Unsolved
    1
    0 Votes
    1 Posts
    156 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • QFile in AppDataLocation not readable/writeable

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    SeDiS
    @SGaist said in QFile in AppDataLocation not readable/writeable: Here may be the issue. And there, indeed, it was. After import, setting file.setPermissions(QFileDevice::WriteUser|QFileDevice::ReadUser|QFileDevice::WriteOwner|QFileDevice::ReadOwner); does the trick. Thank you very much, @J-Hilk and @SGaist!
  • Save audio files on iOS in a location accessible with Files application

    Solved
    2
    0 Votes
    2 Posts
    201 Views
    SGaistS
    Hi, This article describes what you need to configure to make your app share its files. Note that this is not Qt but the configuration can still be used.
  • How to build QtMultimedia with GStreamer backend for Andoird

    Unsolved
    1
    0 Votes
    1 Posts
    147 Views
    No one has replied
  • Enable 'Debug' in QT creator for mcu

    Unsolved
    1
    0 Votes
    1 Posts
    184 Views
    No one has replied
  • Read HX711 on Raspberry Pi 3

    Unsolved
    2
    0 Votes
    2 Posts
    327 Views
    jsulmJ
    @asluc On which platform are you developing? You will need this library compiled with same compiler you're using for your application. How to add a library to a project is described here: https://doc.qt.io/qtcreator/creator-project-qmake-libraries.html
  • Android notification putExtra() from Service

    Unsolved
    1
    0 Votes
    1 Posts
    289 Views
    No one has replied
  • Automatically Start Application on mobile Startup

    Unsolved
    4
    0 Votes
    4 Posts
    345 Views
    KroMignonK
    @Ketan__Patel__0011 said in Automatically Start Application on mobile Startup: Is there any way to start the application when mobile is on after Reboot process. Not really without rooting the device. You can start service at boot, but only if app has been (after each new install/update) started at least once by user and user has allow it (because of android security rules).
  • Qt remote coding issue

    Unsolved
    6
    0 Votes
    6 Posts
    489 Views
    said_osloS
    @jsulm Yes, QtDesigner can write and save allowed
  • Qt Android set package name through Gradle or .pro file?

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    SyntaXS
    The only problem, I encountered so far, is that if I have two apps (the same build, but one with an additional applicationIdSuffix) installed on the device and try to deploy and run from within Qt Creator, the one without the suffix is started. If there is only the suffix-app installed, deploy and run does nothing :/ Is there any way to specify which app to start from the Qt settings? best regards Michael
  • Problème de compilations Qt5.14.1

    Unsolved
    4
    0 Votes
    4 Posts
    465 Views
    P
    Bonjour Osemo Ndjudi, Et non malheureusement je n'ai toujours pas de solutions à ce problème.. Bien cordialement.