Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
84.0k Topics 459.8k 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
    39k 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.
  • Which development tools to use when I want some AI assistance?

    Unsolved
    1
    0 Votes
    1 Posts
    24 Views
    No one has replied
  • Qt Widgets or Qt Quick/QML for this application?

    Unsolved
    3
    0 Votes
    3 Posts
    58 Views
    piervalliP
    qml+ qmltc enabled
  • GCC 16 warnings about incomplete types in an SFINAE context

    Unsolved
    9
    0 Votes
    9 Posts
    307 Views
    Christian EhrlicherC
    std::bind? Use lambda :)
  • QEventDispatcherWin32::wakeUp warning

    Unsolved
    5
    0 Votes
    5 Posts
    3k Views
    Joe von HabsburgJ
    Hello. I have same issue. Windows 11 and Qt6.11.1 MSVC22 I take data from udpserver, and my speed 800-900 Mbps on Task Manager. How could I fix it ? Also my sockets works on different threads.
  • [Qt5] Can't set WA_TranslucentBackground to a QWidget ?

    14
    0 Votes
    14 Posts
    16k Views
    N
    Same in my case also any qt forum member can addressed it . much appreciated.
  • Changing Gerrit 2FA

    Solved
    4
    0 Votes
    4 Posts
    178 Views
    A
    Thank you, that is what I was looking for. I can add a new 2FA before getting rid of the old one.
  • how to build qt-opensource-windows-x86-5.14.2.exe

    Unsolved
    2
    0 Votes
    2 Posts
    85 Views
    SGaistS
    Hi and welcome to devnet, Usually you don't build the installer. You build Qt itself. If you are locked to 5.14.2, then the most simple is to grab the zip archive of that version, apply your changes and then build it. The reasonable thing to do is to port your code to a current version of Qt 6 as Qt 5 has reached end of life quite a long time ago.
  • Crash in release mode

    Unsolved crash crash app release mode webengine
    5
    1 Votes
    5 Posts
    181 Views
    Joe von HabsburgJ
    I would like to ask something. I do not change address manually. I should explain my app little. //receiving struct struct MyObj{ İnt id; QTimer *timer = nullptr; } //socket tcp void readyRead(){ QList<MyObj> objs; //data parsing here and append list(MyObj) emit sendObjs(objs); } //mainwindow void receiveObjs(QList<MyObj> objs){ // I control here objs is exist or not // I took _objs list in mainwindow and control with new objs list receiving obj id. İf id exist in _objs update pareters, or id do not exist in _objs MyObj append to list for(MyObj &obj : objs){ İf(do not exist){ //start remove timer Obj.timer = new Timer Obj.timer->serSingleshoot(true); Connect(obj.timer … { removeObj(obj.id); }); Obj.timer->start(15000); addTable(obj) _objs.append(obj); } else{ // id control in _objs and updare parameters // timer start again // addTable again } } //send _obs list to somewhere, it just set to list local as parameters } Void removeObj(id){ //stop timer //remove from table //remove from_objs list } Void addTable(MyObj obj){ // id check // if rows has id, update row // else add new row } So, I take data from tcp socket as they are some object and, I send to main for update my list, also I check received objects still exist or not, İf they not remove. Now. How _objs list address broken? I have written on mobile device, sorry for bas syntax;
  • This topic is deleted!

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

    Unsolved
    1
    0 Votes
    1 Posts
    25 Views
    No one has replied
  • CPack. qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""

    Unsolved
    7
    0 Votes
    7 Posts
    314 Views
    SGaistS
    You might also want to check the Qt cmake deployment guide.
  • Explanation of QAudioSink suspend state

    Unsolved
    3
    0 Votes
    3 Posts
    124 Views
    JoeCFDJ
    Not sure why you suspend audio sink? I guess the general practice is to suspend or pause the state of the source. I have never tried to change the state of the sink.
  • Pixel perfect drawing with QCanvasPainter - is it possible on scaled desktop?

    Unsolved
    5
    2 Votes
    5 Posts
    410 Views
    martin_kyM
    @GrecKo I just did that - https://qt-project.atlassian.net/browse/QTBUG-146798
  • New error building with MS Visual Studio

    Unsolved
    5
    0 Votes
    5 Posts
    395 Views
    I
    You can also define QT_NO_DEPRECATED_WARNINGS. Don't know is it better approach or worth.
  • How are the Qt translation tools deriving these strings?

    Solved
    6
    0 Votes
    6 Posts
    238 Views
    Y
    @Christian-Ehrlicher said in How are the Qt translation tools deriving these strings?: @Yuri-Habadakas said in How are the Qt translation tools deriving these strings?: But I am surprised that it's pulled a string for a totally new dialog which did not previously exist. Why - it's a simple string compare and helpful for the translators. Well, I guess because it has no idea whether it's still valid in the context of the new location (and neither do I). But then again, I suppose that's why it marks it with unfinished, and that flag gets used by the Qt-native translation tools? (We use a different translation tool, and some scripts that convert the .ts files, and I only recently discovered this behaviour, and that the unfinished business wasn't being passed on by the conversion script!...)
  • QtPIM and newer Qt releases (e.g. port to 6.10)

    Solved
    4
    0 Votes
    4 Posts
    198 Views
    A
    Thanks, I'll take it to the devel-list; while KDE doesn't use QtPIM, Lomiri does, and that is doing a Qt6 conversion-effort.
  • Qt 6.10.2 OpenSSL 3

    Unsolved
    4
    0 Votes
    4 Posts
    176 Views
    A
    Anything with "source code" is only needed when you want to build from source. To see the whole lists/versions, click on the "Show" dropdown and select "Archives" or something similar. If you're using the latest Qt Online Installer, there's usually one box unchecked under "Show", check that.
  • Another problem thrown up by VS 20206 18.6

    Unsolved
    2
    0 Votes
    2 Posts
    115 Views
    No one has replied
  • Chart and Legend

    Solved
    5
    0 Votes
    5 Posts
    300 Views
    P
    Hi guys, i was able to solve my issue but i have to say i used help from AI, and now i have 2 solutions one is using eventFilter and second one is using customContextMenuRequested. Thanks for your suggestions best regards pixel