Skip to content

Qt 6

This is where all Qt 6 related questions belong

878 Topics 4.3k Posts
  • Doubts about #setAutoFillBackground

    Solved
    4
    0 Votes
    4 Posts
    524 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
    419 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
    486 Views
    J
    @jsulm Ok, thank you!
  • Qt6 installation

    Unsolved
    2
    0 Votes
    2 Posts
    305 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
    2k Views
    QtFriend2024Q
    I am able to create a QT application that uses USB camera. This was my solution.
  • I don't see a selection bar in the QListWidget when a QT dialog opens

    Solved
    6
    0 Votes
    6 Posts
    466 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
    348 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
  • Qt GRPC: Why is handling a response required for a grpc call?

    Unsolved
    5
    0 Votes
    5 Posts
    579 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
    1k 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
    1k 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
    974 Views
    J
    @p_zirker did you find any solution ? i have this issue also thanks
  • Qt6 and QGis integration erro of qt5 library

    Unsolved
    3
    0 Votes
    3 Posts
    550 Views
    A
    @Christian-Ehrlicher Error of qt5 has been resolved thanks. The new error arises as QGIS Entry Point Not Found [image: f81a6c4c-2915-4c18-a15b-9377574ad9d3.png]
  • QT6 progressbar -The running display effect of QT6 progressba is different

    Unsolved
    9
    1 Votes
    9 Posts
    733 Views
    S
    One advantage of Qt is that it has a native look on Windows on macOS. You might not like the choices Microsoft made, but in general it is a good idea to just adsorb the change. In the long run it will be less confusing to your users if you app (written in Qt) looks the same as every other app on Windows.
  • Problem with boot2QT

    Unsolved
    5
    0 Votes
    5 Posts
    471 Views
    F
    @jsulm Thank you, will try to seek for support
  • QWizard (Qt 6, Windows only) - button bar layout bug?

    Unsolved qwizard
    4
    0 Votes
    4 Posts
    505 Views
    SGaistS
    What do you mean by accommodate ? My suggestion was mainly to test to ensure whether it was a known bug.
  • Problem with std::cin and getting input from console generally

    Unsolved
    4
    0 Votes
    4 Posts
    478 Views
    SGaistS
    Check the comments of David Faure on this stack overflow answer. Check QSocketNotifier and QWinEventNotifier.
  • The problem with init-repository.bat

    Solved
    6
    0 Votes
    6 Posts
    823 Views
    N
    Hello SGaist and All! After command: git config --global --add safe.directory C:/QtSource/qt6 init-repository.bat work good! Thank You very much! With best regards Navadvipa Chandra das.
  • Variable QMAKE_CXX.COMPILER_MACROS is not defined.

    Unsolved
    4
    0 Votes
    4 Posts
    619 Views
    SGaistS
    For the last stage you start from bookworm-slim and only copy the Qt build and a log file. Thus you have a bare bone system with no compiler, no developer helper tools such as make, etc.
  • QtWebEngine cannot save cache

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    1
    Hi @Kevin_Burns, did you ever work out what your problem was? I am on QT 6.8, am pretty sure I have done everything the documents say to do, but cannot get the cache and cookies to persist. Thanks
  • Hi, what's the difference between `add on` and `extension`?

    Solved qt6
    7
    0 Votes
    7 Posts
    3k Views
    JonBJ
    @SGaist Not a problem :) Just not sure what else OP wants.