Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • 0 Votes
    14 Posts
    2k Views
    Christian EhrlicherC
    @BwvB The problem is the huge amount of possibilities of different compilers, os and others - Qt CI can only test shared builds on 16 different platforms with 48 configurations. see e.g. https://testresults.qt.io/coin/integration/qt/qtbase/tasks/1705338888
  • Memory release problem after a large number of QMetaObject::invokeMethod calls

    Unsolved
    2
    0 Votes
    2 Posts
    191 Views
    Christian EhrlicherC
    Please provide a minimal, compileable example and the exact Qt and is version.
  • Reports

    Solved
    5
    0 Votes
    5 Posts
    526 Views
    A
    @Mucip You link does not work any more. Try https://sourceforge.net/projects/qtrpt/link text. The QtRPT v3.1.0 is released
  • Good GPL Qt Report Engine?

    23
    0 Votes
    23 Posts
    22k Views
    A
    @TheCrowKaka Official site for discussion of the QtRPT project https://sourceforge.net/p/qtrpt/discussion/ Meantime, the fresh v3.1.0 is released
  • How to properly show&process Multiple OpenCV stream on the UI ?

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    V
    @RahibeMeryem can you share that how using threading..becuase i have did that in conventional way but it is too lagging
  • WindowStaysOnTopHint not working on X Display

    Unsolved
    2
    0 Votes
    2 Posts
    231 Views
    JoeCFDJ
    @Eric-Yin You may try to set its parent to nullptr or its very top parent as its parent while moving it to the right location over there.
  • Support check for QtWebEngine failed. But why?

    Unsolved
    2
    0 Votes
    2 Posts
    405 Views
    Christian EhrlicherC
    xproto is a x11 lib which you can install with your package manager.
  • Understanding QTextBrowser::anchorClicked and backwardAvailable

    Solved
    3
    0 Votes
    3 Posts
    412 Views
    A
    Yes, setting the source first and then the stripped down html seems to work. In case someone stumbles across this problem, too. This is the code, I'm talking about first setSource then setDocument in the anchorClicked event handler: ui->textBrowser->setSource(baseUrl.resolved(url), QTextDocument::HtmlResource); ui->textBrowser->setDocument(doc); emit ui->textBrowser->backwardAvailable(true); Thanks.
  • ubuntu 22.04 qt6

    Unsolved
    10
    0 Votes
    10 Posts
    4k Views
    JoeCFDJ
    @ademmler Qt version 6.2.4 is old. Maybe first try to install the latest Qt 6.6.1 under /opt/.
  • Is this the correct way to generate translations with cmake?

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    C
    @Christian-Ehrlicher Thanks! This answered all my questions, I'll close the issue.
  • Issues with the qt6 version in Ubuntu.

    Unsolved
    6
    0 Votes
    6 Posts
    994 Views
    JoeCFDJ
    @Paul-Colby I am not sure it is usable even when it is built. For example, Qt Gstreamer is built, but not usable anymore since its development is stopped. I do not use qt chooser.
  • Building Qt fails with missing dxgil_3.h

    Unsolved
    3
    0 Votes
    3 Posts
    643 Views
    Chris BC
    I'm building on a docker of Fedora 30 with MinGW tools. The 1_3.h file can be obtained through the msys installer on Windows, but it makes a compile error, however, replacing the include directive in the _p_p.h file to include 1_2.h works for that file. Later on, there is a compile error missing some #defines which must be copied from the 1_3 file. It's a rats nest, but its possible.
  • embed a qdialog into qwidget (Qt c++)

    Unsolved
    16
    0 Votes
    16 Posts
    2k Views
    Axel SpoerlA
    @Kaguro Well, even if the bug will be closed without a fix, we should have a look at it.
  • How to build QtPdf?

    Unsolved
    22
    0 Votes
    22 Posts
    3k Views
    S
    @jsulm said in How to build QtPdf?: make sure you installed libxcb-xkb1 and libxcb1-dev packages. I checked it and it is already installed.
  • how to use ncurses and Qt Creator

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    C
    @JonB said in how to use ncurses and Qt Creator: I'm not sure I knew there was an "internal terminal" Nor did I until today.
  • how to cross compile 5.12.5 source code for aarch64-linux -gnu

    Unsolved
    2
    0 Votes
    2 Posts
    330 Views
    jsulmJ
    @S_E_E_N_U Please be so kind and format your post properly, so that others can better onderstand the problem! Please post the whole error message. I'm not sure this is valid parameter: -linuux- OKT607-C
  • How can QValueAxis fixing tick numbers when after broken?

    Unsolved qchart qvalueaxis zoom
    1
    0 Votes
    1 Posts
    268 Views
    No one has replied
  • QStringLiteral optimization

    Solved
    12
    0 Votes
    12 Posts
    972 Views
    Christian EhrlicherC
    @Chris-Kawa said in QStringLiteral optimization: I'm gonna go a bit against my colleagues here and say go for it. But this was not his question... there will be no startup speedup which is measurable for this single string. You're right that all the tiny things will maybe bring something but then the question was wrong (and in the first incomplete). Yes, you should use QStringLiteral, but this is also written in the documentation: https://doc.qt.io/qt-6/qstring.html#QStringLiteral but there is a lot lot of other stuff which will affect your performance first before seeing any gain due to this change.
  • Dynamically update QML Image

    Unsolved
    13
    0 Votes
    13 Posts
    10k Views
    L
    @J-Hilk Thank you! You are absolutely right. I was a bit fast to change the property to int. Here is the refactored and working function: function loadImages(){ slotAImage.counter += 1 let a_sourcestring = "image://stockimage/"+ main_rect.row + "_" + main_rect.col +"_A.png" + slotAImage.counter slotBImage.counter += 1 let b_sourcestring = "image://stockimage/"+ main_rect.row + "_" + main_rect.col +"_B.png" + slotBImage.counter palletImage.counter += 1 let pallet_string = "image://stockimage/" + main_rect.row + "_" + main_rect.col +"_Pallet.png" + slotBImage.counter slotAImage.source = a_sourcestring slotBImage.source = b_sourcestring palletImage.source = pallet_string } First issue was the cpoy/paste error of the counters. second issue was not to increase by 1 or anything else. So the counter would always be 0. But i can confirm that it wont work if the property is bool, something like that: function loadImages(){ slotAImage.counter = !slotAImage.counter let a_sourcestring = "image://stockimage/"+ main_rect.row + "_" + main_rect.col +"_A.png" + slotAImage.counter slotBImage.counter = !slotBImage.counter let b_sourcestring = "image://stockimage/"+ main_rect.row + "_" + main_rect.col +"_B.png" + slotBImage.counter palletImage.counter = !palletImage.counter let pallet_string = "image://stockimage/" + main_rect.row + "_" + main_rect.col +"_Pallet.png" + slotBImage.counter slotAImage.source = a_sourcestring slotBImage.source = b_sourcestring palletImage.source = pallet_string } As described it works two times. Is it possible that all source strings get stored somehow? Actually i have nt much time to spend on this but i looked for a possibility to purge the Image from the QML Type -without success yet.
  • How to default antialising to all QPixmap?

    Unsolved
    5
    0 Votes
    5 Posts
    391 Views
    S
    @Christian-Ehrlicher QWidget { border-image: url("C:/Users/Ruan/home.png"); border-radius: 12px; } the image borders are jagged, while with antialiasing they don't. how do i default all paint events to use anti aliasing?