Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.2k Posts
  • Qt and CVSS score for security flaws.

    Unsolved
    3
    0 Votes
    3 Posts
    312 Views
    SGaistS
    Hi and welcome to devnet, You have the details of their handling in QUIP15
  • connexion QT and NCReport

    Unsolved
    4
    0 Votes
    4 Posts
    269 Views
    SGaistS
    Hi, You have to explicitly install it. That module was deprecated a long time ago.
  • Drag/Drop virtual item outside of application

    Unsolved
    4
    0 Votes
    4 Posts
    487 Views
    SGaistS
    From (very old) memory, it think the one having issues was OS X.
  • QWidget::showNormal() doesn't show window (Linux + Plasma)

    Unsolved
    4
    0 Votes
    4 Posts
    780 Views
    SGaistS
    Can you reproduce that with a minimal example ? If it only happens in Plasma, you may have unearthed an issue there.
  • processEvent() differs between Qt4 and Qt5

    Unsolved
    6
    0 Votes
    6 Posts
    477 Views
    Christian EhrlicherC
    @JulienMaille said in processEvent() differs between Qt4 and Qt5: My question targets processEvent() not Qxt I'm using QxtSignalWaiter to wait synchronously for a signal, with no issues and, as stated in another topic here, it worked fine until Qt5.9/5.10. Then it started to get stuck in the processEvent() call and generate other erratic behaviors. mhhh... anyway: fix your code and make it async.
  • QProcess emit exit signal too earlier

    Unsolved
    9
    0 Votes
    9 Posts
    790 Views
    JoeCFDJ
    @Wapiti said in QProcess emit exit signal too earlier: QString launcher = "C:/Program Files/D-BOX/Gaming/Assetto Corsa/ACWithLiveMotion.exe"; QProcess process; connect(&process, SIGNAL(finished(int , QProcess::ExitStatus )), this, SLOT(SessionFinish())); process.start(launcher, QStringList()); void MainWindow::SessionFinish() { qDebug() << "session is finish"; } Are you sure that you did not use local variable? if process is defined in the header, the connection should look like this? connect(process, SIGNAL(finished(int , QProcess::ExitStatus )), this, SLOT(SessionFinish()));
  • macdeployqt Codesign signing error: errSecInternalComponent

    Solved
    1
    1 Votes
    1 Posts
    371 Views
    No one has replied
  • How to set a transparent Button on QVTKWidget based on QT

    Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    B
    I went as far as editing QVTKRenderWindowInteractor.py that ships with VTK. The original file is using either QWidget or QGLWidget as its base class, default being QWidget. I changed it to use QOpenGLWidget. I tried with the 3 different base classes: exact same behavior.
  • This topic is deleted!

    Unsolved
    7
    0 Votes
    7 Posts
    28 Views
  • This topic is deleted!

    Unsolved
    4
    0 Votes
    4 Posts
    24 Views
  • Auto can I check the result of a connect() with Qt::AutoConnection

    Solved
    5
    0 Votes
    5 Posts
    654 Views
    J
    Thanks to both of you. I believe my issue has to do with processEvent() and not the connect. I will open another topic
  • This topic is deleted!

    Unsolved
    12
    0 Votes
    12 Posts
    63 Views
  • Searching bar in tree widget

    Unsolved qt5 tree widget search
    19
    0 Votes
    19 Posts
    2k Views
    nageshN
    @Christian-Ehrlicher thanks for the correction. @suslucoder it's showing old search items with different color because you have set it's background color in last search.. It's better to set all with default color and matched items in highlight colour for each search
  • How can i add a scroll bar for QCharts Legend

    Unsolved qt5 charts legend
    4
    0 Votes
    4 Posts
    1k Views
    Pl45m4P
    @suslucoder There is no scrollBar by default but you can increase the space for your QLegend https://doc.qt.io/qt-5/qtcharts-legend-example.html#detaching-and-attaching-legends Or you put a custom legend in a QScrollArea
  • How to create apk file for Desktop GUI

    Unsolved
    10
    0 Votes
    10 Posts
    850 Views
    KroMignonK
    @savithaKM said in How to create apk file for Desktop GUI: I mean, I need to create an app(for my GUI) where it can be used in any other desktop where Qt software is not needed to be installed I am not sure to right understand your problem, so I try to rephrase it, feel free to say what's wrong, what's right: you have create a GUI Qt project for desktop you want to distribute this application What is the target operating system: Linux? Windows? macOS? To deploy your application there are many resources on Qt which describes what you have to do: for Windows: use windeployqt.exe cf. https://doc.qt.io/qt-5/windows-deployment.html for Linux: you have to do more "by hand" cf. https://doc.qt.io/qt-5/linux-deployment.html for macOS (I never do it): follow https://doc.qt.io/qt-5/macos-deployment.html
  • Retrieve the file path using Qprinter or Qpainter class.

    Unsolved
    3
    0 Votes
    3 Posts
    330 Views
    jsulmJ
    @Qt_User444 said in Retrieve the file path using Qprinter or Qpainter class.: Since it is mandatory that the save dialog should be opened by calling the QPainter constructor Why should QPainter open any dialogs?! It's job is painting, not showing any dialogs... But if, for some strange reason, you really need to do so then subclass QPainter and add your own constructor.
  • Should my classes be in a namespace?

    Unsolved
    2
    0 Votes
    2 Posts
    725 Views
    Chris KawaC
    Namespaces are not Qt specific. It's a C++ thing. Qt by default doesn't use them for classes, but puts globals, enums etc. in Qt namespace. You can also configure Qt to put everything in a namespace if you experience name clashing. As for whether or not you should use namespaces in your own code - that's up to you. They are not required. Some projects use them, some don't. It's polite to put your code in a namespace if you're making a library that gets included somewhere, so that you don't pollute somebody's code. @James-Mark-Chan said: is there a one line way to indicate all items in a file are for a particular namespace? No, namespaces in C++ are enclosed in braces. File is not a particularly interesting data unit in C++, apart from some minor scoping details. A more common scope is a translation unit which can be composed of several files.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    14 Views
    No one has replied
  • Using other application from a qt programm

    Unsolved
    2
    0 Votes
    2 Posts
    193 Views
    jsulmJ
    @Aarias1989 At least some of your requirements should be doable using ActiveX. In Qt you can access it using https://doc.qt.io/qt-5/qt-activex.html
  • QStyleFactory Styles

    Unsolved
    4
    0 Votes
    4 Posts
    383 Views
    jsulmJ
    @Driftwood said in QStyleFactory Styles: do I have another option? I don't know any other option