Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.5k Posts
  • How to make an animation in a SVGWidget by using qt?

    Unsolved
    2
    0 Votes
    2 Posts
    680 Views
    LimerL
    I have found a way to rotate the pointer, but I always failed to change the value. The below is the whole project(including the svg file). https://github.com/Hapoa/_Repository/tree/master/Qt/SVGWidget
  • HTTP

    Solved http get post server - client
    13
    0 Votes
    13 Posts
    4k Views
    Pranit PatilP
    @Prince_0912 Thank you for your guidlines
  • Changing USB HID stack to USB CDC stack(courtesy Mr.vloki)

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    O
    Hi all, we chose to write simple serial port code in QT. Thank you for your help & advice.
  • Capture and block keyboard and mouse events.

    Solved
    6
    0 Votes
    6 Posts
    4k Views
    A
    Marking as solved since trying a different approach. Thanks all. :)
  • Auto log in feature

    Unsolved
    2
    0 Votes
    2 Posts
    897 Views
    JonBJ
    @GCDX The usual way of getting as far as filling in controls (like username/password) on a web page is via cookies. For a QWebView see http://www.qtcentre.org/threads/21331-How-to-enable-cookie-in-QWebView and http://doc.qt.io/qt-5/qnetworkaccessmanager.html#setCookieJar. If you want to go further and actually auto-login (without pressing a button), you'd probably have to look at either manipulating the page (via JavaScript) to do an auto-submit with the controls pre-filled-in, or see if your target web page has a URL syntax or similar to allow username/password credentials to be passed directly by-passing the logon screen.
  • How to declare a global changeable variable?

    Solved
    22
    0 Votes
    22 Posts
    16k Views
    mrjjM
    @GCDX QSetting could also be used. Not a bad idea. On linux it stores in a ini file pr default. on Windows , in registry. https://wiki.qt.io/How_to_Use_QSettings
  • Is it ok that QueuedConnection start every time a new copy of a function?

    Solved
    11
    0 Votes
    11 Posts
    2k Views
    MikhailGM
    @aha_1980 sure here I got all the answers. And I decided to read a book Summerfiled qt4 professional programming.
  • Is QStyledItemDelegate::createEditor returned value monitored?

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    VRoninV
    In these cases you normally use a QItemEditorFactory in setItemEditorFactory to create the editor you need for the cell based on the data in the model
  • qml in qtwidgets application : QWidget::repaint: Recursive repaint detected

    Unsolved
    3
    0 Votes
    3 Posts
    553 Views
    halimaH
    @JonB thanks for reply. in the specifications I have to use a graphical component to represent a length with floating values ​​like qdial or slider progress bar ... that's why I opt for qml :(
  • Q3ListView setSorting(-1) only on leaves

    Unsolved
    2
    0 Votes
    2 Posts
    502 Views
    JonBJ
    @LeaA I imagine you need to override the virtual http://doc.qt.io/archives/qt-4.8/q3listview.html#sort and implement your own?
  • QTableView default selection

    Unsolved
    11
    0 Votes
    11 Posts
    2k Views
    N
    @Prince_0912 @nammidd said in QTableView default selection: @JonB This option only allows to change sorting order (from ascending to descending or vice versa), by clicking on the column header. But the sorting is done anyway, regardless of whether the option is turned on or off.
  • QSslSocket: cannot call unresolved function SSLv23_client_method

    Solved
    5
    0 Votes
    5 Posts
    3k Views
    N
    Downgraded to 1.0 and it worked. Thank you so much! ^^
  • Having trouble with setRelation

    Solved
    11
    0 Votes
    11 Posts
    2k Views
    ?
    @SGaist - good information. Thank you.
  • Can't configure project with Qt Creator using Cmake/MinGW

    Unsolved
    1
    0 Votes
    1 Posts
    510 Views
    No one has replied
  • start with the QtSQL module

    Unsolved
    18
    0 Votes
    18 Posts
    3k Views
    SGaistS
    The MySQL issue already triggered numerous threads on this forum, you should search for them.
  • Add text when selecting radiobutton

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    SGaistS
    Hi, Then re-build the full string when any of these widgets change and replace the whole text.
  • QLocalServer and QLocalSocket using different socket descriptor types

    Unsolved
    2
    0 Votes
    2 Posts
    384 Views
    SGaistS
    Hi, Interesting question, you should bring it to the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.
  • How to view recently added examples

    Unsolved
    2
    0 Votes
    2 Posts
    338 Views
    sierdzioS
    I don't think there is an easy way to get such list (apart from checking git hisotry of Qt repo), but this is a very good idea you have there. I recommend proposing this on Qt Creator mailing list or Qt bugtracker.
  • Problem with the QCheckBox

    Unsolved qcheckbox state
    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    What does condition contain ?
  • NFC apis for window and other platforms

    Unsolved nfc
    3
    0 Votes
    3 Posts
    830 Views
    mrjjM
    Hi For such future feature questions, you should rather ask on the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.