Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
84.1k Topics 460.4k Posts
Qt 6.11 is out! See what's new in the release blog
  • Reporting inappropriate content on the forums

    Pinned Locked spam
    29
    4 Votes
    29 Posts
    56k Views
    A
    Thank you for the report. I have banned the user, which got rid of the spam posting. Not a loss, as this user did not post any other content on the site. Just deleting this one posting was not possible. Thanks for reporting this.
  • 0 Votes
    2 Posts
    81 Views
    JKSHJ
    @DevMattew said in [MSVC/Qt6] Address Space Exhaustion during "Edit and Continue" after migrating from Qt3 to Qt6.8.3: Does anyone know if Qt 6 has introduced new mechanisms (e.g., larger metadata tables, different alignment requirements, or changes in QObject memory layouts) that could impact the memory overhead during a hot-patching session? Are there specific MSVC compiler flags or linker options (related to /incremental or /LARGEADDRESSAWARE) that are now mandatory when combining Qt 6 with Edit and Continue? Has anyone experienced "Address Space Exhaustion" specifically during hot-reloading in a large-scale Qt 6 project? First, can you please provide more details on how this "hot-swapping"/"hot-patching"/"hot-reloading" is implemented and how it works? This doesn't sound like native Qt functionality. AFAICS, there is official support for hot-reloading in QML, but not in Qt C++.
  • Has the minimum CPU requirement for Qt 6.10 Linux x86_64 binaries changed to x86-64-v2?

    Unsolved
    5
    0 Votes
    5 Posts
    129 Views
    JonBJ
    @Rocus It's https://qt-project.atlassian.net/jira/projects nowadays. That is for bugs etc. I don't know whether your suggestions belong there. They may be more appropriate in https://lists.qt-project.org/listinfo/development. For your current issue please answer @Christian-Ehrlicher above, he may be able to help. @Christian-Ehrlicher said in Has the minimum CPU requirement for Qt 6.10 Linux x86_64 binaries changed to x86-64-v2?: From where did you install PyQt and the corresponding Qt libraries? To avoid confusion, I think he meant PySide rather than PyQt.
  • How to make OS with Qt (Operating System)

    Solved
    18
    0 Votes
    18 Posts
    6k Views
    D
    @Nils-Sjoberg Probably not too late if the OP actually went through with his plan to code a custom OS though 🤔
  • Modern App Packaging

    Unsolved
    11
    0 Votes
    11 Posts
    847 Views
    S
    @sales99 said in Modern App Packaging: mani mani, but apps dont deploy, waste of time So, what do you think windeployqt, linuxdeployqt, and macdeployqt are doing?
  • Advice on Bezier curve class implementation

    Unsolved
    4
    0 Votes
    4 Posts
    149 Views
    SGaistS
    The your first issue is: making DataPort private in your base class means that none of the derived class will know about it. See the cpp FAQ about access rules.
  • [bug] Right to left numbered lists are inverted (identical to left to right lists)

    Unsolved
    2
    0 Votes
    2 Posts
    84 Views
    I
    It's best to post a full self-contained example (C++ or Python) that demonstrates a problem when posting one rather than just a snippet. It helps people to help you more. That said, it is a clear artifact of how the QTextDocumentLayout class (an internal Qt class that implements paragraph layout for QTextEdit by default) is implemented. List bullets are painted "on top of" and outside the text block that contains the list item, and you can see that not only (what I assume is) the auto-deduced block text direction does not apply to the bullet, also the baseline alignment is wrong. There are many, many, bugs with more complex document layouts with it - RTL related and otherwise. Your one is already reported as https://qt-project.atlassian.net/browse/QTBUG-60544, and a quick search in Jira will come up with more. My advice, is that if you are serious about this project of an Arabic language word processor with complex layout support, you should look sooner or later into implementing your own subclass of QAbstractTextDocumentLayout. It is a dark art of sorts, and quite difficult, but the control is needed to reach the level of quality one would expect.
  • Context menu RTL bug

    Solved
    6
    0 Votes
    6 Posts
    232 Views
    A
    @IgKh yes this is the bug, updating my system fixed it.
  • Design pattern of inventory management desktop application

    Solved
    5
    0 Votes
    5 Posts
    315 Views
    Pl45m4P
    @sales99 Beside m_memberVar there is also _memberVar mMemberVar and more variants... which are a matter of taste. At least one of them should be picked to differ between class member and local scope variables
  • Beware of nested event loops

    Unsolved
    7
    3 Votes
    7 Posts
    659 Views
    S
    you cant call run() run() simply
  • Excel file - loop crashout - c++

    Unsolved
    3
    0 Votes
    3 Posts
    283 Views
    S
    sheet readStr gives you null as there is somewhere no valid data, print index where it crash
  • Is there an "aggregate" version of QValidator?

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    S
    you can put a QMap of validators/input widgets and signal every input change to slot that checks the inputs for validity. you could sub-class all items to emit a same signal to indicate input change, that would allow to put them in some validity checker. or if the ::event stuff allows it better
  • How to trigger a virtual keyboard when click into a QSpinBox?

    Unsolved
    3
    0 Votes
    3 Posts
    233 Views
    S
    you could subclass QSpinBox to allow you to catch focus events and trigger vkbd
  • fake mouse move events when scrolled programatically

    Unsolved
    11
    0 Votes
    11 Posts
    492 Views
    S
    isnt there a widget signal blocker that stops signals while manipulating manually
  • Porting Widgets app from Qt5 to Qt6, widget style issue

    Unsolved
    6
    0 Votes
    6 Posts
    410 Views
    S
    could be a bug, i would say if QSpinBox not subclassed or otherwise stylesheets or messed up wont show up as expected
  • building qtpdf manually fails to find c/c++ std headers

    Unsolved
    3
    0 Votes
    3 Posts
    494 Views
    S
    isn‘t xcode command line tools supposed to be a compiler setup.
  • Trouble in android sdk setup in Qt Creator

    Unsolved
    4
    0 Votes
    4 Posts
    243 Views
    SGaistS
    Hi and welcome to devnet, This a user forum where other users answer. For immediate fixes, you should contact the Qt Company. That said, you do not provide enough information such as version of Qt you are using for Androïd. Please take a look at the corresponding requirements chapter and use the JDK, SDK and NDK specified there. The changes between NDK versions can be quite large and often break stuff for third party such as Qt.
  • Create Custom Window, with custom TitleBar

    Solved
    13
    0 Votes
    13 Posts
    5k Views
    U
    Hi, Please check out my custom designed frameless window: https://github.com/umar-masood/QtNovaFramelessWindow
  • Frameless windows window while still using window manager

    2
    0 Votes
    2 Posts
    2k Views
    U
    Hi, Please check out my custom designed frameless window: https://github.com/umar-masood/QtNovaFramelessWindow
  • Slot called twice when button pressed

    Unsolved
    24
    0 Votes
    24 Posts
    27k Views
    A
    @aha_1980 Excellent, ta. Solved my problem.