Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • Clear example for drawing lines & areas(polygons) in rtsp video frame with mouse

    Unsolved
    4
    0 Votes
    4 Posts
    352 Views
    jsulmJ
    @RahibeMeryem Did you actually read my previous post? Or why do you ask me same question again?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    20 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    26 Views
    No one has replied
  • QObject: Cannot create children for a parent that is in a different thread

    Solved qttcpsocket
    3
    0 Votes
    3 Posts
    379 Views
    W
    @Christian-Ehrlicher thanks. it had solved.
  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    4 Views
  • How to check whether the computer connects the internet?

    Unsolved
    30
    1 Votes
    30 Posts
    18k Views
    Kent-DorfmanK
    @adazem009 Some variant of this question surfaces every few months, almost always initiated by someone who really does not understand what the internet is. InterNet in itself is an ambiguous term. It is a network of interconnected networks. There is no internet point of authority to ping with and come to the conclusion "I can reach the internet". It is by nature designed so that some segments may be reached even if other large portions are down. So, you need to be very specific with your intentions and expectations when branching outside of your LAN (local area network).
  • How to transfer a QMap from one function to another.

    Unsolved
    6
    0 Votes
    6 Posts
    465 Views
    SGaistS
    @kipalex the conflict is notified to you through the warning (ALWAYS FIX THE WARNINGS).
  • QChart suitability?

    Unsolved
    2
    0 Votes
    2 Posts
    226 Views
    SGaistS
    Hi, I think you should be able to achieve this with QCharts. Otherwise, projects worth taking a look at: Qwt QCustomPlot Check their licenses to see if they fit your needs.
  • UI Themes?

    Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    PerdrixP
    @Axel-Spoerl 👏Thanks a lot
  • QThread::exit documentation seems wrong

    Solved qthread exit quit
    5
    0 Votes
    5 Posts
    1k Views
    S
    @Christian-Ehrlicher It took me a whole day, but I finally understood that you were referring to the fact that exit()/quit() can't be used in the same vein as requestInterruption()/isInterruptionRequested() or terminate(). I first learned about basic QThread semantics so long ago (more than a decade I think), that the fact that it's possible to not understand that got completely lost on me.
  • No stretch settings in QML Layouts?

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    M
    Here's a specific example of how QML Layouts appears to be broken. I have a GridLayout with 4 colums and 5 rows. The cells in the 3th column each contain a GroupBox and with "Layout.fillWidth: true" in each GroupBox, the 3rd column expands when the app width is increased. That's what I want. However in the top cell of the 4th column, I want to have text which is right and top aligned within the cell. QML won't let me do it. I've tried various alignments and anchors, tried putting the text in a Rectangle & child GridLayout within the parent cell and with addition Rectangles (inside the child GridLayout) to push the text to the top right corner, and even tried used "Layout.fillWidth: true" in the Rectangle. Nothing works, and "Layout.fillWidth: true" causes the 4th column to expand at the same rate as the 3rd column, which is not what I want. Am I missing something obvious? Thanks, Michael
  • Subclassing QThread and signals/slots?

    Solved
    6
    0 Votes
    6 Posts
    766 Views
    JonBJ
    @mjsmithers A warning for what? This has nothing to do with QThread particularly, any QObject-derived class will have this issue. And Qt (Creator) is not a compiler, your compiler is external, so it could not "provide a warning".
  • Use Qmodbus by udp

    Unsolved
    1
    0 Votes
    1 Posts
    150 Views
    No one has replied
  • How block/cancel specific IP adress

    Unsolved
    5
    0 Votes
    5 Posts
    449 Views
    gfxxG
    @Christian-Ehrlicher Real Thanks ... and happy sunday.
  • Create a native arm64 app

    Solved
    3
    0 Votes
    3 Posts
    816 Views
    C
    @SGaist aha, that's the reason. I tried Qt 6 libraries and found arm architecture, very good! Thanks a lot
  • Issues adding QTimer to a custom class

    Unsolved
    12
    0 Votes
    12 Posts
    871 Views
    jeremy_kJ
    @JonB said in Issues adding QTimer to a custom class: @KenAppleby-0 Yes, of course you could always raise a subsequent signal by connecting the first signal to a slot method or lambda which emits the second signal but Qt allows to connect directly to another signal for "chaining". I don't know whether this is documented, It is documented, in the second to last paragraph of the Signals and Slots section. You can connect as many signals as you want to a single slot, and a signal can be connected to as many slots as you need. It is even possible to connect a signal directly to another signal. (This will emit the second signal immediately whenever the first is emitted.)
  • QCompleter custom model not working

    Unsolved
    3
    0 Votes
    3 Posts
    263 Views
    H
    @mpergand Sorry to not included the full code, I already done that. But the result is same, no popup came while start typing.
  • 0 Votes
    4 Posts
    395 Views
    A
    @DerReisende that was it: I put that in main.cpp, and now I can create thousands of threads. And now I know about getrlimit & setrlimit, which I had never seen before. THANK YOU!
  • Qt WinRT app crashes when changing title bar color

    Unsolved
    1
    0 Votes
    1 Posts
    191 Views
    No one has replied
  • In rubber band rectangle zoom in, rectangle is not visible.

    Unsolved
    8
    0 Votes
    8 Posts
    711 Views
    SGaistS
    Ok, is see the issue: I took you use the QRubberBand class for your purpose. Based on what you want to do, it seems it would be simpler. The rubber band being independent of the view will also not be dependent of if for its rendering.