Skip to content
Qt 6.11 is out! See what's new in the release blog
  • PySide6 6.11.1: qtquickshapesdesignhelpersplugin.dll not found

    Solved Qt for Python
    12
    0 Votes
    12 Posts
    618 Views
    F
    Solved in PySide 6.11.2
  • 0 Votes
    4 Posts
    745 Views
    JKSHJ
    @Malachi said in The required XCB cursor platform library was not found! Please use your distribution's package manager to install it.: I've been bonking into this error (warning?) for years. Are there no suggestions how to repair it? The error message tells you how to repair it: By installing the XCB cursor library. sudo apt install libxcb-cursor0
  • The required XCB cursor platform library was not found!

    Unsolved Installation and Deployment
    6
    0 Votes
    6 Posts
    5k Views
    JKSHJ
    @Malachi said in The required XCB cursor platform library was not found!: I've been bonking into this error (warning?) for years. Are there no suggestions how to repair it? Do you mean the warning about XCB cursor being not found? The solution is to install the missing library. On Ubuntu 22.04, you want sudo apt install libxcb-cursor0
  • Delete unused QML files from project. How?

    Unsolved Qt Creator and other tools
    2
    0 Votes
    2 Posts
    89 Views
    SGaistS
    Hi, AFAIK, no. The most simple is to update your CMakeFiles.txt and either comment out the lines with the files or delete them.
  • Is it wise to use C++ modules these days?

    Unsolved Qt Creator and other tools
    4
    0 Votes
    4 Posts
    225 Views
    S
    Thx! Guess it is better to start with plain .cpp and .h file for now.
  • 0 Votes
    9 Posts
    3k Views
    karl-policeK
    I made a bug report and added more details here https://qt-project.atlassian.net/browse/QTBUG-143646?focusedCommentId=2611561 but they haven't updated it yet, what do I do?
  • 0 Votes
    11 Posts
    531 Views
    MelOzoneM
    @JKSH I've made some progress - merged my changes from QtSvg 6.10 into 6.12. Also tried rebase (on a separate copy), but rebasing is a separate sorcery skill I clearly do not possess at the moment. The merged version builds, but my CMakeUserPresets got lost somewhere in the merging, and now Qt Creator builds everything in the repo/build directory. A minor inconvenience, but tolerable. Running tests and examples against the new build (and ensuring they are run against the new build) needs more time. I remember trying my previous CMake build with a custom LD_LIBRARY_PATH to ensure it uses the right stuff. Maybe it will be applicable in this case as well. Qt Creator likely has env variables somewhere in the Project settings, haven't explored those yet. The AI that I poke with different stupid questions also suggests that I can try ldd /path/to/your/example | grep Svg to verify that the example/test will use the correct library before running it. I'll circle back to this thread when I have more info to share.
  • Crash with Qt6.11.1 and VerticalHeaderView

    Unsolved General and Desktop
    10
    0 Votes
    10 Posts
    344 Views
    JoeCFDJ
    @DuBu your model will not update in your qml gui without Q_OBJECT macro in TableModel. I did not change anything in your code and it works on ubuntu .
  • Design pattern of inventory management desktop application

    Solved General and Desktop
    2
    0 Votes
    2 Posts
    104 Views
    SGaistS
    Hi, Approach 1 is correct. MainWindow does not need to expose its internal structure in this case. In fact, it is pretty rare that an application main window exposes its internal state like for your solution #2. One other good point is creating your API client outside of MainWindow. This allows scenarios such as passing a fake API client for testing purpose if for any reason you cannot contact/spin up your backend server. This does not seem to be the case here but still it can be useful.
  • create new QApplication in different thread

    Unsolved General and Desktop
    5
    1 Votes
    5 Posts
    199 Views
    TimTom420T
    Thanks for the clarification. That explains the behavior. The limitation makes sense for my use case (Qt used as a plugin inside a non-Qt application). I had interpreted the documentation to mean that, as long as only one QApplication instance exists at a time, recreating it in a different thread would be supported. Knowing that QGuiApplication leaves behind internal objects tied to the first thread, making cross-thread recreation currently impossible, answers my question. I'll adjust the design accordingly. Thanks for the detailed explanation and the Qt bug reference.
  • 0 Votes
    2 Posts
    694 Views
    Nils SjobergN
    # --- מציאת Qt6 לפני include(QtInstallPaths) --- find_package(QT NAMES Qt6 REQUIRED) find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core Widgets UiPlugin # נדרש לתוספי Designer — הסר אם לא רלוונטי Designer # נדרש לתוספי Designer — הסר אם לא רלוונטי )
  • Elided settings limit error

    Moved Unsolved Qt Creator and other tools elide mode socket help
    13
    0 Votes
    13 Posts
    588 Views
    Christian EhrlicherC
    @Joe-von-Habsburg said in Elided settings limit error: any solution here? due to settings limit So did you check the settings for such a limit?
  • How to trigger a virtual keyboard when click into a QSpinBox?

    Unsolved General and Desktop
    2
    0 Votes
    2 Posts
    150 Views
    F
    It seems to be a bug. Reported 2 years ago. https://qt-project.atlassian.net/browse/QTBUG-127124
  • QsciScintilla lexer not working

    Unsolved General and Desktop
    4
    0 Votes
    4 Posts
    283 Views
    SGaistS
    Hi, Which version of Qscintilla is that ? With which version of Qt ? Can you provide a minimal compilable example so people can reproduce the situation the same as you do ?
  • 0 Votes
    5 Posts
    290 Views
    Christian EhrlicherC
    Maybe you can compare the cmake files from Qt for Qt6.11.0 and 6.11.1 to find a differerence which may affect the manifest generation. /edit: This looks promising: --- a/cmake/QtBaseGlobalTargets.cmake +++ b/cmake/QtBaseGlobalTargets.cmake @@ -459,6 +459,13 @@ elseif(WASM) "${QT_BUILD_DIR}/${INSTALL_LIBEXECDIR}/qt-wasmtestrunner.py" @ONLY) qt_install(PROGRAMS "${QT_BUILD_DIR}/${INSTALL_LIBEXECDIR}/qt-wasmtestrunner.py" DESTINATION "${INSTALL_LIBEXECDIR}") +elseif(WIN32) + qt_copy_or_install(FILES "cmake/windows/app.exe.manifest.in" + DESTINATION "${__GlobalConfig_install_dir}/windows" + ) + file(COPY "cmake/windows/app.exe.manifest.in" + DESTINATION "${__GlobalConfig_install_dir}/windows" + ) endif() # Install CI support files to libexec. --> https://codereview.qt-project.org/c/qt/qtbase/+/718374 If you find a solution which works for cl and clang-cl it would be nice.
  • Image vs VectorImage for SVG. What to use?

    Unsolved QML and Qt Quick
    3
    0 Votes
    3 Posts
    168 Views
    S
    Vector-based formats are usually superior to pixel-based formats. SVG is a vector format, so it is generally preferable to use a vector image. This allows the image to scale properly to different screen sizes.
  • Porting Widgets app from Qt5 to Qt6, widget style issue

    Unsolved General and Desktop
    5
    0 Votes
    5 Posts
    298 Views
    S
    Does your software have a style sheet set up somewhere?
  • Flow not working AVD

    Solved QML and Qt Quick
    3
    0 Votes
    3 Posts
    168 Views
    D
    thanks, Awesome Programmer, i somehow missed that line.
  • QFileDialog::getOpenFileContent opens no window

    Unsolved Qt for WebAssembly
    3
    0 Votes
    3 Posts
    175 Views
    F
    What you say is true, it's an oversight. That does not solve the issue I am having though: the dialog opens when compiled to desktop, not when compiled to WASM.
  • Is there an "aggregate" version of QValidator?

    Unsolved General and Desktop
    3
    0 Votes
    3 Posts
    891 Views
    S
    The idea of the QValidator is to validate while you are typing/changing the value. If you just want to validate at the end (not while things are changed), then you can just write a function that goes over all the widgets. I remember a talk by an Adobe employee that was about something similar. AI tells me the speaker is Sean Parent and the library is Adam (a.k.a the Property Model Library or PML) which is part of the Adobe Source Libraries (ASL). Maybe you can find it and adapt some of their ideas. It is not explicitly written for Qt and might not work with it out of the box.