Skip to content
  • 0 Votes
    1 Posts
    6 Views
    No one has replied
  • 0 Votes
    2 Posts
    16 Views
    @SMF-Qt I have noticed problems with BroadcastReceiver on my application shut down see: [https://forum.qt.io/topic/162708/running-a-profiled-app-on-x86_64-android-emulator-qt6.9.1/15] Have I set up the "registerReceiver" correctly ?
  • Using ASM (x86) with Qt on MacOS with CMake. How?

    Unsolved General and Desktop a day ago
    0 Votes
    1 Posts
    22 Views
    No one has replied
  • How do I check for Shift + Tab?

    Unsolved General and Desktop a day ago
    0 Votes
    2 Posts
    38 Views
    Hi, It's likely the same as Qt::Key_Copy that should match the key combination for copying on your platform (i.e. CMD+C on macOS and CTRL+C on the others).
  • 0 Votes
    6 Posts
    80 Views
    @bobthebuilder said in Qt::BlockingQueuedConnection not blocking, according to thread sanitizer: void copyData() { m_main_data_copy = m_worker_object->m_processed_data; } The thread sanitizer is correct here - you access data from one thread in another without proper locking. It does not know (how should it) that the other thread is sleeping during this operation. From my pov this approach is faulty by design - don't use a blocking connection but store the data e.g. in std::shared_ptr<std::vector<double>>, pass this to your signal and work on a new instance. So no blocking is needed at all and the sanitizer won't blame and it also will work without some Qt magic.
  • Resizing controls in SplitView

    Unsolved QML and Qt Quick a day ago
    0 Votes
    2 Posts
    40 Views
    If you want controls stay inside blue rectangle anchor layout Rectangle { id: leftPane color: "blue" ColumnLayout { //anchors.centerIn: parent anchors.left:parent.left anchors.verticalCenter: parent.verticalCenter //also you can put some margin if you need to anchors.leftMargin: parent.width/20 [image: cf2eb42f-3aaf-4940-96d1-496bc98b1407.png]
  • 0 Votes
    2 Posts
    46 Views
    Hi, Please provide a complete minimal example that shows that issue. This will allow people to test in the same conditions as you.
  • 0 Votes
    2 Posts
    37 Views
    What update rate is being attempted? What does the general program structure look like?
  • meta-qt6 has tag v6.8.4-lts but not v6.8.4

    Unsolved Mobile and Embedded a day ago
    0 Votes
    5 Posts
    61 Views
    Hi, If memory serves well, it was usually around every three releases. 5.6 -> 5.9 -> 5.12 -> 5.15. 6.5 -> 6.8
  • 0 Votes
    2 Posts
    31 Views
    Hi, What type of "QWidget" are you using? Is that - "QMdiSubWindow" ?
  • 0 Votes
    2 Posts
    36 Views
    Hi, You should provide a minimal reproducer example so people will be able to try on their machine. Qt version as well as OS should be provided.
  • Qlipper not working: 'std::bad_alloc'

    Unsolved General and Desktop 2 days ago
    0 Votes
    3 Posts
    44 Views
    Thanks! Is there maybe another Qt clipboard manager I can use under LXQt, in case I can't fix Qlipper?
  • Facing issue in installing QT

    Unsolved Qt 6 2 days ago
    0 Votes
    3 Posts
    51 Views
    hi @jsulm here is my cmake logs -- The CXX compiler identification is GNU 10.3.0 -- The C compiler identification is GNU 10.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /calypto/tools/install/gcc-10.3.0-rocky8/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /calypto/tools/install/gcc-10.3.0-rocky8/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- The ASM compiler identification is GNU -- Found assembler: /calypto/tools/install/gcc-10.3.0-rocky8/bin/gcc -- Checking dependencies of submodule 'qtbase' -- Checking dependencies of submodule 'qtimageformats' -- Checking dependencies of submodule 'qtlanguageserver' -- Checking dependencies of submodule 'qtshadertools' -- Checking dependencies of submodule 'qtsvg' -- Checking dependencies of submodule 'qtdeclarative' -- Checking dependencies of submodule 'qtquicktimeline' -- Checking dependencies of submodule 'qtquick3d' -- Checking dependencies of submodule 'qtmultimedia' -- Checking dependencies of submodule 'qt3d' -- Checking dependencies of submodule 'qt5compat' -- Checking dependencies of submodule 'qtactiveqt' -- Checking dependencies of submodule 'qtcharts' -- Checking dependencies of submodule 'qtcoap' -- Checking dependencies of submodule 'qtconnectivity' -- Checking dependencies of submodule 'qtdatavis3d' -- Checking dependencies of submodule 'qtgraphs' -- Checking dependencies of submodule 'qtwebsockets' -- Checking dependencies of submodule 'qthttpserver' -- Checking dependencies of submodule 'qtserialport' -- Checking dependencies of submodule 'qtpositioning' -- Checking dependencies of submodule 'qtlocation' -- Checking dependencies of submodule 'qttools' -- Checking dependencies of submodule 'qtwebchannel' -- Checking dependencies of submodule 'qtwebengine' -- Checking dependencies of submodule 'qtdoc' -- Checking dependencies of submodule 'qtgrpc' -- Checking dependencies of submodule 'qtlottie' -- Checking dependencies of submodule 'qtmqtt' -- Checking dependencies of submodule 'qtnetworkauth' -- Checking dependencies of submodule 'qtopcua' -- Checking dependencies of submodule 'qtquick3dphysics' -- Checking dependencies of submodule 'qtquickeffectmaker' -- Checking dependencies of submodule 'qtremoteobjects' -- Checking dependencies of submodule 'qtscxml' -- Checking dependencies of submodule 'qtsensors' -- Checking dependencies of submodule 'qtserialbus' -- Checking dependencies of submodule 'qtspeech' -- Checking dependencies of submodule 'qttranslations' -- Checking dependencies of submodule 'qtvirtualkeyboard' -- Checking dependencies of submodule 'qtwayland' -- Checking dependencies of submodule 'qtwebview' -- Configuring submodule 'qtbase' -- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release' -- Configuring submodule 'qtimageformats' -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Configuring submodule 'qtlanguageserver' -- Configuring submodule 'qtshadertools' -- Configuring submodule 'qtsvg' -- Configuring submodule 'qtdeclarative' -- Configuring submodule 'qtquicktimeline' -- Configuring submodule 'qtquick3d' -- Configuring submodule 'qtmultimedia' -- Configuring submodule 'qt3d' -- Configuring submodule 'qt5compat' CMake Warning (dev) at build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:443 (message): INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used. Please port your module to use declarative type registration. Call Stack (most recent call first): qt5compat/src/imports/graphicaleffects5/CMakeLists.txt:36 (qt_internal_add_qml_module) This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring submodule 'qtactiveqt' Condition "WIN32" is not met, enabling documentation build only. -- Configuring submodule 'qtcharts' -- Configuring submodule 'qtcoap' -- Configuring submodule 'qtconnectivity' -- Configuring submodule 'qtdatavis3d' CMake Warning (dev) at build/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:3390 (message): Qt policy QTP0004 is not set: You need qmldir files for each extra directory that contains .qml files for your module. Check https://doc.qt.io/qt-6/qt-cmake-policy-qtp0004.html for policy details. Use the qt_policy command to set the policy and suppress this warning. Call Stack (most recent call first): build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:3535 (__qt_internal_setup_policy) build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:916 (qt6_target_qml_sources) build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:312 (qt6_add_qml_module) qtdatavis3d/src/datavisualizationqml/CMakeLists.txt:27 (qt_internal_add_qml_module) This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring submodule 'qtgraphs' -- Configuring submodule 'qtwebsockets' CMake Warning (dev) at build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:443 (message): INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used. Please port your module to use declarative type registration. Call Stack (most recent call first): qtwebsockets/src/imports/qmlwebsockets/CMakeLists.txt:4 (qt_internal_add_qml_module) This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring submodule 'qthttpserver' -- Configuring submodule 'qtserialport' -- Configuring submodule 'qtpositioning' -- Configuring submodule 'qtlocation' -- Configuring submodule 'qttools' -- Configuring submodule 'qtwebchannel' -- Configuring submodule 'qtwebengine' CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message): Version for check 'ninja' defined but no configure check for it Call Stack (most recent call first): qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check) qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure) CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message): Version for check 'libpng' defined but no configure check for it Call Stack (most recent call first): qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check) qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure) CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message): Version for check 'libtiff' defined but no configure check for it Call Stack (most recent call first): qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check) qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure) CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message): Version for check 're2' defined but no configure check for it Call Stack (most recent call first): qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check) qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure) CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message): Version for check 'icu' defined but no configure check for it Call Stack (most recent call first): qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check) qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure) CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message): Version for check 'opus' defined but no configure check for it Call Stack (most recent call first): qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check) qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure) CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message): Version for check 'vpx' defined but no configure check for it Call Stack (most recent call first): qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check) qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure) CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message): Version for check 'libavutil' defined but no configure check for it Call Stack (most recent call first): qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check) qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure) CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message): Version for check 'libavcodec' defined but no configure check for it Call Stack (most recent call first): qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check) qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure) CMake Warning at qtwebengine/cmake/QtConfigureHelpers.cmake:32 (message): Version for check 'libavformat' defined but no configure check for it Call Stack (most recent call first): qtwebengine/cmake/QtConfigureHelpers.cmake:13 (qt_webengine_version_sanity_check) qtwebengine/src/CMakeLists.txt:14 (qt_webengine_run_configure) CMake Deprecation Warning at build/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:3380 (message): Qt policy QTP0004 is set to OLD. Support for the old behavior will be removed in a future major version of Qt. Call Stack (most recent call first): build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:3535 (__qt_internal_setup_policy) build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:916 (qt6_target_qml_sources) build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:312 (qt6_add_qml_module) qtwebengine/src/pdfquick/CMakeLists.txt:20 (qt_internal_add_qml_module) -- Configuring submodule 'qtdoc' -- Configuring submodule 'qtgrpc' -- Could NOT find protobuf (missing: protobuf_DIR) -- Could NOT find protobuf (missing: protobuf_DIR) CMake Warning at qtgrpc/cmake/FindWrapProtoc.cmake:79 (message): 'protoc' executable is not found. Install protobuf using this instruction https://protobuf.dev/installation/ and make sure 'protoc' executable is in PATH. Call Stack (most recent call first): qtbase/cmake/QtFindPackageHelpers.cmake:141 (find_package) qtgrpc/src/protobuf/configure.cmake:25 (qt_find_package) qtbase/cmake/QtFeature.cmake:736 (include) qtgrpc/src/CMakeLists.txt:5 (qt_feature_evaluate_features) -- Could NOT find protobuf (missing: protobuf_DIR) -- Could NOT find protobuf (missing: protobuf_DIR) CMake Warning at qtgrpc/cmake/FindWrapProtoc.cmake:79 (message): 'protoc' executable is not found. Install protobuf using this instruction https://protobuf.dev/installation/ and make sure 'protoc' executable is in PATH. Call Stack (most recent call first): qtbase/cmake/QtFindPackageHelpers.cmake:141 (find_package) qtgrpc/src/protobuf/configure.cmake:25 (qt_find_package) qtbase/cmake/QtModuleHelpers.cmake:681 (include) qtgrpc/src/protobuf/CMakeLists.txt:4 (qt_internal_add_module) -- Configuring submodule 'qtlottie' -- Configuring submodule 'qtmqtt' -- Configuring submodule 'qtnetworkauth' -- Configuring submodule 'qtopcua' -- Configuring submodule 'qtquick3dphysics' -- Configuring submodule 'qtquickeffectmaker' Nodes path: qml/QtQuickEffectMaker/defaultnodes -- Configuring submodule 'qtremoteobjects' -- Configuring submodule 'qtscxml' -- Configuring submodule 'qtsensors' -- Configuring submodule 'qtserialbus' -- Configuring submodule 'qtspeech' -- Configuring submodule 'qttranslations' -- Configuring submodule 'qtvirtualkeyboard' -- Configuring submodule 'qtwayland' CMake Warning (dev) at build/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:3390 (message): Qt policy QTP0004 is not set: You need qmldir files for each extra directory that contains .qml files for your module. Check https://doc.qt.io/qt-6/qt-cmake-policy-qtp0004.html for policy details. Use the qt_policy command to set the policy and suppress this warning. Call Stack (most recent call first): build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:3535 (__qt_internal_setup_policy) build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:916 (qt6_target_qml_sources) build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:312 (qt6_add_qml_module) qtwayland/src/compositor/CMakeLists.txt:234 (qt_internal_add_qml_module) This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring submodule 'qtwebview' -- Configuration summary has been written to /calypto/dt/new_ver_qt/qt-everywhere-src-6.9.1/build/config.summary Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available. Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available. WARNING: No backend for low level audio found. WARNING: No media backend found WARNING: QDoc will not be compiled, probably because clang's C and C++ libraries could not be located. This means that you cannot build the Qt documentation. You may need to set the CMake variables CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation. Other than clang's libraries, you may need to install another package, such as clang itself, to provide the ClangConfig.cmake file needed to detect your libraries. Once this file is in place, the configure script may be able to detect your system-installed libraries without further environment variables. NOTE: You WILL also need to set the FEATURE_clang CMake variable to ON to re-try finding the dependencies. On macOS, you can use Homebrew's llvm package. Run brew install llvm and then configure with configure LLVM_INSTALL_DIR=/opt/homebrew/opt/llvm FEATURE_clang=ON for macOS arm64 or configure LLVM_INSTALL_DIR=/usr/local/opt/llvm FEATURE_clang_ON for macOS x86_64. On Linux, you can try installing the clang package from your distribution's package manager. On Debian / Ubuntu run sudo apt install libclang-dev. On Fedora / RHEL run sudo dnf install clang-devel. On ArchLinux run sudo pacman -S clang llvm. Alternatively, you can use the prebuilt binaries hosted by Qt. These let you link LLVM/Clang libraries statically, but only support Release builds on Windows. https://download.qt.io/development_releases/prebuilt/libclang/qt/ After installing, reconfigure with /qt_src/configure FEATURE_clang=ON for a top-level build that includes the qttools repo or /qt_build/qt-configure-module /path/to/qttools FEATURE_clang=ON for a per-submodule build WARNING: The Clang-based lupdate parser will not be available. Suitable LLVM and Clang C++ libraries have not been found. You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check. WARNING: Qt WebEngine And Qt Pdf SBOM generation will be skipped due to missing dependencies. Required Python dependencies not found: spdx_tools.spdx.clitools.pyspdxtools WARNING: QtPdf has warnings. The following configure warnings were found: No harfbuzz library at least 4.3.0 version or later. Using build-in one WARNING: QtWebEngine has warnings. The following configure warnings were found: No harfbuzz library at least 4.3.0 version or later. Using build-in one WARNING: System GBM is disabled. The bundled minigbm supports Intel only, you might need to install libgbm to avoid rendering issues. -- Qt is now configured for building. Just run 'cmake --build . --parallel' Once everything is built, you must run 'cmake --install .' Qt will be installed into '/calypto/tools/install/rocky8/qt-6.9.1' To configure and build other Qt modules, you can use the following convenience script: /calypto/tools/install/rocky8/qt-6.9.1/bin/qt-configure-module If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory Alternatively, you can add the --fresh flag to your CMake flags. -- Configuring done (1287.1s) -- Generating done (53.0s) CMake Warning: Manually-specified variables were not used by the project: FEATURE_system_xcb_xinput QT_FEATURE_webchannel QT_FEATURE_webengine QT_FEATURE_webengine_core QT_FEATURE_webengine_widgets QT_FEATURE_webgl QT_FEATURE_x11_xss -- Build files have been written to: /calypto/dt/new_ver_qt/qt-everywhere-src-6.9.1/build
  • 0 Votes
    1 Posts
    30 Views
    No one has replied
  • 0 Votes
    2 Posts
    62 Views
    No one has replied
  • Bootsmann - minimalistic REST API test application

    Unsolved Showcase 3 days ago
    0 Votes
    3 Posts
    74 Views
    Thank you @piervalli ! Could you please explain, what do you mean "add list of Request"? How can I do this?
  • 0 Votes
    6 Posts
    96 Views
    That`s how QML Canvas renders graph Try it[image: dadd40cb-d477-4c6b-8dfd-d21281b1dac1.png]
  • Don't play mp3

    Unsolved General and Desktop 3 days ago
    0 Votes
    5 Posts
    149 Views
    try the following to see if it works or not QT_MEDIA_BACKEND=gstreamer ./your_application I guess you are using Qt6 and its default backend is FFmpeg. And check if you have installed FFmpeg. Multimedia module in Qt5 uses gstreamer.
  • Build Error!

    Unsolved Installation and Deployment 3 days ago
    0 Votes
    2 Posts
    95 Views
    Hi, Any particular reason for building all the tests ? If not, then you can still have them configured but not built as part of the rest of the build.
  • Invalid property name clipPlanes.

    Unsolved 3rd Party Software 3 days ago
    0 Votes
    2 Posts
    29 Views
    Hi and welcome to devnet, From a quick look, these last two properties are available through: PerspectiveCamera.