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
  • how to create custom font awesome icon in qt ?

    Solved
    2
    0 Votes
    2 Posts
    443 Views
    M
    Hi @Qt-embedded-developer , I have created this tool exactly to do that: https://github.com/mnesarco/ff-batch Cheers, Frank.
  • How to set Android Target Architecture in Qt?

    Unsolved android androidqt androiddeployqt qt5.14.1
    10
    1 Votes
    10 Posts
    6k Views
    sierdzioS
    Post your environment information (OS, Qt version, Qt Creator version) Are Android SDK & NDK installed and set up in Qt Creator? Have you selected the architecture in Projects->Build pane of Qt Creator? Is this a new project or some older one which you are porting to newer Qt version?
  • EGLFS app freezes terminal on exit

    Unsolved
    3
    0 Votes
    3 Posts
    491 Views
    S
    You are right, I was sure my app is long gone and it doesn't matter as I can see bash prompt and all that... but when I exit it manually (by quit()), there is no problem.
  • How to set attribute for QStylePainter ?

    Unsolved
    3
    0 Votes
    3 Posts
    271 Views
    Q
    @SGaist So what i need to do to its white background to transparent so i can see transparent label
  • how to rotate font awesome icon in qt

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    Q
    i have created child class for inherited base class label . then in child class i used paint event , in same event i used below QStylePainter to rotate my font awesome icon like below QStylePainter painter(this); QFont font1; font1.setFamily("FontAwesome"); font1.setPixelSize(30); painter.setFont(font1); painter.rotate(90); painter.drawText(0, 0, ICON_BOLT);
  • QT with iOS Notification build failed

    Unsolved
    1
    0 Votes
    1 Posts
    229 Views
    No one has replied
  • Looking for discussion about crosscompiling and TCF

    Unsolved
    7
    0 Votes
    7 Posts
    767 Views
    A
    Here is the most comprehensible , well written and with examples, cross-compiling tutorial so far. Includes QtCreator and is build for Raspberry Pi. https://mechatronicsblog.com/cross-compile-and-deploy-qt-5-12-for-raspberry-pi/ The above link is very similar to this one https://wiki.qt.io/RaspberryPi2EGLFS On clausal look - these tutorials seems to "put lots of stuff" on target hardware. The "synchronization" step / process is scary - takes forever and seem to pass anything imaginable. All I want is C++ and I am getting python and office "stuff" plus some. .
  • 0 Votes
    8 Posts
    2k Views
    SGaistS
    You should check the configure logs to see exactly what is failing. You should also do an out of source build so you can more easily nuke and restart when you change something or you have an error and need to restart.
  • How to handle multiple click event at same time?

    Unsolved
    10
    0 Votes
    10 Posts
    910 Views
    S
    Your application hang means crash? or just cannot to anything? if the situation is later, I think you need to anyother thread to process your video issue. You need to use qtconcurrent to capture your video. If you use main thread to capture the video, your application can't do other thing(ex:detect click)
  • Android Target SDK version being reduced

    Unsolved android build apk
    5
    1 Votes
    5 Posts
    4k Views
    R
    @ConnorLee I have the same issue with my installation. I did not notice the problem earlier, but then I updated Android SDK to the latest version and after that I can't deploy my app any more to any device. QtCreator says "Android settings are OK. (SDK Version: 3.0, NDK Version: 21.3.6528147)" From the AnroidManifest.xml I can't set minimum nor target SDK. [image: 4d662e1e-2092-4528-a5f6-e3f544733cca.png]
  • Cross compiling for raspberry pi 4 problem

    Unsolved
    3
    0 Votes
    3 Posts
    562 Views
    aminaA
    @Diracsbracket sorry for my late relay it was the first time that I post in this forum and I didn't get any notification so I thought that nobody answered ! actually I deleted the qt version because I couldn't fix it and I got other problems I couldn't even import QtQuick.Studio.Components 1.0 it does not exist, so I tried to uninstall all of it and tried again from the beginning ! I am still stack :( ! couldn't make it work :( please if you have any good documentation on how to cross compile qt on an os without a desktop version please share it with me ! and also which configuration should I make in my os to make qt work (I created an os with buildroot which is very minimal )
  • 0 Votes
    2 Posts
    1k Views
    T
    Created context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile) with config: EGL_BUFFER_SIZE: 24 EGL_ALPHA_SIZE: 0 EGL_BLUE_SIZE: 8 EGL_GREEN_SIZE: 8 EGL_RED_SIZE: 8 EGL_DEPTH_SIZE: 24 EGL_STENCIL_SIZE: 8 EGL_CONFIG_CAVEAT: 12344 EGL_CONFIG_ID: 10 EGL_LEVEL: 0 EGL_MAX_PBUFFER_HEIGHT: 8192 EGL_MAX_PBUFFER_PIXELS: 67108864 EGL_MAX_PBUFFER_WIDTH: 8192 EGL_NATIVE_RENDERABLE: 0 EGL_NATIVE_VISUAL_ID: 875713112 EGL_NATIVE_VISUAL_TYPE: -1 EGL_SAMPLES: 0 EGL_SAMPLE_BUFFERS: 0 EGL_SURFACE_TYPE: 1029 EGL_TRANSPARENT_TYPE: 12344 EGL_TRANSPARENT_BLUE_VALUE: 0 EGL_TRANSPARENT_GREEN_VALUE: 0 EGL_TRANSPARENT_RED_VALUE: 0 EGL_BIND_TO_TEXTURE_RGB: 1 EGL_BIND_TO_TEXTURE_RGBA: 0 EGL_MIN_SWAP_INTERVAL: 0 EGL_MAX_SWAP_INTERVAL: 1 [2171283.136] -> wl_display@1.get_registry(new id wl_registry@2) [2171283.439] -> wl_display@1.sync(new id wl_callback@3) [2171283.682] wl_display@1.get_registry(new id wl_registry@2) [2171284.001] -> wl_registry@2.global(1, "ivi_application", 1) [2171284.392] -> wl_registry@2.global(2, "wl_compositor", 3) [2171284.584] -> wl_registry@2.global(3, "wl_subcompositor", 1) [2171284.769] -> wl_registry@2.global(4, "wl_data_device_manager", 1) [2171284.955] -> wl_registry@2.global(5, "wl_shm", 1) [2171285.446] -> wl_registry@2.global(6, "qt_hardware_integration", 1) [2171285.642] -> wl_registry@2.global(7, "mali_buffer_sharing", 4) [2171286.364] -> wl_registry@2.global(8, "wl_seat", 4) [2171286.965] -> wl_registry@2.global(9, "wl_output", 2) [2171287.697] -> wl_registry@2.global(10, "wp_viewporter", 1) [2171288.255] wl_display@1.sync(new id wl_callback@3) [2171288.706] -> wl_callback@3.done(0) [2171288.822] -> wl_display@1.delete_id(3) [2171289.483] wl_display@1.delete_id(3) [2171289.674] wl_registry@2.global(1, "ivi_application", 1) [2171289.831] wl_registry@2.global(2, "wl_compositor", 3) [2171289.891] -> wl_registry@2.bind(2, "wl_compositor", 3, new id [unknown]@4) [2171289.991] wl_registry@2.global(3, "wl_subcompositor", 1) [2171290.144] -> wl_registry@2.bind(3, "wl_subcompositor", 1, new id [unknown]@5) [2171290.233] wl_registry@2.global(4, "wl_data_device_manager", 1) [2171290.333] -> wl_registry@2.bind(4, "wl_data_device_manager", 1, new id [unknown]@6) [2171290.421] wl_registry@2.global(5, "wl_shm", 1) [2171290.481] -> wl_registry@2.bind(5, "wl_shm", 1, new id [unknown]@7) [2171290.571] wl_registry@2.global(6, "qt_hardware_integration", 1) [2171290.656] -> wl_registry@2.bind(6, "qt_hardware_integration", 1, new id [unknown]@8) [2171290.758] -> wl_display@1.sync(new id wl_callback@9) [2171290.796] wl_registry@2.global(7, "mali_buffer_sharing", 4) [2171290.849] wl_registry@2.global(8, "wl_seat", 4) [2171290.918] -> wl_registry@2.bind(8, "wl_seat", 4, new id [unknown]@10) [2171291.003] -> wl_data_device_manager@6.get_data_device(new id wl_data_device@11, wl_seat@10) [2171291.089] wl_registry@2.global(9, "wl_output", 2) [2171291.159] -> wl_registry@2.bind(9, "wl_output", 2, new id [unknown]@12) [2171291.238] wl_registry@2.global(10, "wp_viewporter", 1) [2171291.287] wl_callback@3.done(0) [2171291.623] wl_registry@2.bind(2, "wl_compositor", 3, new id [unknown]@4) [2171292.326] wl_registry@2.bind(3, "wl_subcompositor", 1, new id [unknown]@5) [2171292.734] wl_registry@2.bind(4, "wl_data_device_manager", 1, new id [unknown]@6) [2171293.173] wl_registry@2.bind(5, "wl_shm", 1, new id [unknown]@7) [2171293.546] -> wl_shm@7.format(0) [2171293.669] -> wl_shm@7.format(1) [2171293.819] -> wl_shm@7.format(1) [2171293.964] -> wl_shm@7.format(0) [2171294.112] -> wl_shm@7.format(909199186) [2171294.264] -> wl_shm@7.format(892424792) [2171294.409] -> wl_shm@7.format(875710290) [2171294.553] -> wl_shm@7.format(842093144) [2171294.668] -> wl_shm@7.format(842093121) [2171294.783] -> wl_shm@7.format(875709016) [2171294.928] -> wl_shm@7.format(875708993) [2171295.099] -> wl_shm@7.format(808665688) [2171295.247] -> wl_shm@7.format(808665665) [2171295.354] -> wl_shm@7.format(808669784) [2171295.435] -> wl_shm@7.format(808669761) [2171295.492] -> wl_shm@7.format(538982467) [2171295.561] wl_registry@2.bind(6, "qt_hardware_integration", 1, new id [unknown]@8) [2171296.038] -> qt_hardware_integration@8.client_backend("wayland-egl") [2171296.221] wl_display@1.sync(new id wl_callback@9) [2171296.414] -> wl_callback@9.done(0) [2171296.563] -> wl_display@1.delete_id(9) [2171296.694] wl_registry@2.bind(8, "wl_seat", 4, new id [unknown]@10) [2171296.921] -> wl_seat@10.capabilities(7) [2171296.996] wl_data_device_manager@6.get_data_device(new id wl_data_device@11, wl_seat@10) [2171297.448] wl_registry@2.bind(9, "wl_output", 2, new id [unknown]@12) [2171297.746] -> wl_output@12.geometry(0, 0, -1, -1, 0, "", "", 0) [2171298.376] -> wl_output@12.mode(3, 1920, 1080, 60000) [2171298.665] -> wl_output@12.scale(1) [2171298.836] -> wl_output@12.done() [2171299.294] wl_display@1.delete_id(9) [2171299.414] wl_shm@7.format(0) [2171299.510] wl_shm@7.format(1) [2171299.753] wl_shm@7.format(1) [2171300.019] wl_shm@7.format(0) [2171300.251] wl_shm@7.format(909199186) [2171300.272] wl_shm@7.format(892424792) [2171300.291] wl_shm@7.format(875710290) [2171300.319] wl_shm@7.format(842093144) [2171300.381] wl_shm@7.format(842093121) [2171300.398] wl_shm@7.format(875709016) [2171300.457] wl_shm@7.format(875708993) [2171300.480] wl_shm@7.format(808665688) [2171300.544] wl_shm@7.format(808665665) [2171300.573] wl_shm@7.format(808669784) [2171300.595] wl_shm@7.format(808669761) [2171300.621] wl_shm@7.format(538982467) [2171300.691] qt_hardware_integration@8.client_backend("wayland-egl") [2171300.727] wl_callback@9.done(0) [2171300.757] wl_seat@10.capabilities(7) [2171300.879] -> wl_seat@10.get_keyboard(new id wl_keyboard@9) [2171300.969] -> wl_seat@10.get_pointer(new id wl_pointer@3) [2171301.017] -> wl_seat@10.get_touch(new id wl_touch@13) [2171301.145] wl_output@12.geometry(0, 0, -1, -1, 0, "", "", 0) [2171301.244] wl_output@12.mode(3, 1920, 1080, 60000) [2171301.324] wl_output@12.scale(1) [2171301.358] wl_output@12.done() [2171361.107] -> wl_display@1.get_registry(new id wl_registry@14) [2171361.363] -> wl_display@1.sync(new id wl_callback@15) [2171361.759] wl_seat@10.get_keyboard(new id wl_keyboard@9) [2171362.260] -> wl_keyboard@9.repeat_info(40, 400) [2171362.469] -> wl_keyboard@9.keymap(1, fd 33, 48257) [2171362.719] wl_seat@10.get_pointer(new id wl_pointer@3) [2171362.936] wl_seat@10.get_touch(new id wl_touch@13) [2171363.280] wl_display@1.get_registry(new id wl_registry@14) [2171363.362] -> wl_registry@14.global(1, "ivi_application", 1) [2171363.464] -> wl_registry@14.global(2, "wl_compositor", 3) [2171363.655] -> wl_registry@14.global(3, "wl_subcompositor", 1) [2171364.112] -> wl_registry@14.global(4, "wl_data_device_manager", 1) [2171364.451] -> wl_registry@14.global(5, "wl_shm", 1) [2171364.880] -> wl_registry@14.global(6, "qt_hardware_integration", 1) [2171365.226] -> wl_registry@14.global(7, "mali_buffer_sharing", 4) [2171365.584] -> wl_registry@14.global(8, "wl_seat", 4) [2171365.882] -> wl_registry@14.global(9, "wl_output", 2) [2171366.030] -> wl_registry@14.global(10, "wp_viewporter", 1) [2171366.263] wl_display@1.sync(new id wl_callback@15) [2171366.403] -> wl_callback@15.done(0) [2171366.511] -> wl_display@1.delete_id(15) [2171366.842] wl_display@1.delete_id(15) [2171366.945] wl_registry@14.global(1, "ivi_application", 1) [2171367.255] wl_registry@14.global(2, "wl_compositor", 3) [2171367.671] wl_registry@14.global(3, "wl_subcompositor", 1) [2171367.836] wl_registry@14.global(4, "wl_data_device_manager", 1) [2171367.936] wl_registry@14.global(5, "wl_shm", 1) [2171368.032] wl_registry@14.global(6, "qt_hardware_integration", 1) [2171368.376] wl_registry@14.global(7, "mali_buffer_sharing", 4) [2171368.680] -> wl_registry@14.bind(7, "mali_buffer_sharing", 4, new id [unknown]@16) [2171368.973] wl_registry@14.global(8, "wl_seat", 4) [2171369.333] wl_registry@14.global(9, "wl_output", 2) [2171369.642] wl_registry@14.global(10, "wp_viewporter", 1) [2171369.833] wl_callback@15.done(0) [2171370.012] -> wl_display@1.sync(new id wl_callback@17) [2171370.256] wl_registry@14.bind(7, "mali_buffer_sharing", 4, new id [unknown]@16) [2171370.647] -> mali_buffer_sharing@16.alloc_device("display-subsystem") [2171370.775] wl_display@1.sync(new id wl_callback@17) [2171370.918] -> wl_callback@17.done(0) [2171371.026] -> wl_display@1.delete_id(17) [2171371.591] wl_display@1.delete_id(17) [2171371.727] mali_buffer_sharing@16.alloc_device("display-subsystem") [2171372.258] wl_callback@17.done(0) [2171372.431] -> mali_buffer_sharing@16.auth(1) [2171372.554] -> wl_display@1.sync(new id wl_callback@18) [2171372.968] mali_buffer_sharing@16.auth(1) [2171373.297] wl_display@1.sync(new id wl_callback@18) [2171373.447] -> wl_callback@18.done(0) [2171373.560] -> wl_display@1.delete_id(18) [2171373.780] wl_display@1.delete_id(18) [2171373.913] wl_callback@18.done(0) [2171381.208] -> wl_compositor@4.create_surface(new id wl_surface@19) [2171399.346] -> wl_registry@2.bind(1, "ivi_application", 1, new id [unknown]@20) [2171399.882] -> ivi_application@20.surface_create(16876, wl_surface@19, new id ivi_surface@21) [2171401.270] -> wl_surface@19.set_buffer_scale(1) [2171402.119] -> wl_surface@19.set_buffer_transform(0) [2171402.490] -> wl_surface@19.commit() [2171402.827] wl_keyboard@9.repeat_info(40, 400) [2171403.235] wl_keyboard@9.keymap(1, fd 10, 48257) [2171419.225] -> wl_compositor@4.create_region([2171419.317] wl_compositor@4.create_surface(new id wl_surface@19) new id wl_region@22) [2171419.658] -> wl_region@22.add(0, 0, 640, 480[2171419.888] wl_registry@2.bind(1, "ivi_application", ) [2171420.322] -> wl_surface@19.set_opaque_region(1, wl_region@22new id [unknown]@20) ) [2171420.666] -> wl_region@22.destroy([2171420.673] ivi_application@20.surface_create(16876, ) wl_surface@19, new id ivi_surface@21) Can't configure ivi_surface with an invalid size QSize(-1, -1) Can't configure ivi_surface with an invalid size QSize(-1, -1) [2171426.375] -> ivi_surface@21.configure(1920, 1026) [2171427.020] -> ivi_surface@21.configure(1920, 1026) [2171427.278] -> ivi_surface@21.configure(1920, 1026) [2171427.411] wl_surface@19.set_buffer_scale(1) [2171427.478] wl_surface@19.set_buffer_transform(0) [2171427.554] wl_surface@19.commit() [2171427.828] wl_compositor@4.create_region(new id wl_region@22) [2171427.948] wl_region@22.add(0, 0, 640, 480) [2171428.187] wl_surface@19.set_opaque_region(wl_region@22) [2171428.303] wl_region@22.destroy() [2171428.415] -> wl_display@1.delete_id(22) [2171428.508] -> wl_compositor@4.create_surface(new id wl_surface@23) [2171438.934] -> wl_surface@23.attach(nil, 0, 0) [2171440.186] -> wl_surface@23.commit() [2171440.759] -> wl_surface@23.destroy() [2171441.227] -> wl_compositor@4.create_surface([2171441.254] wl_compositor@4.create_surface(new id wl_surface@23) [2171441.486] wl_surface@23.attach(nil, 0, 0) [2171441.691] wl_surface@23.commit() new id wl_surface@24) [2171453.628] -> mali_buffer_sharing@16.create_buffer(new id wl_buffer@25, 640, 480, 2560, 0, 17544714, fd 13) [2171459.108] -> wl_surface@19.frame(new id wl_callback@26) [2171461.779] ivi_surface@21.configure(1920, 1026) [2171462.020] -> wl_surface@19.frame(new id wl_callback@27) [2171462.372] -> wl_surface@19.attach(wl_buffer@25, 0, 0) [2171462.765] -> wl_surface@19.damage(0, 0, 2147483647, 2147483647) [2171463.248] -> wl_surface@19.commit() [2171463.707] wl_surface@23.destroy() [2171464.014] -> wl_display@1.delete_id(23) [2171464.202] wl_compositor@4.create_surface(new id wl_surface@24) [2171464.372] mali_buffer_sharing@16.create_buffer(new id wl_buffer@25, 640, 480, 2560, 0, 17544714, fd 34) [2171464.528] wl_surface@19.frame(new id wl_callback@26) [2171464.603] wl_surface@19.frame(new id wl_callback@27) [2171464.685] wl_surface@19.attach(wl_buffer@25, 0, 0) [2171465.121] ivi_surface@21.configure(1920, 1026) [2171465.212] ivi_surface@21.configure(1920, 1026) [2171465.540] -> wl_compositor@4.create_region(new id wl_region@28) [2171465.604] -> wl_region@28.add(0, 0, 1920, 1026) [2171465.641] -> wl_surface@19.set_opaque_region(wl_region@28) [2171465.659] -> wl_region@28.destroy() [2171466.268] wl_surface@19.damage(0, 0, 2147483647, 2147483647) [2171466.380] wl_surface@19.commit() [2171466.802] -> ivi_surface@21.configure(1920, 1026) [2171466.940] -> ivi_surface@21.configure(1920, 1026) [2171467.202] -> ivi_surface@21.configure(1920, 1026) [2171467.358] -> ivi_surface@21.configure(1920, 1026) [2171479.859] -> wl_surface@19.enter(wl_output@12) [2171480.016] -> wl_callback@26.done(1793) [2171480.041] -> wl_display@1.delete_id(26) [2171480.134] -> wl_callback@27.done([2171480.112] -> mali_buffer_sharing@16.create_buffer(1793) new id wl_buffer@29[2171480.284] -> wl_display@1.delete_id(, 271920) , 1026, 7680, 0, 17544714, fd 13) [2171483.571] wl_display@1.delete_id(22) [2171483.641] wl_compositor@4.create_region(new id wl_region@28) [2171483.755] wl_region@28.add(0, 0[2171483.790] wl_display@1.delete_id(, 231920) , 1026) [2171483.958] wl_display@1.delete_id(26) [2171483.982] wl_surface@19.set_opaque_region(wl_region@28) [2171483.993] wl_display@1.delete_id(27) [2171484.015] wl_region@28.destroy() [2171484.028] wl_callback@26.done(1793[2171484.052] -> wl_display@1.delete_id() 28) [2171484.210] mali_buffer_sharing@16.create_buffer([2171484.232] -> wl_surface@19.frame(new id wl_buffer@new id wl_callback@2926, ) 1920, 1026, 7680, 0, 17544714, fd 35) [2171487.212] ivi_surface@21.configure(1920, 1026) [2171487.369] ivi_surface@21.configure(1920, 1026) [2171487.458] ivi_surface@21.configure(1920, 1026) [2171487.532] ivi_surface@21.configure(1920, 1026) [2171487.557] wl_surface@19.enter(wl_output@12) [2171487.929] wl_surface@19.frame(new id wl_callback@26) [2171491.206] wl_callback@27.done(1793) [2171491.336] -> wl_surface@19.frame(new id wl_callback@27) [2171491.397] -> wl_surface@19.attach(wl_buffer@29, 0, 0) [2171491.478] -> wl_surface@19.damage(0, 0, 2147483647, 2147483647) [2171491.513] -> wl_surface@19.commit() [2171491.736] wl_surface@19.frame(new id wl_callback@27) [2171491.824] wl_surface@19.attach(wl_buffer@29, 0, 0) [2171492.406] wl_surface@19.damage(0, 0, 2147483647, 2147483647) [2171492.532] wl_surface@19.commit() [2171498.023] -> wl_buffer@25.release() [2171499.478] -> wl_callback@26.done(1812) [2171499.590] -> wl_display@1.delete_id(26) [2171499.611] -> wl_callback@27.done(1812) [2171499.628] -> wl_display@1.delete_id(27) [2171516.791] -> mali_buffer_sharing@16.create_buffer(new id wl_buffer@23, 1920, 1026, 7680, 0, 17544714, fd 13) [2171518.037] wl_display@1.delete_id(28) [2171518.179] wl_display@1.delete_id(26) [2171518.204] wl_display@1.delete_id(27) [2171518.226] wl_callback@26.done(1812) [2171518.272] mali_buffer_sharing@16.create_buffer([2171518.307] -> wl_surface@19.frame(new id wl_callback@new id wl_buffer@2623) , 1920, 1026, 7680, 0, 17544714, fd 36) [2171521.566] wl_surface@19.frame(new id wl_callback@26) [2171524.537] wl_buffer@25.release() [2171524.678] wl_callback@27.done(1812) [2171524.824] -> wl_surface@19.frame(new id wl_callback@27) [2171524.915] -> wl_surface@19.attach(wl_buffer@23, 0, 0) [2171525.015] -> wl_surface@19.damage(0, 0, 2147483647, 2147483647) [2171525.442] -> wl_surface@19.commit() [2171525.757] wl_surface@19.frame(new id wl_callback@27) [2171525.972] wl_surface@19.attach(wl_buffer@23, 0, 0) [2171526.838] wl_surface@19.damage(0, 0, 2147483647, 2147483647) [2171527.272] wl_surface@19.commit() [2171532.880] -> wl_buffer@29.release() [2171534.673] -> wl_callback@26.done(1847) [2171534.816] -> wl_display@1.delete_id(26) [2171534.850] -> wl_callback@27.done(1847) [2171534.976] -> wl_display@1.delete_id(27) [2171535.277] wl_display@1.delete_id(26) [2171535.378] wl_display@1.delete_id(27) [2171535.411] wl_callback@26.done(1847) [2174467.160] -> ivi_surface@21.destroy() [2174467.507] -> wl_surface@19.destroy() ./testeglfs.sh: line 38: 16876 Segmentation fault (core dumped) ./TestEglHideDumpd -platform wayland
  • Adding multi line (multi color) text on top of QImage

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    jsulmJ
    @Marek-Belisko Take a look at the example from the doc: QFont font("times", 24); QFontMetrics fm(font); int pixelsWide = fm.horizontalAdvance("What's the width of this text?"); int pixelsHigh = fm.height(); You can get width and height for specific text. Means: you know the width and height of your text and the image where you want to put this text. So, you can calculate the coordinates for drawText().
  • 0 Votes
    3 Posts
    603 Views
    advmA
    @mmjvox thank you for the answer and sorry for late respond. You are right, I solved this as you mentioned in the 3. In android studio I used JNI to call functions from the shared library, but inside that shared library I called functions from the static library, that was included in the Android Studio Project via CMake.
  • How to add kit and device to Qt for Android

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    Quang PhuQ
    @QtFranchise When you install your Qt, tick for Android. After installing, the kit will automatic add to your project setting for all projects, just choose it if you want to build for android. Something like this: [image: 55e8ff99-f5e8-4e08-862e-a0384c812de2.png] About device, just make sure on Android Studio you have simulators. When you want to run, a box of devices list will show, like this: [image: 5a24b03e-1a8b-4c1b-aaf7-71a90e065d53.png]
  • Android 11 - Access legacy storage location

    Unsolved
    6
    1 Votes
    6 Posts
    4k Views
    L
    @antoinnneee said in Android 11 - Access legacy storage location: @mvuori I found a way to do it with qt, we just have to add flag in the manifest See link for détail Do you mean this "android:requestLegacyExternalStorage="true" in the manifest."?
  • Call non-static java (Android) method with arguments from C++

    Unsolved
    2
    0 Votes
    2 Posts
    277 Views
    K
    @adddeeee This is basically a non-Qt issue. You should find a solution here
  • Having trouble setting up Qt for Android

    Unsolved android setup
    3
    0 Votes
    3 Posts
    682 Views
    LorenDBL
    @sierdzio Hmm, looks like I did forget that.
  • How to copy a qt application framebuffer from one process to another

    Unsolved egl framebuffer
    6
    0 Votes
    6 Posts
    1k Views
    E
    Hello, I created a simple qml file only for test purposes as the following : import QtQuick 2.9 import QtQuick.Window 2.2 import Sendercpp 1.0 Window { visible: true width: 640 height: 600 title: qsTr("Hello World") Rectangle { id:rect anchors.fill: parent color: "red" } } and trying to reach EGLContext and EGLSurface but no luck for now.So If you have any idea please letme know.
  • Cannot open device's image after targeting api 29 on android X device

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    V
    @antoinnneee said in Cannot open device's image after targeting api 29 on android X device: android:requestLegacyExternalStorage="true" thank you so very much! indeed this fixed my issue!