Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.2k Posts
  • Connect Android Device with WiFi from Qt Creator?

    Solved 23 Feb 2020, 00:32
    0 Votes
    3 Posts
    2k Views
    I enabled "USB debugging" and "Wi-Fi debugging". But how does the "Set up Wi-Fi" button work? I tried to press it, but when I disconnect the USB cable, the connection is lost. [image: 506f63f0-b6b1-4ac2-9c01-e9e0efdab9fe.png] I tried the commands from the post above but it doesn't work: E:>adb devices List of devices attached 099284036J008264 device 192.168.1.65:5555 offline E:>adb tcpip 5555 error: more than one device/emulator E:>adb connect 192.168.1.65:5555 cannot connect to 192.168.1.65:5555: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (10060)
  • 0 Votes
    1 Posts
    145 Views
    No one has replied
  • QT 5.15 - ToradexIMX8mp

    Unsolved 26 Mar 2024, 05:11
    0 Votes
    2 Posts
    187 Views
    @sanket_1989 said in QT 5.15 - ToradexIMX8mp: While running the application in different screen its cant adept the screen size runtime Are you using layouts? "it is open in new window instead of in QGraphics view" - show your code and also tell us what OS and window manager is running on your board.
  • QML: audio plays correctly but the video doesn't

    Moved Unsolved 16 Jul 2023, 06:36
    1 Votes
    2 Posts
    478 Views
    @Nekk I meet the same situation on Yocto Kirkstone for iMX8.
  • 0 Votes
    6 Posts
    1k Views
    I caused the problem myself: Check for details Not sure if anything I learned applies to you.
  • 0 Votes
    169 Posts
    62k Views
    @esnosy said in Unable to debug Android App (Windows + Qt Creator 12 + LLDB): EDIT: I take it back Does that mean, you are still struggling?
  • This topic is deleted!

    Unsolved 26 Mar 2024, 01:30
    0 Votes
    1 Posts
    14 Views
    No one has replied
  • 0 Votes
    3 Posts
    259 Views
    @jsulm Thank you for your confirmation. AI, whether it's GPT-3.5 or 4.0, cannot distinguish whether it is referring to Qt 5 or Qt 6, which is really frustrating!
  • Low quality pen strokes in QTablet Example

    Unsolved 14 Mar 2024, 17:13
    0 Votes
    4 Posts
    297 Views
    Anyone has any idea?
  • 0 Votes
    2 Posts
    303 Views
    Never mind.. This is, apparently, the same issue as https://forum.qt.io/topic/143745/qtvirtualkeyboard-fails-on-embedded-buildroot-5-15-8. Switching from GCC 11 to GCC 10 "fixes" the issue.
  • Yocto Qt5 GUI App not running on RPi3

    Unsolved 21 Mar 2024, 04:13
    0 Votes
    4 Posts
    429 Views
    @aashishqt You're welcome to enable eglfs, in your local.conf add DISTRO_FEATURES_remove = "X11 wayland" then in qtbase_%.bbappend add PACKAGECONFIG_append = " eglfs" qtbase_%.bbappend is found in meta-qt5 under recipes-qt, qt5 folder.
  • yocto build on qtxmlpatterns failed on Qt5.11

    Unsolved 20 Mar 2024, 12:23
    0 Votes
    2 Posts
    183 Views
    @Kaijun said in yocto build on qtxmlpatterns failed on Qt5.11: When I built qtxmlpatterns with yocto for arm, it failed with following messages, has anyone experienced this issue? DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dependencies are ['/home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-core/glibc/glibc_2.37.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-devtools/gcc/gcc-cross_12.2.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-devtools/gcc/gcc-runtime_12.2.bb:do_populate_sysroot', '/home/kaijun/Projects/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/kaijun/Projects/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/kaijun/Projects/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in sysroot: ['qtbase-native', 'qtbase', 'glibc', 'gcc-cross-arm', 'gcc-runtime', 'quilt-native', 'patch-native', 'pseudo-native', 'libtool-native', 'attr-native', 'dbus-native', 'zlib-native', 'xcb-util-keysyms', 'freetype', 'xkeyboard-config', 'libjpeg-turbo', 'systemd', 'xcb-util-renderutil', 'libxkbcommon', 'zlib', 'libxi', 'libpng', 'xcb-util-wm', 'libxcb', 'openssl', 'mesa', 'xcb-util-image', 'dbus', 'zstd-native', 'texinfo-dummy-native', 'binutils-cross-arm', 'xz-native', 'mpfr-native', 'gnu-config-native', 'libmpc-native', 'linux-libc-headers', 'gmp-native', 'flex-native', 'libgcc', 'gettext-minimal-native', 'expat-native', 'glib-2.0-native', 'util-macros', 'shadow', 'opkg-utils', 'shadow-sysroot', 'zstd', 'libseccomp', 'base-files', 'libcap', 'bash-completion', 'shadow-native', 'util-linux', 'acl', 'kmod', 'base-passwd', 'libxml2', 'wayland', 'wayland-protocols', 'libxfixes', 'xorgproto', 'libxext', 'libxdmcp', 'xcb-proto', 'libxau', 'libpthread-stubs', 'vulkan-loader', 'libdrm', 'libxshmfence', 'xrandr', 'libx11', 'vulkan-headers', 'libxxf86vm', 'libxdamage', 'expat', 'xcb-util', 'libsm', 'autoconf-archive', 'glib-2.0', 'm4-native', 'cmake-native', 'util-linux-native', 'libpcre2-native', 'python3-native', 'libffi-native', 'gettext-native', 'libxcrypt', 'attr', 'util-linux-libuuid', 'libcap-ng', 'ncurses', 'xz', 'python3', 'libffi', 'libxrandr', 'libpciaccess', 'libxrender', 'xtrans', 'libice', 'libpcre2', 'openssl-native', 'ncurses-native', 'bzip2-native', 'util-linux-libuuid-native', 'libcap-ng-native', 'libnsl2-native', 'gdbm-native', 'libtirpc-native', 'readline-native', 'sqlite3-native', 'sqlite3', 'libtirpc', 'readline', 'gdbm', 'bzip2', 'libnsl2', 'perl-native', 'make-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function qmake5_base_preconfigure | DEBUG: Shell function qmake5_base_preconfigure finished | DEBUG: Executing shell function do_configure | NOTE: qmake prevar substitution: ' ' | /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/git/.qmake.conf:1: Cannot find feature qt_build_config | Cannot find feature spec_pre.prf | Error processing project file: /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/git/qtxmlpatterns.pro | ERROR: Error calling /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/recipe-sysroot-native/usr/bin/qt5/qmake -makefile -o Makefile /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/git/qtxmlpatterns.pro -- | WARNING: /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227:207 exit 1 from 'exit 1' | WARNING: Backtrace (BB generated script): | #1: bbfatal_log, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 207 | #2: die, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 197 | #3: qmake5_base_do_configure, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 183 | #4: do_configure, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 151 | #5: main, /home/kaijun/Projects/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.11+gitAUTOINC+e4abf2c6e3-r0/temp/run.do_configure.189227, line 211 ERROR: Task (/home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 1821 tasks of which 1820 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/kaijun/Projects/poky/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_configure Summary: There were 66 WARNING messages. Summary: There were 2 ERROR messages, returning a non-zero exit code. When I built qtbase and qtbase-native, they use configure, but qtxmlpatterns uses qmake to configure instead, why?
  • What’s the app size on mobile

    Solved 5 Mar 2024, 20:33
    0 Votes
    6 Posts
    557 Views
    @Tahar it is likely, yes.
  • Build PySide6 application for Android

    Unsolved 3 Oct 2021, 14:58
    1 Votes
    3 Posts
    7k Views
    Hi, To complement WikiManiac's answer, I have recently re-discovered pyqtdeploy. Although there is documentation online about pyqtdeploy, it is hard to figure out specific steps to set up the tool. I have decided to update the documentation and upgrade a bit the tool on my side first. If you wish to convert your PyQt5 apps into Android apps, follow the in-depth tutorial on https://github.com/achille-martin/pyqt-crom. There is no official support for PyQt6 in my repo yet though. So please start with PyQt5 to build prototypes and I am expected to add support for PyQt6 later.
  • 0 Votes
    13 Posts
    2k Views
    Update : i changed os from Raspbian Bookworm to Ubuntu 23.10 and i can display Webpage without any error! Conclusion: bookworm was the cause and not wayland
  • Qt Notifier example app does not work

    Solved 17 Mar 2024, 09:32
    1 Votes
    2 Posts
    255 Views
    I found the solution. Add android.permission.POST_NOTIFICATIONS to AndroidManifest.xml. This is a requirement as of Android 13.
  • 0 Votes
    1 Posts
    194 Views
    No one has replied
  • I have a problem in building a file

    Unsolved 12 Mar 2024, 15:10
    0 Votes
    2 Posts
    209 Views
    @ansh1234 said in I have a problem in building a file: E:sdkndk21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ Is this path valid (if you add missing slashes)?
  • 0 Votes
    3 Posts
    274 Views
    gdb call stack: (gdb) bt #0 QAbstractSlider::isSliderDown() const (this=0x0) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+358aebba72-r0/git/src/widgets/widgets/qabstractslider.cpp:482 #1 0x0000005555560b90 in () #2 0x0000007ff6b14a34 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffe378, r=<optimized out>, this=0x55556d9890) at ../../include/QtCore/../../../git/src/corelib/kernel/qobjectdefs_impl.h:398 #3 doActivate<false>(QObject*, int, void**) (sender=0x55555bd7f0, signal_index=14, argv=0x7fffffe378) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+358aebba72-r0/git/src/corelib/kernel/qobject.cpp:3919 #4 0x0000007ff6b0d664 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7fffffe378) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+358aebba72-r0/git/src/corelib/kernel/qobject.cpp:3979 #5 0x0000007ff7ef1134 in QMediaPlayer::positionChanged(long long) (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qmediaplayer.cpp:751 #6 0x0000007ff6b14a34 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffe4a8, r=<optimized out>, this=0x55556d3b30) at ../../include/QtCore/../../../git/src/corelib/kernel/qobjectdefs_impl.h:398 #7 doActivate<false>(QObject*, int, void**) (sender=0x55556bf130, signal_index=5, argv=0x7fffffe4a8) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+358aebba72-r0/git/src/corelib/kernel/qobject.cpp:3919 #8 0x0000007ff6b0d664 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55556bf130, m=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffffe4a8) at /usr/src/debug/qtbase/5.15.7+gitAUTOINC+358aebba72-r0/git/src/corelib/kernel/qobject.cpp:3979 #9 0x0000007ff7ee3e64 in QMediaPlayerControl::positionChanged(long long) (this=this@entry=0x55556bf130, _t1=<optimized out>) at .moc/moc_qmediaplayercontrol.cpp:344 #10 0x0000007ff501611c in QGstreamerPlayerControl::setMedia(QMediaContent const&, QIODevice*) (this=0x55556bf130, content=..., stream=0x0) at /usr/src/debug/qtmultimedia/5.15.7+gitAUTOINC+eeb34aae03-r0/git/src/gsttools/qgstreamerplayercontrol.cpp:403 #11 0x0000007ff7ef1bb4 in QMediaPlayerPrivate::setMedia(QMediaContent const&, QIODevice*) (this=this@entry=0x55555bd810, media=..., stream=stream@entry=0x0) at /usr/src/debug/qtmultimedia/5.15.7+gitAUTOINC+eeb34aae03-r0/git/src/multimedia/playback/qmediaplayer.cpp:412 #12 0x0000007ff7ef4b90 in QMediaPlayer::setMedia(QMediaContent const&, QIODevice*) (this=0x55555bd7f0, media=..., stream=0x0) at /usr/src/debug/qtmultimedia/5.15.7+gitAUTOINC+eeb34aae03-r0/git/src/multimedia/playback/qmediaplayer.cpp:1094 #13 0x0000005555561db4 in () #14 0x000000555555e4c4 in main ()
  • Environmental problems in qt5.6.2

    Unsolved qt5 12 Mar 2024, 07:48
    0 Votes
    2 Posts
    328 Views
    @hellotiger Run glmark2-es2-drm and glmark2-es2-wayland on the arm board to check that the gpu runs normally, and the display is normal.