Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.3k Posts
  • Creating a UDP Communication Project

    Unsolved
    2
    0 Votes
    2 Posts
    122 Views
    Christian EhrlicherC
    Look into ui_Sender.h and you will see that you named your dialog different - fix it.
  • This topic is deleted!

    Solved
    3
    0 Votes
    3 Posts
    25 Views
  • Forcing PyQt6 to update part of a window that is not on screen

    Unsolved
    1
    0 Votes
    1 Posts
    268 Views
    No one has replied
  • Expanding multiple ListViews within QScrollArea.

    Solved
    9
    0 Votes
    9 Posts
    461 Views
    M
    @SGaist said in Expanding multiple ListViews within QScrollArea.: Here you have a variant in python that works quite well: Thank you for this. I'll dig into what you're doing with sizeHints, and see if I can adapt it to my working code above. Would be nice to not be dependent on all list items being the same size.
  • Qt6 - cmake

    Unsolved
    14
    0 Votes
    14 Posts
    5k Views
    SGaistS
    @Tom-asso You can also use the qt-cmake wrapper from the bin folder of your Qt installation.
  • How can I build Qt 6.5.1 / Android with openssl-1.1?

    Unsolved
    6
    0 Votes
    6 Posts
    856 Views
    JoeCFDJ
    @FrogCruiser From Qt6.5 https://www.qt.io/blog/moving-to-openssl-3-in-binary-builds-starting-from-qt-6.5-beta-2
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • [QTcpSocket - Qt-6.2.7] Write to socket big raw data

    Solved
    17
    0 Votes
    17 Posts
    1k Views
    Christian EhrlicherC
    @JonB It will for sure not. The data is somewhere between the users application and the other end. Maybe even buffered in a switch / router / whatsoever.
  • QHttpServer - middleware /route pre-process?

    Unsolved
    7
    0 Votes
    7 Posts
    467 Views
    artwawA
    @SGaist perhaps. My imagined wrapper simply holds the QNAM inside exposing request() and finished() slots/signals (in general), doing all the examinations inside and then sending requests. So, a gateway to replacing QNAM altogether in a sense.
  • Unable to compile, ui header never found. (Qt6, Clion, Windows)

    Unsolved
    12
    0 Votes
    12 Posts
    2k Views
    MoonFeatherM
    Also, for different file path of .ui file, both change CMakeLists.txt: set(PROJECT_SOURCES main.cpp mainwindow.cpp mainwindow.h Form/mainwindow.ui ) and the mainwindow.cpp's include path: #include "./Form/ui_mainwindow.h"
  • QWidget Drag And Drop inside Layout. Is this a good way?

    Unsolved qt c++ drag and drop layout qwidget
    5
    0 Votes
    5 Posts
    736 Views
    Pl45m4P
    @Axel-Spoerl said in QWidget Drag And Drop inside Layout. Is this a good way?: I have troubles to imagine what you mean by that. Colors aside, a widget is typically a rectangle. If I want to indicate a potential landing spot, I'd rather use a rectangle, than a line. I think @StudentScripter means the same behavior you see when adding widgets to a layout in QtDesigner. A "line" can be a thin rectangle :) You also see a rectangle when dragging QDockWidgets around showing the valid DockAreas. Maybe check the source code of QtCreator's Designer or QMainWindows dockarea.
  • 0 Votes
    8 Posts
    421 Views
    Pl45m4P
    @Zbigniew-Sch said in Program does not work properly using QFileSystemModel and QTreeView (Qt 6.7.2) under Windows 11: Are you from the Qt development team? This is a user forum... most people here are users like you with more or less experience. Debug your app to see why and where it crashes. If you think it's a bug related to QFileSystemModel and Win11, create a bugreport here
  • How to get minimum size Mainframe?

    Solved qwidget
    8
    0 Votes
    8 Posts
    860 Views
    Pl45m4P
    @SiGa As @SimonSchroeder said above, if you were using layouts properly, there's almost no way that things overlap, when resizing the main widget. Only free floating widgets, which are not part of any layout might do.
  • QBoxLayout misplacing

    Unsolved
    8
    0 Votes
    8 Posts
    469 Views
    G
    up .
  • Adding notes to QCalendarWidget

    Unsolved
    3
    0 Votes
    3 Posts
    230 Views
    jsulmJ
    @symHeisenberg You could show a widget when https://doc.qt.io/qt-6/qcalendarwidget.html#clicked is emitted where you show the notes for the date which was clicked.
  • GStreamer with QT6

    Unsolved gstreamer gstreamer1.0 gst
    24
    0 Votes
    24 Posts
    6k Views
    JoeCFDJ
    @Joe-von-Habsburg https://stackoverflow.com/questions/10810279/finding-libraries-using-pkg-config-in-windows open one of the pc files and check if the prefix is correct. The installed pkg config path is basically fixed under lib. Do not try to change it.
  • Deployment not working properly

    Solved
    7
    0 Votes
    7 Posts
    484 Views
    L
    I use the bin folder as an argument for the windeployqt command, and it doesnt work if i do it in another folder. However, running the windeployqt in the build folder worked just fine. Thanks for your help with that, i really appreciate it. Now i know which issue i am having with the form that doesnt open. For some reason, it says that the QtQuick.Effects module is not installed, even though i just checked to see if i have the additional libraries downloaded, and i have those. I dont know if i have to add something to my .PRO or something like that but it just says its not downloaded anymore
  • Sqlite query

    Unsolved sqlite query
    8
    0 Votes
    8 Posts
    870 Views
    artwawA
    @apfal Happy you got it working. Good luck!
  • Automatic registration of custom types?

    qmetatype
    2
    0 Votes
    2 Posts
    335 Views
    Pl45m4P
    @CJha Look here. :)
  • Conversion of Qvector<qreal> to QVariant fails

    Unsolved qvariant qvector qmap
    7
    0 Votes
    7 Posts
    932 Views
    Pl45m4P
    @sayan275 It's also always better to post the relevant code as text and not as image, so others can reproduce it easier.