Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • QT Virtual Keyboard not appears

    Unsolved
    22
    0 Votes
    22 Posts
    3k Views
    SGaistS
    Did you check that all the dependencies of it are also deployed/available ?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • QUndoStack with dropdown

    Unsolved
    7
    0 Votes
    7 Posts
    543 Views
    JonBJ
    @SGaist said in QUndoStack with dropdown: You would need to implement your own model to set on the QComboBox. @vijaychsk Given what @SGaist is pointing it out here, you would have to write some code to replicate the functionality. Using your button to icon to "pop up" a QUndoView in some shape or form sounds like less work than utilising a QComboBox. You might want to bear that in mind.
  • Qt application run on Sitrara board AM5749 touch perfomance issue.

    Unsolved
    5
    0 Votes
    5 Posts
    501 Views
    SGaistS
    I do not own such a board. You should contact the company that builds them.
  • QAbstractItemModel::rowsMoved signal behavior

    Solved
    9
    0 Votes
    9 Posts
    831 Views
    H
    @Christian-Ehrlicher Ok Thank you for the clarification
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    12 Views
    No one has replied
  • Text Glyphs overlap, vcpkg build

    Solved
    5
    0 Votes
    5 Posts
    657 Views
    G
    If anyone finds this same problem, what solved it for me was to add "harfbuzz" to the list of dependencies, now everything is working just fine!
  • Not enough space in Horizontal Header?

    Solved qtableview
    4
    0 Votes
    4 Posts
    913 Views
    F
    I fixed it with: setStyleSheet("QHeaderView::section{ padding-left: 4px; padding-top: 1; padding-bottom: 1; }");
  • Action Button in MenuBar

    Solved
    14
    0 Votes
    14 Posts
    1k Views
    L
    @jsulm said in Action Button in MenuBar: setCurrentIndex Thanks a lot I tried the setCurrentIndex method and it worked! like magic.
  • QByteArray to quint16

    Unsolved
    8
    0 Votes
    8 Posts
    884 Views
    VRoninV
    @JKSH said in QByteArray to quint16: There are not enough bytes, so you will get a QDataStream::ReadPastEnd For Qt 5.7 or later: quint16 var; stream.startTransaction(); stream >> var; if(!stream.commitTransaction()){ quint8 tempVar; stream.startTransaction(); stream >> tempVar; if(!stream.commitTransaction()){ //handle this error } var=tempVar; }
  • Set Gif as Background of QFrame.

    Solved
    13
    0 Votes
    13 Posts
    1k Views
    JonBJ
    @AlexKrammer Just a small point. @eyllanesc uses a member variable for mMovie. You use a local variable for QMovie *movie = new QMovie(...). Be aware that this means you leak a QMovie. If your on_btn_ON_clicked() can be called more than once you have no way of releasing the previously-created movie (unless whatever your GifEffect *effect is does that for you). And the same leak applies to your GifEffect *effect = new GifEffect();, unless your ui->frm_BG->setGraphicsEffect(effect) looks after that too. Your on_btn_OFF_clicked() sets that to Q_NULLPTR, does that release any current GifEffect and its QMovie?
  • How define a good Qt3D OrbitCamera controller

    Unsolved
    1
    0 Votes
    1 Posts
    278 Views
    No one has replied
  • Dump with Dr. Mingw

    Unsolved
    1
    0 Votes
    1 Posts
    150 Views
    No one has replied
  • Run npm with QProcess under MacOs(osx)

    Unsolved
    14
    0 Votes
    14 Posts
    1k Views
    jsulmJ
    @Dannick-Stark One correction to what I wrote before (thanks @JonB for the hint): if you use "sh -c" then on Linux you have to pass everything after -c as ONE string!
  • QMainWindow, no title, border

    Solved
    4
    0 Votes
    4 Posts
    741 Views
    jsulmJ
    @SPlatten It's a widget, so simply add it to your window like any other widget and add it to the layout, so it consumes whole space. Then put all other widgets inside the frame.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Running behind the QT button?

    Unsolved
    4
    0 Votes
    4 Posts
    364 Views
    WaseeW
    @jsulm @raven-worx Hi! Thanks for your reply! I want to start my qt application in startup after login in qt application then I will press the button behind which my wireshark application will drive. Wireshark support command line arguments. Thanks
  • WordUnderCursor not working (word being detected when not on top of any words)

    Unsolved
    5
    0 Votes
    5 Posts
    509 Views
    Z
    Thank you both very much for replying! I will implement an extra check, then. Thanks!
  • application runs as app from Finder but cannot run in QT Creator (Mac)

    Unsolved
    2
    0 Votes
    2 Posts
    132 Views
    SGaistS
    Hi, Does it also happen from a clean build ?
  • Create new table and naming it with user input from QLineEdit

    Solved
    8
    0 Votes
    8 Posts
    952 Views
    G
    @JonB Yes, I followed @artwaw example and worked perfect. Thank you for helping me too !