Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.5k Posts
  • How to install Qt Creator 11 beta?

    Solved
    3
    0 Votes
    3 Posts
    487 Views
    L
    @Cobra91151 Thank you very much! On Ubuntu this is also needed after installing the above: sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • 0 Votes
    4 Posts
    764 Views
    D
    Hey @mrjj Digging out this topic... as I figure better to stick it in the same tree... Anyway, any idea how to make QScrollArea behave correctly too? Making it container does not let me drag widgets on it :/
  • How do I change the font of a QValue3DAxis?

    Unsolved
    1
    0 Votes
    1 Posts
    132 Views
    No one has replied
  • Cloning option in "Welcome" window....

    Unsolved
    4
    0 Votes
    4 Posts
    685 Views
    A
    @Paul-Colby Thanks - very clear explanation, I appreciate it. Still does not answer why I could not even open either one. And after reboot - the original would not compile with some weird makefile error.
  • QTextEdit setting font often doesn't work

    Unsolved
    6
    0 Votes
    6 Posts
    363 Views
    JoeCFDJ
    @clarify No, I did not mean you fix Qt bugs. You may try to work around the issues. Unluckily, bugs do exist in Qt or other software.
  • Can we have Hot Reload or Live coding for C++ based apps ?

    Solved
    10
    1 Votes
    10 Posts
    2k Views
    S
    On Windows, you can license Live++: https://liveplusplus.tech
  • How to find QT version from project files?

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    A
    @ChrisW67 okay thanks, I will try this
  • Problem using an integer in a const function after changing its value

    Unsolved qsqltablemodel flags const
    11
    0 Votes
    11 Posts
    2k Views
    Chris KawaC
    @MH24 said: Should I have used a QSqlTableModel here instead? Can we use the default and subclassed one in same class? Models are for displaying in a view. You don't need a model to get data out of a database. Use QSqlQuery instead and as a local variable. You don't need to allocate everything dynamically if you only use it locally. You can construct a SQL query that will get you those unique values while you're at it. Simpler and shorter. So if I click 2nd button of any table all 2nd rows of all tables would be edit enabled Then the problem is still the same - you're writing a variable in one model and read different variables in different models. Either write the variable to all the models or read from a single place that you write to.
  • Log scale with 0 in pyqtgraph

    Unsolved
    2
    0 Votes
    2 Posts
    560 Views
    T
    I stumbled over the same problem and I haven't found a "symlog" for pyqtgraph yet... Since the log value for zero can not be defined, whilst small values close to zero are defined, the zero values can be set to a value close to zero (e.g. 1e-3, or maybe even lower... e.g. 1e-10). x = [1, 4, 0, 2, 3, 0, 1] x[x==0] = 1-e3 print(x) --> x = [1, 4, 0.001, 2, 3, 0.001, 1] I hope this helps in some way. Kind regards
  • This topic is deleted!

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

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Qt 5.15.0 on MacOS - fully transparent widget with clickable image

    Unsolved
    1
    0 Votes
    1 Posts
    219 Views
    No one has replied
  • qt6 availability in repos

    Unsolved
    3
    0 Votes
    3 Posts
    379 Views
    Paul ColbyP
    @ocgltd said in qt6 availability in repos: I'm deciding whether to build my app against qt5 or qt6. Another option (with its own drawbacks of course) is to make your code compatible with both Qt5 and Qt6. Of course, the effort required depends on what Qt modules you need to use, and how much they've changed between releases. Just as an example, this open-source project of mine currently builds and test on 88 different combinations of Qt versions 5.9 to 5.15, and 6.2 to 6.5, on Linux, macOS and Windows, with gcc, clang, mingw and MSVC. Is it overkill? Yeah, it is a bit. But it does catch some very interesting corner-case bugs :) Try searching that repo for QT_VERSION_CHECK to get some sense of how easy/hard it might be to support multiple Qt versions. (Side note: the reason that project doesn't build for Qt 6.0 to 6.2, is it uses the QtBluetooth module, which wasn't ported to Qt6 until 6.3). Anyway, just showing that is doesn't necessarily have to be an either/or choice, but you might be able to support both Qt5 and Qt6 on a single codebase. Of course, there's also a lot of advantages in settling on just one version... it just depends on which of your needs weigh the heaviest. Cheers.
  • Buy qt6 to distribute complete package for older Linux

    Unsolved
    2
    0 Votes
    2 Posts
    162 Views
    Christian EhrlicherC
    @ocgltd said in Buy qt6 to distribute complete package for older Linux: Qt6 based app that runs on older Linux OS's like RH7/Deb9/Ubuntu 14. This will not work: https://doc.qt.io/archives/qt-6.0/supported-platforms.html - apart from some maybe missing 3rd party libs you will need gcc9 at least.
  • Layout issue with QWidget converted form win32 window

    Solved
    7
    0 Votes
    7 Posts
    832 Views
    G
    @JonB Sad to hear that. BTW. adding Qt::WindowStaysOnTopHint to the QPushButton doesn't work.
  • QT CMake command qt_standard_project_setup() for older versions. How?

    Unsolved
    1
    0 Votes
    1 Posts
    309 Views
    No one has replied
  • OpenSSL errors for map example

    Unsolved
    3
    0 Votes
    3 Posts
    563 Views
    W
    @ChrisW67 said in OpenSSL errors for map example: ldd yourexe this isnt for an executalbe, this is just in qt creator, so im not sure how to apply this?
  • This topic is deleted!

    7
    0 Votes
    7 Posts
    80 Views
  • 0 Votes
    5 Posts
    613 Views
    A
    @JonB said in Despite public Inheritance and public Base Class Constructor, the Derived Class has no access to its parent's constructor: the "error category Intellisense" might be only an IDE warning That.