Skip to content

Qt 6

This is where all Qt 6 related questions belong

854 Topics 4.2k Posts
  • Read before posting in this category!

    Pinned Locked
    3
    6 Votes
    3 Posts
    3k Views
    SGaistS

    And now (incomplete at the time of this post): https://wiki.qt.io/New_Features_in_Qt_6.2

  • 0 Votes
    4 Posts
    74 Views
    Axel SpoerlA

    Thanks for the comprehensive report.
    You have found a bug, unfortunately. I have created a ticket for it: https://bugreports.qt.io/browse/QTBUG-135340.

  • QOpenGLFunctions_4_5_Core static variables

    Solved
    4
    0 Votes
    4 Posts
    90 Views
    SGaistS

    Hi,

    You realize that using all this static stuff is a really good start to a pretty nightmarish maintenance and debugging experience ?

  • How to prevent a window from being moved?

    Unsolved
    7
    0 Votes
    7 Posts
    127 Views
    Mike ChristensenM

    @JonB Yea, I thought writing a dock/taskbar "Waybar replacement" might be a fun weekend project and a chance to get back into C++ and learn Qt. I never imagined this rabbit hole. Anyway, I guess Wayland is still [relatively?] new and hopefully there will be solutions for these use cases as more major distros go Wayland native. It does give me respect for those implementing entire desktop environments such as KDE Plasma on Wayland since it's now clear all the fire hoops they have to jump through to get this stuff working.

  • Qt Graphs. Building 2d plot using c++ only.

    Unsolved
    16
    0 Votes
    16 Posts
    1k Views
    Pl45m4P

    @SandSnip3r said in Qt Graphs. Building 2d plot using c++ only.:

    Isn't the Graphs moved out of technical preview as of 6.8?

    Should be but as you can see from OPs question QGraphsView, the C++ API to access the QML backend is mentioned in the documentation but not implemented nor it has it's own documentation page... the links lead to nowhere... :(

    Maybe use the QML interface for now and handle it like any other hybrid QML/C++ app

    QGraphs should be 2D and 3D + C++ and QML... but not everything seem to work right now.

  • How to get Qt6 6.8 on ARM64 Ubuntu 22.04

    Unsolved
    4
    0 Votes
    4 Posts
    81 Views
    JoeCFDJ

    @mrkprdo Sorry, my bad. I fixed it.

  • I cannot use the design studio totally

    Unsolved
    2
    0 Votes
    2 Posts
    56 Views
    jsulmJ

    @hdugzx I never used Design Studio, but there should be a menu like "View" or "Windows". Look in "..." in the top-right corner. You also can check the settings. In QtCreator you can disable/enable menu by pressing Ctrl-Alt-m - maybe it also works in Design Studio.

  • Audio format issue with Qt 6.8.2, all worked well with 6.6.3

    Unsolved
    1
    0 Votes
    1 Posts
    54 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Doubts about #setAutoFillBackground

    Solved
    4
    0 Votes
    4 Posts
    133 Views
    SGaistS

    The documentation is quite clear: by default this property is false.
    There's no reason to pre-fill the background if you are going to fully paint it anyway.

  • QList::emplace_back()

    Unsolved
    4
    0 Votes
    4 Posts
    100 Views
    J.HilkJ

    @Shankarlinga-M thanks for your input!

    The use case is basically a container class, with - almost only -, readOnly access from outside.

    It will be read from user provided files during runtime and exist until a new set is read or the program is closed.

    The objects are created and "stored" in a List/Vector to be passed to where they are need to be read.
    So the list should per design choice be immutable. And I would like to enforce it.

    The default move assignment operator is deleted due to const members, so thats out too.

    Looks so far, as if the cleanest way would be using std::vector. Not sure how much refactor/extra work that will be :(

  • What did #setupUi do?

    Solved
    5
    0 Votes
    5 Posts
    158 Views
    J

    @jsulm Ok, thank you!

  • Qt6 installation

    Unsolved
    2
    0 Votes
    2 Posts
    97 Views
    jsulmJ

    @dan1973 said in Qt6 installation:

    How to resolve this?

    By doing what the error message suggests you to do:
    "You can select a different mirror for opensource metadata and downloads. The mirror can be set from terminal using option --mirror. Available mirrors can be found from:
    https://download.qt.io/online/qtsdkrepository/windows_x86/root/qt/Updates.xml.mirrorlist"

    Also see here: https://wiki.qt.io/Online_Installer_4.x

  • 0 Votes
    10 Posts
    1k Views
    QtFriend2024Q

    I am able to create a QT application that uses USB camera. This was my solution.

  • 0 Votes
    6 Posts
    196 Views
    MLandgrafM

    This was the solution, to set currentRow() (provided there is any groove data):
    if((ui->grooveList->currentRow() < 0) && (ui->grooveList->count() > 0)){
    ui->grooveList->setCurrentRow(0);
    }

  • Yocto - qtquickcontrols

    Unsolved
    2
    0 Votes
    2 Posts
    85 Views
    JoeCFDJ

    From here: https://doc.qt.io/qt-6/qtquickcontrols-changes-qt6.html
    Qt Quick Controls 1 was deprecated in Qt 5.11 and is removed from Qt 6.0. Use Qt Quick Controls (previously known as Qt Quick Controls 2) instead. For more information, refer to the Qt 5.15: Qt Quick Controls vs Qt Quick Controls 1 topic in the Qt 5 documentation.

    I guess you need Qt Quick Controls 2 and qtquickcontrols2-qmlplugins

  • 0 Votes
    5 Posts
    231 Views
    D

    Hey, as our docs state: "Users are responsible for managing the unique RPC handlers returned by the Client interface", the RPC object has to be alive to continue any processing. You don't need to connect to finish but it's highly recommended since you don't know when the time for deletion would be.

  • 0 Votes
    19 Posts
    586 Views
    I

    @aha_1980
    Thank you very much for the hint! The problem was in the path—there was a folder with Cyrillic characters.

  • 6.8.2 release?

    Unsolved
    10
    0 Votes
    10 Posts
    767 Views
    SGaistS

    Then it looks like there might be a regression. Please open a ticket for that (if none already exists and if there's one, please add the details you found).

  • 0 Votes
    7 Posts
    614 Views
    J

    @p_zirker did you find any solution ?

    i have this issue also thanks