Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.6k Posts
  • Occasionly error with internal error When using QEventLoop

    Unsolved
    8
    0 Votes
    8 Posts
    746 Views
    Q
    @jsulm My purpose is that host communcations with slave sequentially(communication1,communication2,communication3,...),the latter communication depends on former communication.if not blockig qthread,how should i achieve it?
  • Using more standard library function

    Unsolved
    14
    0 Votes
    14 Posts
    837 Views
    sierdzioS
    @jsulm said in Using more standard library function: @sierdzio I guess you mean @sowas ? :-) Yes, sorry. I clicked "quote" on the first post I saw with concrete Qt version.
  • play .mp4 file in Qt creator

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    jsulmJ
    @Pablo-J-Rogina said in play .mp4 file in Qt creator: For getting the Qt Creator version, Help -> About ... First time I see it other way around :-) Usually people post what "Help -> About ..." says when asked about Qt version :-)
  • QTableView subclass - Call setRowHidden from paintEvent

    Solved
    6
    0 Votes
    6 Posts
    541 Views
    H
    @Christian-Ehrlicher Ok thank you, I already had a feeling my solution was too hacky, hence the thread. I will work on the basics a bit, my question is answered so far.
  • Draw smoothly scaled image using QPainter and OpenGLWidget?

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    T
    Found a solution, basically created a 2D Texture with same image format. setData is working now without any issue.
  • Qt3D : MultiView with MultiCamera Controller

    Unsolved
    1
    0 Votes
    1 Posts
    147 Views
    No one has replied
  • “Bold” style is not available for “Sans Serif” font on QT5

    Unsolved
    1
    0 Votes
    1 Posts
    173 Views
    No one has replied
  • 0 Votes
    8 Posts
    2k Views
    R
    I made it work by removing this flag: Qt::WindowDoesNotAcceptFocus
  • LineEdit conversion of decimal to hex

    Unsolved
    3
    0 Votes
    3 Posts
    193 Views
    Christian EhrlicherC
    @rtvideo said in LineEdit conversion of decimal to hex: but typing in decimals should also be accepted Then don't use device_str.toUInt(&ok, 16);
  • How to refresh QComboBox?

    Unsolved
    11
    1 Votes
    11 Posts
    4k Views
    Christian EhrlicherC
    @TomNow99 said in How to refresh QComboBox?: When the QCombobox's popup is visible and I add new Item in that moment I see that item in comboBox, but I can select it only using scrollBar. See https://bugreports.qt.io/browse/QTBUG-39420 - feel free to provide a patch :)
  • Windows.h errors when including QtGui but not QtCore

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    P
    @KroMignon said in Windows.h errors when including QtGui but not QtCore: @patrickkidd I often got suck kind of problems with Windows and Qt. The solution I found is to use #include "qt_windows.h" instead of #include "windows.h" hope this helps Interesting. I was not aware of this header. But it also didn't solve it for me. Including Python.h did. No idea how that is so.
  • How to use a background image for Qt3D rendering.

    Unsolved
    2
    0 Votes
    2 Posts
    299 Views
    S
    There is a possibility according to https://github.com/florianblume/Qt3D-BackgroundImage.
  • QT package error

    Unsolved
    4
    -2 Votes
    4 Posts
    316 Views
    jsulmJ
    @balaspidy Please show what exactly you enter and where and the whole output. Did you also install C/C++ compiler (gcc)?
  • QLineEdit Selection changed()

    Solved qt for windows qlineedit qmouseevent
    3
    0 Votes
    3 Posts
    1k Views
    A
    Thanks for the insight, still my issue was that you have to double click (mouse or touch) the LineEdit to get its selection. Now in place of LineEdit i have used TextEdit, it works on single click. Thanks again for the reply.
  • QTextStream codec

    Solved
    16
    0 Votes
    16 Posts
    1k Views
    naaxN
    I resolved it. The problem was with QMap. I used the same keys in two QListWidget. That's why my variables were not correct. Thx anyway for the help, I was sure that is a problem with the codec.
  • How get delegates to move along when sorting a QTableView

    Solved
    3
    0 Votes
    3 Posts
    414 Views
    O
    Solved. For some reason one had to put the index updates in lists and use changePersistentIndexList().
  • Get Startup Error on multiple systems with SSH, QT5 and RHEL 8

    Unsolved
    2
    0 Votes
    2 Posts
    5k Views
    Kent-DorfmanK
    The days of exporting X11 displays are pretty much over. Too many local server specific extensions...as you've discovered. Trying to run a remote X program on your local display will be very hit-or-miss, based on the app and how your local X server is configured. I'm assuming you are trying to run remote X11 apps over ssh -X remoteHost connections so that the display ends up being DISPLAY=localhost:10.0 Make sure the needed extensions listed above are installed and correctly configured on the local display X server.
  • Problems in use of Active Qt

    3
    0 Votes
    3 Posts
    605 Views
    jsulmJ
    @liaoque I suggest you open your own thread as this one is already 6 years old.
  • How can I make a custom mesh works

    Unsolved
    1
    0 Votes
    1 Posts
    136 Views
    No one has replied
  • MySQL on CPanel and connection string...

    Solved
    10
    0 Votes
    10 Posts
    4k Views
    B
    You've posted too much private information bro!