Skip to content
  • Can not use flexboxlayout

    Unsolved QML and Qt Quick
    1
    0 Votes
    1 Posts
    19 Views
    No one has replied
  • Copilot / Copilot 365

    Moved Unsolved Qt Creator and other tools
    2
    0 Votes
    2 Posts
    28 Views
    cristian-adamC
    See https://doc.qt.io/qtcreator/creator-copilot.html for details and tell us if it worked!
  • 支付问题

    Unsolved Chinese
    1
    0 Votes
    1 Posts
    38 Views
    No one has replied
  • is there a Qt +CMAKE +qmake Setup for Dummies out there?

    Unsolved General and Desktop
    5
    0 Votes
    5 Posts
    64 Views
    KH-219DesignK
    In addition the to "proof that this works" link from prior post: https://github.com/219-design/qt-qml-project-template-with-ci/blob/b0abc1b28/.github/workflows/cmakebuild_windows.yml Here is another well-maintained github repository with a Qt cmake windows build (and github CI actions to prove it builds): https://github.com/emericg/QmlAppTemplate
  • 0 Votes
    3 Posts
    42 Views
    cristian-adamC
    You can manually configure a Kit in Qt Creator by adding a C/C++ compiler, a Qt setup, a Debugger. Or you can do it from command line via the SDK Tool.
  • Problem compiling moc output

    Unsolved Qt Creator and other tools
    2
    0 Votes
    2 Posts
    32 Views
    PerdrixP
    I turns out the the moc*.cpp files are included at the end of the regular cpp files. So the question now becomes how to tell VS Tools to run moc, but NOT to compile the moc*.cpp files.
  • how to link libclang and libtooling to QT project

    Unsolved General and Desktop
    5
    0 Votes
    5 Posts
    55 Views
    SGaistS
    Hi, Are you sure you are linking all the required libraries ?
  • 0 Votes
    2 Posts
    53 Views
    aha_1980A
    Hi @Robert-Hairgrove, I've just tested that with Creator 17.0 and it works for me with the following example script (provided by https://ss64.com/nt/syntax-ansi.html) Can you please re-check? I think specifying the correct <ESC> is the problem. Regards
  • Focusing TextInput doesn't open the virtual keyboard

    Unsolved QML and Qt Quick
    1
    0 Votes
    1 Posts
    39 Views
    No one has replied
  • QMouseEvent bug?

    Unsolved QML and Qt Quick
    3
    0 Votes
    3 Posts
    92 Views
    zzzpZ
    @SGaist This issue occurs in my Ubuntu 22.04 system when running the program with both eglfs and xcb. The Qt version is 6.5.3.
  • 0 Votes
    2 Posts
    62 Views
    K
    Kernel error during changing play video: Oct 20 07:33:58 PXDEVICE kernel: ------------[ cut here ]------------ Oct 20 07:33:58 PXDEVICE kernel: 3038 pages are still in use! Oct 20 07:33:58 PXDEVICE kernel: WARNING: CPU: 2 PID: 559 at mm/page_alloc.c:9275 free_contig_range+0xa4/0xc0 Oct 20 07:33:58 PXDEVICE kernel: Modules linked in: snd_soc_imx_spdif snd_soc_imx_hdmi snd_soc_wm8904 fsl_jr_uio caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine rng_core authenc libdes imx8mq_interconnect imx_interconnect crct10dif_ce imx8m_ddrc governor_userspace imx_bus rtc_ds1307 snd_soc_fsl_spdif secvio caam error snd_soc_fsl_sai imx_sdma nfsd galcore(O) fuse Oct 20 07:33:58 PXDEVICE kernel: CPU: 2 PID: 559 Comm: QSGRenderThread Tainted: G W O 5.15.60-imx8mq+geeb831e225df #1 Oct 20 07:33:58 PXDEVICE kernel: Hardware name: Variscite DART-MX8M on DT8MCustomBoard 2.x and above SD+HDMI (DT) Oct 20 07:33:58 PXDEVICE kernel: pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) Oct 20 07:33:58 PXDEVICE kernel: pc : free_contig_range+0xa4/0xc0 Oct 20 07:33:58 PXDEVICE kernel: lr : free_contig_range+0xa4/0xc0 Oct 20 07:33:58 PXDEVICE kernel: sp : ffff80001bae3ae0 Oct 20 07:33:58 PXDEVICE kernel: x29: ffff80001bae3ae0 x28: ffff0000c1bac740 x27: 0000000000000000 Oct 20 07:33:58 PXDEVICE kernel: x26: 0000000000000000 x25: ffff0000c2e8cc00 x24: 0000000000000000 Oct 20 07:33:58 PXDEVICE kernel: x23: ffff80000980e248 x22: fffffc0000000000 x21: 00000000000d72d8 Oct 20 07:33:58 PXDEVICE kernel: x20: 0000000000000bde x19: 00000000000d72d8 x18: ffffffffffffffff Oct 20 07:33:58 PXDEVICE kernel: x17: 0000000000000000 x16: 0000000000000000 x15: ffff800009efe96e Oct 20 07:33:58 PXDEVICE kernel: x14: ffffffffffffffff x13: ffff800009d82810 x12: 000000000000067b Oct 20 07:33:58 PXDEVICE kernel: x11: 0000000000000229 x10: ffff800009d82810 x9 : ffff800009d82810 Oct 20 07:33:58 PXDEVICE kernel: x8 : 00000000ffffefff x7 : ffff800009dda810 x6 : ffff800009dda810 Oct 20 07:33:58 PXDEVICE kernel: x5 : ffff0000ff7839d0 x4 : 0000000000000000 x3 : 0000000000000027 Oct 20 07:33:58 PXDEVICE kernel: x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff0000c1bac740 Oct 20 07:33:58 PXDEVICE kernel: Call trace: Oct 20 07:33:58 PXDEVICE kernel: free_contig_range+0xa4/0xc0 Oct 20 07:33:58 PXDEVICE kernel: cma_release+0x78/0xbc Oct 20 07:33:58 PXDEVICE kernel: dma_free_contiguous+0xa8/0xbc Oct 20 07:33:58 PXDEVICE kernel: dma_direct_free+0xbc/0x110 Oct 20 07:33:58 PXDEVICE kernel: dma_free_attrs+0x9c/0xe0 Oct 20 07:33:58 PXDEVICE kernel: vb2_dc_put+0x88/0xc0 Oct 20 07:33:58 PXDEVICE kernel: vb2_dc_dmabuf_ops_release+0x14/0x50 Oct 20 07:33:58 PXDEVICE kernel: dma_buf_release+0x40/0xa0 Oct 20 07:33:58 PXDEVICE kernel: __dentry_kill+0x13c/0x1d0 Oct 20 07:33:58 PXDEVICE kernel: dput+0x1c4/0x300 Oct 20 07:33:58 PXDEVICE kernel: __fput+0xb0/0x234 Oct 20 07:33:58 PXDEVICE kernel: ____fput+0x10/0x20 Oct 20 07:33:58 PXDEVICE kernel: task_work_run+0x80/0x180 Oct 20 07:33:58 PXDEVICE kernel: do_notify_resume+0x208/0x12ec Oct 20 07:33:58 PXDEVICE kernel: el0_svc+0x6c/0x80 Oct 20 07:33:58 PXDEVICE kernel: el0t_64_sync_handler+0xa4/0x130 Oct 20 07:33:58 PXDEVICE kernel: el0t_64_sync+0x1a0/0x1a4 Oct 20 07:33:58 PXDEVICE kernel: ---[ end trace 65d78baf2fb2bd43 ]--- Oct 20 07:33:58 PXDEVICE kernel: ------------[ cut here ]------------ Oct 20 07:33:58 PXDEVICE kernel: 3038 pages are still in use! Oct 20 07:33:58 PXDEVICE kernel: WARNING: CPU: 2 PID: 559 at mm/page_alloc.c:9275 free_contig_range+0xa4/0xc0 Oct 20 07:33:58 PXDEVICE kernel: Modules linked in: snd_soc_imx_spdif snd_soc_imx_hdmi snd_soc_wm8904 fsl_jr_uio caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine rng_core authenc libdes imx8mq_interconnect imx_interconnect crct10dif_ce imx8m_ddrc governor_userspace imx_bus rtc_ds1307 snd_soc_fsl_spdif secvio caam error snd_soc_fsl_sai imx_sdma nfsd galcore(O) fuse Oct 20 07:33:58 PXDEVICE kernel: CPU: 2 PID: 559 Comm: QSGRenderThread Tainted: G W O 5.15.60-imx8mq+geeb831e225df #1 ... Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.09.00_ARMV8 build on Sep 20 2017 15:02:50. Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: ====== AIUR: 4.7.0 build on May 20 2022 06:51:21. ====== Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: Core: MPEG4PARSER_06.20.06 build on May 7 2022 07:52:31 Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm_elinux.so.3.2 Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: ------------------------ Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: Track 00 [video_0] Enabled Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: Duration: 0:02:07.127000000 Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: Language: und Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: Mime: Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: video/x-h265, parsed=(boolean)true, alignment=(string)au, stream-format=(string)hev1, width=(int)3840, height=(int)2160, framerate=(fraction)60000/1001, codec_data=(buffer)01222000000090000000000099f000fcfdfafa00000703a00001002040010c01ffff222000000300900000030000030099350300001f4800075300e8a10001029e420101222000000300900000030000030099a001e020021c4d8d35924f841470f1c0903b0e18361a0842f081210088401006e1a306c341085ca0a021044170b02a0ac28035407080e007d02b4180a8200b858150561401aa038407003e8158a10d35e9e860d7430341b1b8c0d0703a1b1b181a0e432130c8602418101f1f1c1e307426120e0c04304038108200940ff0869af21720482659024120984f09048381d0984e1209072190985c2c120c080f8f8e0f183a130907060218201c0841004a07f286894d082c838e52181702f2c80b80dc06b05f82e03503a06606b06306006a0640e00b20730660c80e405803900ab07707402a81c7ffc12434498e6182620c7290c0b81796405c06e03582fc1701a81d03303583183003503207005903983306407202c01c805583b83a01540e3ffe090a10e9af4f4306ba181a0d8dc6068381d0d8d8c0d072190986430120c080f8f8e0f183a130907060218201c0841004a07f843a6bc85c81209964090482613c24120e0742613848241c86426170b04830203e3e383c60e84c241c1808608070210401281fca1a929a1059071ca4302e05e5901701b80d60bf05c06a0740cc0d60c60c00d40c81c01640e60cc1901c80b007201560ee0e8055038fff82486a498e6182620c7290c0b81796405c06e03582fc1701a81d03303583183003503207005903983306407202c01c805583b83a01540e3ffe090a10e9af4f4306ba181a0d8dc6068381d0d8d8c0d072190986430120c080f8f8e0f183a130907060218201c0841004a07f86a498e6182620c7290c0b81796405c06e03582fc1701a81d03303583183003503207005903983306407202c01c805583b83a01540e3ffe091115c96a5de02d4244026d9400007d20001d4c03e46818dc0002625a0001312d00004c4b40002625a8b840208a2000100084401c172438d6224 Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: ------------------------ Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: ------------------------ Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: Track 01 [audio_0] Enabled Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: Duration: 0:02:07.168000000 Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: Language: eng Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: Mime: Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)192000, stream-format=(string)raw, codec_data=(buffer)1190 Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: ------------------------ Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: ====== BEEP: 4.7.0 build on May 20 2022 06:51:21. ====== Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: Core: AAC decoder Wrapper build on Jul 28 2020 10:45:34 Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm_elinux.so.3 Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.09.00_ARMV8 build on Sep 20 2017 15:02:50. Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: Oct 20 07:33:58 PXDEVICE PXDEVICE-main[501]: ====== V4L2DEC: 1.20.0 build on Apr 24 2022 09:19:42. ======
  • How to make a round corner for the qwebengineview?

    Unsolved General and Desktop
    2
    0 Votes
    2 Posts
    75 Views
    B
    Just put the qwebengineview in a round corner qwidget/qframe.
  • How to use the Figma to Qt Plugin for our project

    Unsolved Qt Creator and other tools
    3
    0 Votes
    3 Posts
    87 Views
    JKSHJ
    Start by doing the steps described at https://doc-snapshots.qt.io/figmatoqt/figmatoqt-getting-started.html
  • 0 Votes
    4 Posts
    111 Views
    S
    cmake_minimum_required(VERSION 4.0) project(desk_pos_test) set(CMAKE_CXX_STANDARD 20) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) # Tell the binary to look for libraries inside ../lib relative to executable set(CMAKE_BUILD_RPATH "$ORIGIN/../lib") set(CMAKE_INSTALL_RPATH "$ORIGIN/../lib") find_package(Qt6 COMPONENTS Core Gui Widgets WebEngineWidgets WebEngineCore REQUIRED) qt6_wrap_cpp(MOC_SOURCES main.cpp) add_executable(desk_pos_test main.cpp main.cpp ) target_link_libraries(desk_pos_test Qt::Core Qt::Gui Qt::Widgets Qt::WebEngineWidgets Qt::WebEngineCore ) install(TARGETS desk_pos_test RUNTIME DESTINATION bin ) ## ✅ Install Qt libraries (if you ship them) #install(DIRECTORY ${CMAKE_SOURCE_DIR}/packages/com.medkart.desktopPos/data/lib/ # DESTINATION lib/desk-pos-app #) function(copy_qt_lib libname) get_target_property(_qt_lib_location Qt6::${libname} LOCATION) install(FILES ${_qt_lib_location} DESTINATION lib/desk-pos-app ) endfunction() # Copy only the required modules copy_qt_lib(Core) copy_qt_lib(Gui) copy_qt_lib(Widgets) copy_qt_lib(WebEngineCore) copy_qt_lib(WebEngineWidgets) copy_qt_lib(WebChannel) # ✅ Install resources to /usr/local/share/desk-pos-app install(DIRECTORY ${CMAKE_SOURCE_DIR}/packages/com.medkart.desktopPos/data/ DESTINATION share/desk-pos-app FILES_MATCHING PATTERN "*" EXCLUDE PATTERN "lib/*" ) install(FILES ${CMAKE_SOURCE_DIR}/resources/desk-pos-app.desktop DESTINATION /usr/share/applications) install(FILES ${CMAKE_SOURCE_DIR}/resources/desk-pos-app.svg DESTINATION /usr/share/pixmaps) I am packaging my Qt6 application as a .deb using the CMake setup shown above, which installs the executable, resources, and Qt libraries. and run the following command to make the .deb file, from project folder in terminal rm -rf build mkdir build && cd build cmake .. -DCMAKE_BUILD_TYPE=Release cpack -G DEB Is this an appropriate method for distributing a Qt application to other Linux systems? How can I optimize this CMake configuration for more reliable deployment and easier updates?
  • Freeze complet Debian Trixie

    Unsolved French
    5
    0 Votes
    5 Posts
    122 Views
    M
    Oui, avec la version 16 de Qt Creator proposée par les paquets de Debian 13 ça plante aussi, après un peu plus de 9 minutes de développement, dont 2 déploiement sur smartphone Android. Est-ce que par hazard une difficulté Qt Creator de se connecter au DBus pourrait conduire à un freeze ?
  • Qt Champions 2025

    Unsolved Announcements
    1
    3 Votes
    1 Posts
    66 Views
    No one has replied
  • Skip to next error shortcut

    Unsolved Qt Creator and other tools
    2
    0 Votes
    2 Posts
    69 Views
    SGaistS
    Hi, This is a user forum. For feature request, you should open one on the bug report system.
  • Is it possible to run a gRPC server on Android?

    Unsolved Mobile and Embedded
    2
    0 Votes
    2 Posts
    56 Views
    SGaistS
    Hi and welcome to devnet, I don't have a direct answer to that question but a suggestion: several of Qt Grpc examples avec client and server components. You can test them.
  • 0 Votes
    1 Posts
    40 Views
    No one has replied
  • QML application is Crashing using CANVAS2D on QNX.

    Unsolved QML and Qt Quick
    1
    0 Votes
    1 Posts
    32 Views
    No one has replied