Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • Hi, I need a working model of QT UDP server & client application.

    Solved
    3
    0 Votes
    3 Posts
    355 Views
    Aviral 0A
    @jeremy_k Thankyou
  • How to show image on QGraphicsView

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    Christian EhrlicherC
    QPixmap pixmap(QPixmap::fromImage(QImage(img.data, img.cols, img.rows, img.step, QImage::Format_RGB888)).copy()); if this does not work than your incoming image data is not correct. You can easily look what's inside the QImage by saving it to a file.
  • QVulkanRenderer sync to decoder

    Unsolved
    1
    0 Votes
    1 Posts
    166 Views
    No one has replied
  • Scan for a color of a QLabel

    Solved
    6
    0 Votes
    6 Posts
    447 Views
    JustSoleSoleJ
    @Qt-User0307 How do you get this PIXMAP?Where does this PIXMAP`s source data come from and what kind of data is it?
  • Convert QByteArray to uint8_t*(uint8_t array)

    Unsolved
    3
    0 Votes
    3 Posts
    736 Views
    JonBJ
    @kayakaan02 As @J-Hilk has said, but you might use const char *QByteArray::constData() const for efficiency/safety, assuming you really want a const uint8_t*, since I imagine you will not be altering the data.
  • qt.core.qmetaobject.connectslotsbyname error

    Solved
    3
    0 Votes
    3 Posts
    295 Views
    M
    @Christian-Ehrlicher thanks, yes i checked ui, prolly i deleted the button by mistake.
  • redefiniton of 'QObject'

    Solved
    3
    0 Votes
    3 Posts
    379 Views
    CKurduC
    @Chris-Kawa Thank you, You gave me a good hint and I think I solved the problem. As you wrote, the problem is related to unlinked SSL.
  • QMutexLocker in Q_PROPERTY READ/WRITE methods blocks execution

    Solved
    15
    0 Votes
    15 Posts
    2k Views
    jeremy_kJ
    @prex said in [QMutexLocker in Q_PROPERTY READ/WRITE methods blocks execution](/post Is the datum underlying the property atomic, or otherwise guaranteed by the target platform guaranteed to be consistently accessed across threads? Using a mutex in one thread and not in the other doesn't appear to buy anything useful. Not sure if I understand. But both threads use the same mutex since they both call the getter/setter method. One over properties, one directly by calling the method. I wasn't sure if "directly accessing them" meant the getter and setter functions, or the datum. Since it's now clear that it refers to the functions, that implies access to the QObject instance. In that case, be aware that very few of QObject's functions are thread-safe.
  • How to separate GUI and application code?

    Solved
    3
    0 Votes
    3 Posts
    877 Views
    D
    @JonB Thanks for your response. I think I have a pretty good idea what I have to do now.
  • What can I do in my custom map plugin?

    Solved
    2
    0 Votes
    2 Posts
    203 Views
    Pl45m4P
    @mtty said in What can I do in my custom map plugin?: Now I wonder - how many features can I add to the map? Specifically, can I add layers? Can I modify how a map item (ie polygon) is drawn? Can I draw a grid? See here According to your grid question, see here
  • QSqlQuery numRowsAffected() vs. size()

    Unsolved
    5
    0 Votes
    5 Posts
    466 Views
    Y
    @Bonnie Great, thank you for your explanation, although I still find it weird that numRowsAffected() gives me the number of rows ...XD
  • 0 Votes
    3 Posts
    348 Views
    W
    @jaggusri12 A typical solution is just to constantly redraw with whatever the most recent frame is. Effectively a "pull" strategy, rather than "push."
  • how to make table header clickable in qt creator

    Unsolved
    6
    0 Votes
    6 Posts
    510 Views
    L
    Thanks for your help @mpergand , it's working!! :)
  • Could someone tell me why my application always freezes

    Unsolved
    20
    0 Votes
    20 Posts
    3k Views
    J
    Have you found any solution to this problem? or what was causing the issue?
  • Monitor touch and Application Freeze

    Unsolved
    11
    0 Votes
    11 Posts
    2k Views
    J
    Have you found solution any solution to this problem?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    8 Views
    No one has replied
  • Hiding/unhiding parent dialogs affects mouse handling

    Unsolved
    6
    0 Votes
    6 Posts
    402 Views
    Pl45m4P
    @Captain-Haddock said in Hiding/unhiding parent dialogs affects mouse handling: I tried this and the hide/unhide works but a side effect appears to be that a mouse release handler on the window subsequently fails to trigger MouseRelease in what class? Side-note: Your "window" only gets the event, if no other child widget consumes it. Any mouseRelease on child widgets of your window doesnt trigger Window::mouseReleaseEvent. Events are propagated up the object tree until one widget takes it.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • http request get/post

    Solved
    11
    0 Votes
    11 Posts
    2k Views
    D
    @JonB Your solution works. ...
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied