Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.6k Posts
  • ScrollView with TextArea material style exceeds height

    Unsolved qml material design
    1
    0 Votes
    1 Posts
    192 Views
    No one has replied
  • Test QT widget application from a Separated Auto test Project

    Unsolved
    2
    0 Votes
    2 Posts
    131 Views
    SGaistS
    Hi and welcome to devnet, Do you mean something like described in the Qt Test module documentation ?
  • Photoshop layer like QTreeWidget Qt6 C++ - Help needed.

    Unsolved c++ qt6 qtreewidget qtreeview delegate
    5
    0 Votes
    5 Posts
    927 Views
    SGaistS
    @StudentScripter For the grouping you have to use an adequate data structure. As for hovering, IIRC, you have to have mouse tracking enabled on the view.
  • Applying a style to a QTableView object

    Unsolved
    2
    0 Votes
    2 Posts
    211 Views
    SGaistS
    Hi, If you want to do styled painting you should rather use the QStyledItemDelegate as a base. Next, how do you expect the default QStyle to make use of your custom options ? It knows nothing about them. Depending on what you want to achieve you should write a proxy style that make use of your custom options.
  • How to get Video's Duration without QMediaPlayer, but with QMediaMetaData

    Unsolved
    2
    0 Votes
    2 Posts
    291 Views
    SGaistS
    Hi and welcome to devnet, You need to wait for the media to be loaded before requesting metadata. I haven't tested it but the metadataChanged signal might indicated that they are now available.
  • QWidget not resizing on QtDesigner

    Unsolved
    4
    0 Votes
    4 Posts
    499 Views
    JonBJ
    @wasawi2 Start by placing some breakpoints/debug messages e.g. in your resizeEvent()? Check the value of size(). Not sure why you have to do this resize in code, but maybe. Your LineWidget instance(s) themselves have a layout onto which the chart view is placed?
  • What does it mean by "thread owns a QObject"?

    Unsolved event loop qobject qthread
    9
    0 Votes
    9 Posts
    2k Views
    H
    @Pl45m4 Calling slots as a normal function directly from main thread, reading/writing from/to a variable of QObject (using mutex of course).
  • This topic is deleted!

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

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

    Solved
    3
    0 Votes
    3 Posts
    4 Views
  • multithreading -> add and manage threads in Qt Creator with Qt App

    Unsolved
    2
    0 Votes
    2 Posts
    186 Views
    JonBJ
    @JacobNovitsky Qt Creator is an IDE, for editing and building from source code. There is no "add and manage threads in Qt Creator". See https://doc.qt.io/qt-6/thread-basics.html and https://doc.qt.io/qt-6/examples-threadandconcurrent.html for using threading in a Qt application. And please make sure you really need threading in your Qt application, which already works asynchronously for many things. A large proportion of beginners who think they need threads in a Qt program turn out not to need them and would be better off without.....
  • The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core"

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    S
    @sierdzio This is $PATH I set [image: a3b4c34e-8d02-4209-b93e-5153ea8dfeb0.png] I ran CMake command like this: cmake -DCMAKE_PREFIX_PATH=/home/Qt/6.5.2/gcc_64 -DQT_DIR=/home/Qt/6.5.2/gcc_64/lib/cmake/Qt6 -DCMAKE_BUILD_TYPE=Release ..
  • Play videos with QMediaPlayer on two displays with different DPI settings

    Unsolved
    2
    0 Votes
    2 Posts
    180 Views
    G
    it turns out this bug also can be reproduced in two dispalys with same DPI settings.
  • failed to install qt on windows 10

    Unsolved
    2
    0 Votes
    2 Posts
    143 Views
    jsulmJ
    @fstech_12 It looks like another instance of the installer is running. You can check in Task Manager and kill it there. If you still get this error then delete the file mentioned in the error message manually and try again. And finally (typical Windows workaround): reboot your machine :-)
  • This topic is deleted!

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

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

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

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

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Qt 6: cannot find -lOpenGL

    Solved
    7
    1 Votes
    7 Posts
    10k Views
    jsulmJ
    @booter Do you have a question? If you get this error - did you install the packages mentioned in this thread?