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
    7 Views
    No one has replied
  • Creating derived class based on QTcpServer

    Solved
    3
    0 Votes
    3 Posts
    283 Views
    SPlattenS
    @SGaist Thank you
  • QT class, which cut texts

    Solved
    4
    0 Votes
    4 Posts
    422 Views
    T
    @VRonin @JonB Thank you :)
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • A lot of Warnings ONLY on MingW compiler

    Unsolved
    6
    0 Votes
    6 Posts
    745 Views
    Christian EhrlicherC
    Simply add '-Wno-attributes' to your compiler flags.
  • Is it possible to prevent hide popup in QComboBox?

    Unsolved
    2
    0 Votes
    2 Posts
    383 Views
    mrjjM
    Hi Try overwrite https://doc.qt.io/qt-5/qcombobox.html#hidePopup and see if that makes it controllable.
  • QElapsed does not work in a separate thread

    Solved
    6
    0 Votes
    6 Posts
    670 Views
    O
    @fcarney I'm using a lot of QElapsedTimer objects into a lot of threads without any problem.
  • 0 Votes
    2 Posts
    14k Views
    F
    I found the solution... Only on Linux, the static library that will be linked to my shared library MUST be recompiled using -fPIC flag. I don't understand why...but only works in this way....
  • Questions about models, items and views

    Solved
    5
    0 Votes
    5 Posts
    393 Views
    PerdrixP
    OK! That will get the job done! Thanks - it's not knowing the idioms that always catches you out.
  • How to properly close QThread

    Unsolved
    2
    0 Votes
    2 Posts
    189 Views
    SGaistS
    Hi and welcome to devnet, @JuliusCaesar said in How to properly close QThread: StartPlayFile You call exec in that method and you connect your signal after calling StartPlayFile.
  • Most stable version of Qt

    Solved
    3
    0 Votes
    3 Posts
    385 Views
    K
    Thanks__
  • Console settings

    Unsolved
    12
    0 Votes
    12 Posts
    4k Views
    R
    @Pl45m4 Windows 10, Qt Creator 4.13.2 (Community)(Basing on 5.15.1 MSVC 2019), Qt 5.15.1, tried different compilers but usually MSVC 2019 64-bit
  • Subclassing QIODevice

    Unsolved
    15
    0 Votes
    15 Posts
    1k Views
    P
    @Christian-Ehrlicher said in Subclassing QIODevice: if (port1.setBaudRate(9600)) <<-- here you try access even if open failed I fixed this, but problem stays... Source code from topic header was updated to. [image: image.png] Why did it call QIODevice::isSequential but not my own implementation?
  • QPushbutton

    Unsolved
    10
    0 Votes
    10 Posts
    863 Views
    J.HilkJ
    I answered this previously, with an examlple for QFrame as base class here: https://forum.qt.io/topic/96728/change-button-color/3 You should be able to adjust it for QPushButton.
  • QStyledItemDelegate

    Unsolved qstyleditemdele click edit
    5
    0 Votes
    5 Posts
    751 Views
    JonBJ
    @charry Yes, you are normally supposed to double-click to edit a cell (one click to select the cell, double-click to edit the cell). If you want single-click to edit, you should look at, say, QTableView::setEditTriggers(QAbstractItemView::AllEditTriggers). See if one of those values do what you want? If not, have a read through e.g. https://stackoverflow.com/questions/18831242/qt-start-editing-of-cell-after-one-click, there are other possibilities there. Or further hits via Google qtableview click edit.
  • std vector, QVector and fields..

    Unsolved
    29
    0 Votes
    29 Posts
    9k Views
    JonBJ
    @J-Hilk Wow! They think of everything! I wonder if that would accept -fconstexpr-steps fibonacci(25) ;-) OK, enough now, thanks!
  • How to change 32 to 64 bits?

    Unsolved
    2
    0 Votes
    2 Posts
    487 Views
    jsulmJ
    @TomNow99 Your explanation isn't really clear. Do you open in QtCreator? What window do you mean? Kit selection? If you want to build for 64bit you need Qt build for 64bit and a compiler for 64bit. So, simply install Qt 64bit version.
  • QLocale::system()

    Unsolved
    4
    0 Votes
    4 Posts
    565 Views
    G
    @dheerendra , could you please provide your feedback on this issue?
  • Bluetooth LE Peripheral on Windows UWP

    Unsolved
    3
    0 Votes
    3 Posts
    297 Views
    R
    Microsoft Windows 10 10.0.17763 Ok i will post there, thank you!
  • Undef. ref. __emutls on Qt 5.15.1 static Windows

    Unsolved static build
    1
    0 Votes
    1 Posts
    445 Views
    No one has replied