Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • Change title font of Qt Main Window

    Unsolved
    14
    0 Votes
    14 Posts
    14k Views
    V
    @Abderrahmene_Rayene thank you
  • Yocto build Qt6 error

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

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

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Unexpected behavior in QTextEdit

    Unsolved
    10
    0 Votes
    10 Posts
    687 Views
    JonBJ
    @drmhkelley I don't understand. Naturally where you used <p>...</p> you got "extra" spacing as these are HTML paragraphs, so you get a blank line afterwards. (You could verify it is not line spacing by making your text in each case much longer so it spills across multiple lines.) That was never the problem. The issue was that your output shows that after the last <p>html line 3</p> your future line 4 etc. still had "paragraph gaps" where the earlier line 3 etc. did not. There is some indication from your output & code that once you have put in a <p>...</p> the text edit gets mixed up from then onwards.
  • This topic is deleted!

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

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

    Unsolved
    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • How to build using Qt6 on macOS 14.1?

    Unsolved
    1
    0 Votes
    1 Posts
    419 Views
    No one has replied
  • QSpinbox wrapped

    Unsolved
    7
    0 Votes
    7 Posts
    469 Views
    PerdrixP
    @JonB Thank you I can see that could work well.
  • Qsql - How to access table column information ?

    Solved
    5
    0 Votes
    5 Posts
    660 Views
    J
    @JonB This is exactly what I need, thank you!
  • QDialog default layout is NULL

    Solved qdialog layout fixed sizehint setfixedsize
    3
    0 Votes
    3 Posts
    823 Views
    K
    @ChrisW67 Thanks for replying. I was doing as you suggested but still getting the behaviour I specified. Turns out I had a conflicting ui generated header file that had the manually added layout which explains why I was experiencing a NULL layout. Once I deleted the conflicting file everything worked as expected. Thanks for the extremely easy to follow instructions. Kevin
  • This topic is deleted!

    Unsolved
    3
    0 Votes
    3 Posts
    2 Views
  • Location for freeware Qt extensions Widgets

    Unsolved
    5
    0 Votes
    5 Posts
    357 Views
    JonBJ
    @Perdrix As I suggested elsewhere, I believe you just want 4 spinboxes: hours, minutes, seconds, milliseconds. Or something close. QSpinBoxes have a minimum and a maximum, so that is your validation done. I am unconvinced that you want "wrap" from one spinbox to the next (does QDateTimeEdit even do that??), though it can be added. As I also commented elsewhere, a QDateTimeEdit ( or QDateTime type) is not the right type for your requirement. (Handling date entry/exit is the largest part of "the QDateTimeEdit code would not be the size that it is.".) You want a duration. These two do not deliver that, they deliver a "point in time". Your desired return type might be a QTime, but it might well be easier for your case to return some (long) integer. If you did that you could easily handle you expressed desire elsewhere (IIRC?) for potentially supporting nanoseconds. Note that QElapsedTimer, the one Qt class which supports a time duration, uses a qint64 as the fundamental data type, not a time-type, and also supports nanoseconds if wanted. You really want a QElapsedTimerEdit. Let us know if you find a Qt widget which does just what you want instead of writing it yourself.
  • Didn't fully understood ui file handling - and now stuck

    Solved
    2
    0 Votes
    2 Posts
    175 Views
    SGaistS
    Hi, You mark the topic has solved without additional information. Is that really the case ? If so, what did fix your issue ? That might help other people.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Dinamic texture

    Unsolved
    2
    0 Votes
    2 Posts
    207 Views
    B
    You can achieve this by creating a Qt3D texture from a converted QImage and applying it to the QPlaneMesh in your 3D scene.
  • Meaning of QT_FEATURE_sql:INTERNAL=ON

    Unsolved
    1
    0 Votes
    1 Posts
    156 Views
    No one has replied
  • 0 Votes
    4 Posts
    21k Views
    Paul ColbyP
    @ChrisW67 said in "SSL handshake failed: Error during SSL handshake: error:0A00010B:SSL routines::wrong version number" QNetworkReply::SslHandshakeFailedError: The site is misconfigured to deliver unprotected HTTP on the HTTPS port I'm not sure that's quite correct... $ telnet apis.gowwr.com 443 Trying 117.50.108.124... Connected to api-gateway.bmob.site. Escape character is '^]'. GET / HTTP/1.0 HTTP/1.1 400 Bad Request Server: openresty/1.15.8.1 Date: Wed, 01 Nov 2023 03:22:22 GMT Content-Type: text/html Content-Length: 261 Connection: close <html> <head><title>400 The plain HTTP request was sent to HTTPS port</title></head> <body> <center><h1>400 Bad Request</h1></center> <center>The plain HTTP request was sent to HTTPS port</center> <hr><center>openresty/1.15.8.1</center> </body> </html> Connection closed by foreign host. Cheers.
  • Dropbox QOauth module issue

    Unsolved
    2
    0 Votes
    2 Posts
    236 Views
    SGaistS
    Hi and welcome to devnet, Did you check the content of the query url ? Do you have some mismatch like localhost vs 127.0.0.1 ? While they resolve to the same address they are different from an OAuth point of view.