Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Cannot create children for a parent that is in a different thread

    Solved
    6
    0 Votes
    6 Posts
    3k Views
    P
    I've now used QThread instead of std::thread and used signal/slots to transfer data from my Listening_thread to main thread. problem solved. Thanks for the helpful replies.
  • qt xml Serialize funtion

    Unsolved
    2
    0 Votes
    2 Posts
    188 Views
    I
    https://github.com/smurfomen/QSerializer The source code can be obtained here.
  • Change QLineEdit placeholder text color

    Solved
    13
    0 Votes
    13 Posts
    15k Views
    H
    @xmichelo-0 this placeholder text color method did not have effect at UI first open, only puts some words on the lineEdit field and then delete it, it just work. test on QT 6.2 with MacOS.
  • Unable to compile when using QCustomPlot

    Unsolved qcustomplot desktop qgenericmatrix msvc2019 qt creator
    2
    0 Votes
    2 Posts
    1k Views
    jsulmJ
    @JPolo said in Unable to compile when using QCustomPlot: I use Qt Creator 4.15.0 based on Qt 5.15.2 MSVC2019 That is not necesserilly Qt version you're using (this is the Qt version used to build QtCreator). What Qt version did you install? What is the first error message? Did you do what the tutorial suggests: "To use the shared library in your application, set the define QCUSTOMPLOT_USE_LIBRARY before including the QCustomPlot header."?
  • modbus udp

    Unsolved
    3
    0 Votes
    3 Posts
    458 Views
    P
    Thanks @raven-worx
  • Column 1 out of range although datas aren't missing and data are showing properly

    Unsolved
    12
    0 Votes
    12 Posts
    1k Views
    Thank YouT
    @JonB Although it is kinda late but l am currently using QT 5.15.2. But also getting same result. I used the drivers from https://github.com/thecodemonkey86/qt_mysql_driver/releases I don't know any other drivers for this
  • "forcing" the recomputation of a property

    Unsolved
    2
    0 Votes
    2 Posts
    236 Views
    JKSHJ
    @EddieC Have a look at the new property system in Qt 6: https://www.qt.io/blog/all-about-property-bindings-in-qt-6.2
  • This application failed to start because no Qt platform ...

    Solved
    16
    0 Votes
    16 Posts
    9k Views
    JKSHJ
    @Chris-King said in This application failed to start because no Qt platform ...: I am running into this message attempting to run Houdini. Please provide the full, exact message. There are subtly different versions of the message; some include additional details which can help pinpoint the exact issue. Are all these vendors not properly installing their apps? Most vendors probably installed their apps correctly. However, it only takes 1 badly-behaved app to cause DLL Hell and ruin things for everyone else on that PC. You'll need to track down that badly-behaved app and do something about it. Are users expected to modify their installations of these apps using windeployqt? No, users are not expected to do anything. Software developers are expected to provide well-behaved installers.
  • QWizard vs a QDialog with stack control?

    Solved
    4
    0 Votes
    4 Posts
    464 Views
    D
    Nevermind I had the second group in the "New" dialog for Qt Designer collapsed so I didn't see the wizard option. Now I do. Should be easy from here.
  • Why does Valgrind show me over a 1000 errors related to Qt header files?

    Unsolved
    7
    0 Votes
    7 Posts
    735 Views
    C
    @JonB Thanks, I will try that. But at the moment I can't even run the app, because I tried upgrading to 5.15.2.
  • Getting maximized dialogs normal size?

    Solved
    2
    0 Votes
    2 Posts
    231 Views
    D
    Of course I figured this out just a few minutes after posting, sorry for wasting your time. Anyone who's interested there is a function in the dialog/widget class called normalGeometry() which holds the unmaximized size of the window.
  • Memoy leak using QtCharts

    Unsolved
    30
    0 Votes
    30 Posts
    7k Views
    mrjjM
    @thiagohd Hi I dont think I bug report was ever created or it was further looked at.
  • UI is not updating in build (MSVS 2019, QT6)

    Unsolved
    6
    0 Votes
    6 Posts
    510 Views
    JonBJ
    @Meeuxi This was not the question. I have not used Visual Studio, but I assume when you change a .ui file the project has to rebuild? I am asking whether that happens for the .ui file you say is not reflecting changes in the latest executable?
  • Issues with loadFromData function in QImage

    Solved qimage qpixmap taglib image issue
    14
    0 Votes
    14 Posts
    3k Views
    Christian EhrlicherC
    @Nick-Redwill This is what windeployqt is for...
  • btchat does not find any Bluetooth devices

    Unsolved
    1
    0 Votes
    1 Posts
    152 Views
    No one has replied
  • can't run QT6 in visual studio 2022

    Unsolved
    16
    0 Votes
    16 Posts
    11k Views
    G
    @HerrWinfried The problem is that VS2022 doesn't return by default the right value for __cplusplus No idea if that's a bug or a feature in VS2022. However, here the solution how to overcome this issue: https://docs.microsoft.com/en-us/cpp/build/reference/zc-cplusplus?view=msvc-170 cheers Greg
  • Parsing JSON file

    Solved
    23
    0 Votes
    23 Posts
    3k Views
    J
    @KroMignon said in Parsing JSON file: @jenya7 said in Parsing JSON file: It works. Thank you. But you did not reply to my question... What exactly did not work with your code? AFAIK, there is no difference between temperature.value("Maximum") and temperature["Maximum"]. Yes. It should be the same. Probably I didn't cast it to the right data type.
  • Try to deploy a Subdirs project in Linux.

    Unsolved
    8
    0 Votes
    8 Posts
    1k Views
    JonBJ
    @django-Reinhard Fortunately I do not distribute any Qt apps, so I have never used them :) But if I did I would be looking at using linuxdeployqt and windeployqt.
  • Action Focus behaviour

    Unsolved focus action focusscope shortcut
    1
    0 Votes
    1 Posts
    418 Views
    No one has replied