Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.2k Topics 62.9k Posts
  • The image is cropped diagonally

    Unsolved
    8
    0 Votes
    8 Posts
    122 Views
    SGaistS
    @woodpecker said in The image is cropped diagonally: Okay, I'll give it a try. I've never written a bug report before... Don't worry, it's not as complicated as it might sound: Describe precisely your issue Give the full context on when/how it happens (what action(s) must be done to trigger it) Provide a minimal compilable project that shows that behaviour / allows to trigger it. And done !
  • QT_FEATURE_opengles32 in meta-toolchain-qt6 for iMX6DL

    Unsolved
    1
    0 Votes
    1 Posts
    32 Views
    No one has replied
  • How to support older Android Version with Qt 6.10!

    Solved
    3
    0 Votes
    3 Posts
    153 Views
    J
    thx sierdzio, you are right... itÄs not worth to support Android 8. I will use Qt 6.10... and unfortunately I cannot use my dusty old Android devices for development purposes.
  • QEvent::TabletMove not firing on Android when pen moves quickly after touch

    Unsolved android
    3
    0 Votes
    3 Posts
    134 Views
    V
    Here is the application output when tracing the screen twice with the pen: 10:01:25: Android target "org.qtproject.example.MobileTablet" terminated. I/le.MobileTablet: Late-enabling -Xcheck:jni I/le.MobileTablet: Using CollectorTypeCMC GC. D/nativeloader: Load libframework-connectivity-tiramisu-jni.so using APEX ns com_android_tethering for caller /apex/com.android.tethering/javalib/framework-connectivity-t.jar: ok D/CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10306; state: ENABLED D/CompatibilityChangeReporter: Compat change id reported: 242716250; UID 10306; state: ENABLED D/nativeloader: Configuring clns-6 for other apk /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk. target_sdk_version=36, uses_libraries=, library_path=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/lib/arm64:/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/org.qtproject.example.MobileTablet D/nativeloader: Load libframework-connectivity-jni.so using APEX ns com_android_tethering for caller /apex/com.android.tethering/javalib/framework-connectivity.jar: ok V/GraphicsEnvironment: Currently set values for: V/GraphicsEnvironment: angle_gl_driver_selection_pkgs=[] V/GraphicsEnvironment: angle_gl_driver_selection_values=[] V/GraphicsEnvironment: ANGLE GameManagerService for org.qtproject.example.MobileTablet: false V/GraphicsEnvironment: org.qtproject.example.MobileTablet is not listed in per-application setting V/GraphicsEnvironment: App is not on the allowlist for updatable production driver. D/CompatibilityChangeReporter: Compat change id reported: 183155436; UID 10306; state: ENABLED D/MbrainDebugManagerImpl: getService failed D/libMEOW : meow new tls: 0xb400006efb5ff0b0 D/libMEOW : meow reload base cfg path: na D/libMEOW : meow reload overlay cfg path: na W/QT : qt_process_init() called E/QT : [QT]file does not exist W/QT : Support!! D/libMEOW : applied 0 plugin for [org.qtproject.example.MobileTablet]. D/libMEOW : rebuild call chain: 0xb400006efb5cf080 D/libMEOW : meow delete tls: 0xb400006efb5ff0b0 D/CompatibilityChangeReporter: Compat change id reported: 247079863; UID 10306; state: ENABLED W/le.MobileTablet: ClassLoaderContext parent mismatch. (PCL[] | PCL[];PCL[/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk*3949881819]) D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libc++_shared.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libQt6Core_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok I/QtCore : Start D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libQt6Gui_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libQt6Widgets_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libQt6Svg_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libQt6Network_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libQt6OpenGL_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libQt6Qml_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libQt6QmlModels_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libQt6QmlWorkerScript_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libQt6QmlMeta_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libQt6Quick_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libQt6VirtualKeyboard_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libplugins_platforms_qtforandroid_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok I/Qt : Qt platform plugin started D/nativeloader: Load /data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk!/lib/arm64-v8a/libMobileTablet_arm64-v8a.so using class loader ns clns-6 (caller=/data/app/~~GOZeW_WaqPAmQ16ve5Oomw==/org.qtproject.example.MobileTablet-YoP76MFWqX6LEnzPk2LCzQ==/base.apk): ok I/M-ProMotion: M-ProMotion is disabled D/CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10306; state: ENABLED I/SurfaceFactory: [static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@f0a7a7c D/CompatibilityChangeReporter: Compat change id reported: 237531167; UID 10306; state: DISABLED W/OpenGLRenderer: Unknown dataspace 0 D/VRI[QtActivity]: hardware acceleration = true, forceHwAccelerated = false D/nativeloader: Load libpowerhalwrap_jni.so using system ns (caller=/system_ext/framework/mediatek-framework.jar): ok I/PowerHalWrapper: PowerHalWrapper.getInstance D/libMEOW : meow new tls: 0xb400006efb5cf080 D/libMEOW : applied 0 plugin for [org.qtproject.example.MobileTablet]. D/libMEOW : rebuild call chain: 0xb400006efb5df090 D/InputTransport: Create ARC handle: 0xb400006f9b59f1e0 D/InputEventReceiver: Input log is disabled in InputEventReceiver. D/InputTransport: Input log is disabled in InputChannel. D/BufferQueueConsumer: [](id:58d000000000,api:0,p:-1,c:22736) connect: controlledByApp=false E/FBI : Can't load library: dlopen failed: library "libmagtsync.so" not found D/libMEOW : meow new tls: 0xb400006efb5ef0a0 D/libMEOW : applied 0 plugin for [org.qtproject.example.MobileTablet]. D/libMEOW : rebuild call chain: 0xb400006efb63f0f0 E/OpenGLRenderer: Unable to match the desired swap behavior. D/libMEOW : meow new tls: 0xb400006efb61f0d0 D/libMEOW : applied 0 plugin for [org.qtproject.example.MobileTablet]. D/libMEOW : rebuild call chain: 0xb400006efb64f100 D/BLASTBufferQueue: [VRI[QtActivity]#0](f:0,a:1) acquireNextBufferLocked size=2200x1440 mFrameNumber=1 applyTransaction=true mTimestamp=369794844350688(auto) mPendingTransactions.size=0 graphicBufferId=97650376441857 transform=7 D/default : 0 : QEvent::Polish D/default : 1 : QEvent::PlatformSurface D/default : 2 : QEvent::WinIdChange D/default : 3 : QEvent::WindowIconChange D/default : 4 : QEvent::WindowStateChange D/default : 5 : QEvent::Move D/default : 6 : QEvent::Resize D/default : 7 : QEvent::Show D/default : 8 : QEvent::Resize D/default : 9 : QEvent::Paint Art: Cleared App Profiles. D/BufferQueueConsumer: [](id:58d000000001,api:0,p:-1,c:22736) connect: controlledByApp=false D/BLASTBufferQueue: [SurfaceView[org.qtproject.example.MobileTablet/org.qtproject.qt.android.bindings.QtActivity]#1](f:0,a:1) acquireNextBufferLocked size=2200x1321 mFrameNumber=1 applyTransaction=true mTimestamp=369795041337150(auto) mPendingTransactions.size=0 graphicBufferId=97650376441866 transform=7 D/default : 10 : QEvent::WindowActivate D/default : 11 : QEvent::ActivationChange D/default : 12 : QEvent::InputMethodQuery D/default : 13 : QEvent::InputMethodQuery D/default : 14 : QEvent::InputMethodQuery D/default : 15 : QEvent::InputMethodQuery I/ImeTracker: org.qtproject.example.MobileTablet:c71a8ff8: onRequestHide at ORIGIN_CLIENT_HIDE_SOFT_INPUT reason HIDE_SOFT_INPUT_BY_INSETS_API I/ImeTracker: org.qtproject.example.MobileTablet:c71a8ff8: onCancelled at PHASE_CLIENT_APPLY_ANIMATION D/default : 16 : QEvent::ShowToParent D/default : 17 : QEvent::PolishRequest D/default : 18 : QEvent::UpdateLater D/default : 19 : QEvent::UpdateRequest D/default : 20 : QEvent::Paint Art: Compiled App Profiles. I/le.MobileTablet: Compiler allocated 6094KB to compile void android.view.ViewRootImpl.performTraversals() D/ProfileInstaller: Installing profile for org.qtproject.example.MobileTablet W/default : QObject: Cannot create children for a parent that is in a different thread. W/default : (Parent is QApplication(0x6e8347b6e0), parent's thread is QThread(0xb400006fdb56af30), current thread is QThread(0xb400006fdb582e90) W/default : QObject: Cannot create children for a parent that is in a different thread. W/default : (Parent is QApplication(0x6e8347b6e0), parent's thread is QThread(0xb400006fdb56af30), current thread is QThread(0xb400006fdb582e90) D/default : 21 : QEvent::TabletPress D/default : 22 : QEvent::UpdateRequest D/default : 23 : QEvent::Paint D/default : 24 : QEvent::TabletMove D/default : 25 : QEvent::InputMethodQuery D/default : 26 : QEvent::InputMethodQuery D/default : 27 : QEvent::InputMethodQuery D/default : 28 : QEvent::InputMethodQuery D/default : 29 : QEvent::UpdateRequest D/default : 30 : QEvent::Paint D/default : 31 : QEvent::InputMethodQuery D/default : 32 : QEvent::InputMethodQuery D/default : 33 : QEvent::InputMethodQuery D/default : 34 : QEvent::InputMethodQuery D/default : 35 : QEvent::InputMethodQuery D/default : 36 : QEvent::InputMethodQuery D/default : 37 : QEvent::InputMethodQuery D/default : 38 : QEvent::TabletRelease D/default : 39 : QEvent::UpdateRequest I/ScrollIdentify: on fling D/default : 40 : QEvent::Paint D/default : 41 : QEvent::ToolTip W/le.MobileTablet: userfaultfd: MOVE ioctl seems unsupported: Connection timed out D/default : 42 : QEvent::TabletPress D/default : 43 : QEvent::UpdateRequest D/default : 44 : QEvent::Paint D/default : 45 : QEvent::TabletMove D/default : 46 : QEvent::UpdateRequest D/default : 47 : QEvent::Paint D/default : 48 : QEvent::InputMethodQuery D/default : 49 : QEvent::InputMethodQuery D/default : 50 : QEvent::InputMethodQuery D/default : 51 : QEvent::InputMethodQuery D/default : 52 : QEvent::InputMethodQuery D/default : 53 : QEvent::InputMethodQuery D/default : 54 : QEvent::InputMethodQuery D/default : 55 : QEvent::TabletRelease D/default : 56 : QEvent::UpdateRequest I/ScrollIdentify: on fling D/default : 57 : QEvent::Paint D/default : 58 : QEvent::ToolTip
  • How to exclude unnecessary libraries from Android APK?

    Unsolved
    3
    0 Votes
    3 Posts
    123 Views
    X
    Thanks for the reply, I didn't realize that I wouldn't get any notifications for replies (or at least I don't see anything in the notifications history here nor any emails about it). I don't see how the --copy-dependencies-only option would be helpful though, especially since I don't see a matching option to continue building the APK afterwards, unless I'm supposed to run ./gradlew assembleDebug or similar to do so. I did try running the same androiddeployqt command that Qt Creator seems to run but with the --copy-dependencies-only option added, then deleting the FluentWinUI3 style libraries to start with and then running ./gradlew installDebug, which did seem to shrink the installed app's size in the emulator but made the app crash. I also tried to use the QT_ANDROID_DEPLOYMENT_DEPENDENCIES CMake target property by setting it to all the dependencies reported by androiddeployqt's verbose output when run by Qt Creator, with that method when I remove the FluentWinUI3 style files from the list I do get a smaller APK and the app runs, however the Magnetometer object from the QtSensors library appears to break instead, it is no longer able to give me any readings, and it works again if I remove the QT_ANDROID_DEPLOYMENT_DEPENDENCIES CMake property. The Magnetometer object still refuses to work even after I add back that FluentWinUI3 stuff, so the number of dependencies reported by androiddeployqt is the same before and after I add the CMake property. I don't see any log entries even in debug mode, the start method of the magnetometer just returns false, the connectedToBackend property is false and the error code stays 0 so I can't tell exactly what the issue is (it's the same behavior I observe if I run the app on my Linux desktop natively which lacks the sensor at all). So, it seems like with either the --copy-dependencies-only androiddeployqt method or the QT_ANDROID_DEPLOYMENT_DEPENDENCIES CMake method there's a missing step somewhere that breaks things one way or the other. Although I do see that the documentation page for that CMake variable says that the order of the dependencies in the list matters, so next step for me will be to inspect the dependency order in the androiddeployqt verbose output and try rearranging things to see if that makes a difference, since the order is currently just the order androiddeployqt copies the files.
  • Embedded Qt Mouse Pointer Not Showing Up

    embedded qcursor cursor
    2
    0 Votes
    2 Posts
    2k Views
    P
    In my case I had to: qunsetenv("QT_QPA_EGLFS_HIDECURSOR"); For framebuffer it would be: qunsetenv("QT_QPA_FB_HIDECURSOR"); Yes this is an ancient post, but it still comes up top in google.
  • MediaPlayer VideoOutput SIGSEGV gst_v4l2_object_fill_format_list

    Unsolved
    14
    0 Votes
    14 Posts
    2k Views
    P
    With player.source = "gstreamer-pipeline:v4l2src device=/dev/video4 ! capsfilter caps=video/x-raw,width=720,height=480,framerate=30/1" Segfault 1 format_cmp_func gstv4l2object.c 1328 0xffffcf22524c 2 g_slist_insert_sorted_real gslist.c 862 0xfffff6143070 3 g_slist_insert_sorted gslist.c 913 0xfffff6143a5c 4 gst_v4l2_object_fill_format_list gstv4l2object.c 1376 0xffffcf2243a4 5 gst_v4l2_object_get_format_list gstv4l2object.c 1425 0xffffcf224874 6 gst_v4l2_object_probe_caps gstv4l2object.c 5446 0xffffcf230414 7 gst_v4l2_object_get_caps gstv4l2object.c 5635 0xffffcf230a74 8 gst_base_src_default_query gstbasesrc.c 1373 0xffffe16fae8c 9 gst_pad_query gstpad.c 4252 0xffffe15c0d28 10 gst_pad_query_caps gstutils.c 3117 0xffffe160af8c 11 gst_v4l2src_negotiate gstv4l2src.c 788 0xffffcf23b584 12 gst_base_src_negotiate_unlocked gstbasesrc.c 3502 0xffffe16f543c 13 gst_base_src_loop gstbasesrc.c 2920 0xffffe16f7780 14 gst_task_func gsttask.c 399 0xffffe15fb354 15 g_thread_pool_thread_proxy gthreadpool.c 336 0xfffff615325c 16 g_thread_proxy gthread.c 890 0xfffff6152b40 17 start_thread pthread_create.c 448 0xfffff656085c 18 thread_start clone3.S 76 0xfffff65c40cc
  • 0 Votes
    2 Posts
    77 Views
    J.HilkJ
    @serkan_tr Qt itself should not be the problem here. Accessing USB via Android/iOS is not trivial in itself. Android is easier, you can set in the android manifest <uses-feature android:name="android.hardware.usb.host" /> and then use QtAndroid / QJni objects to interface with that via C++. You still need to handle the user permission dialog via the Android USB Host API. Apple is not so lenient with hardware access, your device needs either one or preferably all of these conditions: MFi certificated (Made for iPhone/iPad) contain an Apple authentication chip expose supported accessory protocols Then you can use the ExternalAccessory.framework via Objective-C. There is no direct Qt interface for Objective-C, but like most C-related things, you can integrate *.mm files into your C++ code directly.
  • Qt6 Android app crashes on Redmi Note 8 Pro when QDialog is accepted

    Unsolved
    2
    0 Votes
    2 Posts
    83 Views
    Axel SpoerlA
    Hi, please provide a simple, compilable reproducer. Yours doesn't compile, because you are using a UI file which is not posted. It also would make the reproducer too large. My wild guess is that you have a use-after-free, which randomly works when the freed memory hasn't been re-used and crashes when it has been re-used. Either simplify this further, preferably into one single file. Or, at least, through debug statements in all your destructors and observe what happens. Please also provide a stack trace.
  • Qt Device Tree Overlay

    Unsolved
    4
    0 Votes
    4 Posts
    170 Views
    SGaistS
    Hi, A simple google search for qt developer mailing list gives you the right place.
  • Android back button is closing application

    Solved
    4
    0 Votes
    4 Posts
    355 Views
    A
    Looks like this is a bug in 6.10.2. It works with both 6.9.3 and 6.11.0
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    12 Views
    No one has replied
  • QT6.8.6 compatibility issue on iOS SDK 26.x OpenSSL

    Unsolved
    7
    0 Votes
    7 Posts
    735 Views
    C
    yes, agree. will seek for qt upgrading.
  • Udp Socket in an Android foreground service sleeps

    Unsolved qudpsocket qtservice android
    1
    0 Votes
    1 Posts
    190 Views
    No one has replied
  • OpenSSL with Qt for iOS. How?

    Unsolved
    2
    0 Votes
    2 Posts
    329 Views
    C
    Need build Qt for iOS from qt source code and openssl apple.
  • Qt on Android and Linux vs Kotlin

    Unsolved
    2
    1 Votes
    2 Posts
    1k Views
    No one has replied
  • 0 Votes
    1 Posts
    111 Views
    No one has replied
  • 0 Votes
    2 Posts
    215 Views
    Axel SpoerlA
    Hi and welcome to the Qt Forum, touch handling has been refactored in Qt 6, and 5.12 has been EOL for a long time. Please upgrade to a newer Qt Version, preferably >= 6.5.
  • QTextEdit goes underneath android keyboard when editing

    Solved
    5
    0 Votes
    5 Posts
    506 Views
    B
    I've found a workaround - since the QTextEdit initially is the correct size when I open the keyboard, I can call setMaximumHeight(this->size().height()), which prevents it from growing vertically on these other events. In other words, for a QTextEdit* editor, you would: QTextEdit* editor = /* anything here, or if you're using this inside a QTextEdit subclass, use "this" instead... */; QApplication* app = (QApplication*) (QApplication::instance()); QObject::connect(app->inputMethod(), &QInputMethod::keyboardRectangleChanged, [&]() { if (app->inputMethod()->keyboardRectangle().height() == 0) // keyboard is closed editor->setMaximumHeight(QWIDGETSIZE_MAX); else // keyboard is open, limit maximum vertical height editor->setMaximumHeight(editor->height()); }); This happens to work for my use case, but might fail others...
  • meta-qt6 static build - eglfs - Qt6::EglFSDeviceIntegrationPrivate not found

    Unsolved
    1
    0 Votes
    1 Posts
    124 Views
    No one has replied