Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.3k Posts
  • What Are the Best Practices for Implementing Progressive Web Apps (PWAs) in 2023?

    Unsolved
    3
    0 Votes
    3 Posts
    462 Views
    S
    @Sachin-Bhatt said in What Are the Best Practices for Implementing Progressive Web Apps (PWAs) in 2023?: In 2023, what are the current best practices for developing Progressive Web Apps (PWAs) to provide an optimal user experience? You are asking this question in a Qt forum. Qt is certainly not the choice for PWAs. For an optimal user experience I always suggest Wt (https://www.webtoolkit.eu/wt). It heavily borrows from Qt and you write your web app (almost) entirely in C++. The PWA part is done totally hidden in the background. I consider the "optimal user experience" to be 1) a fast loading webpage with 2) fast response during interactions. Wt does deliver this. However, Wt does not fulfill another part of your question: @Sachin-Bhatt said in What Are the Best Practices for Implementing Progressive Web Apps (PWAs) in 2023?: how can they leverage new features and APIs for improved performance and user engagement? Wt does not have the newest features. Concerning performance it doesn't have to. But I honestly question your premise: I don't see a direct correlation between new features and improved performance. If you just add features on top I would expect things to get slower. The fastest webpage you can write is a static one. Still, a lot of "static" pages use 20 different tools to achieve the same task with inferior performance. As a user of web pages and web apps I don't see the point in using all the newest features just for the sake of it. You might use some new features for better user engagement, though.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Qt6 yocto build - nothing provides tslib-native

    Unsolved
    3
    0 Votes
    3 Posts
    418 Views
    M
    @MartinD I found this https://wiki.yoctoproject.org/wiki/Technical_FAQ What does "native" mean? The "native" suffix identifies recipes (and variants of recipes) that produce files intended for the build host, as opposed to the target machine. This is usually for tools that are needed during the build process (such as automake). So, if I understand it correctly, how can I get tslib for my host machine (ubuntu)?
  • How to make QCalendarWidget not scrollable?

    Unsolved
    6
    0 Votes
    6 Posts
    435 Views
    JonBJ
    @Hai-Anh-Luu I don't know about the specific "change month", but see https://www.qtcentre.org/threads/55248-QCalendarWidget-how-to-stop-wheel-events-processing from 2013(!) with apparent solutuon Install the event filter on the view's viewport.
  • This topic is deleted!

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

    Unsolved
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • How to use a custom font in Qt Installer Framework?

    Solved qt installer custom font font qtinstaller
    3
    0 Votes
    3 Posts
    968 Views
    W
    @SamurayH I have encountered a similar problem and do not know how to solve it. It's not valid here either QCheckBox::indicator:checked { image: url(img/checked_on_normal); } QCheckBox::indicator:unchecked { image: url(img/checked_off_normal); }
  • Compile to arm

    Unsolved
    2
    0 Votes
    2 Posts
    199 Views
    C
    @Kattia Assuming you have a Qt library built for the ARM architecture then your program should require little, if any, change. The areas it would have to change will be anything you have done that assumes an x86 64- or 32-bit architecture or features not available on Windows for ARM (whatever they may be).
  • Qt Bluetooth 6.6.3 Error

    Unsolved
    3
    0 Votes
    3 Posts
    324 Views
    C
    @Brightside Assuming you used the Qt online installer then: [image: 8ee6f50f-f5b1-4d8c-bf85-90a396968db8.png]
  • 0 Votes
    2 Posts
    752 Views
    A
    Ok I managed to get it through to App Store Connect! Had to replace the call to macdeployqt with Xcode's equivalents :( Got some helpful info from Apple, details on this thread if anyone's interested https://developer.apple.com/forums/thread/740606
  • This topic is deleted!

    Unsolved
    11
    0 Votes
    11 Posts
    74 Views
  • How to use qInstallMessageHandler in an in-Process Axserver

    Solved
    6
    0 Votes
    6 Posts
    667 Views
    jsulmJ
    @TheCrowKaka said in How to use qInstallMessageHandler in an in-Process Axserver: Static works as both output_ts and outFile are required across multiple classes Sounds like bad design
  • Raspberry Pi 3, QOpenGLFunctions_3_2_Core

    Unsolved
    3
    0 Votes
    3 Posts
    231 Views
    B
    @jsulm Thanks for suggestion. Ill try in several days.
  • 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
    343 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
    640 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