Skip to content
Qt 6.12 LTS is out! See what's new in the release blog
  • 145k Topics
    725k Posts
    S
    First of all, we are not using QML in our app, yet. So, I probably have fewer problems. The MSVC distributable is a little bit annoying. In the past we solved it through the NSIS installer. I believe it can have a dependency to the MSVC distributable. But, at some point we also ran into problems. We then decided to link MSVC libs statically. This is also quite annoying because not every 3rd party library has an easy option to link against MSVC statically. I believe CMake only got that option very recently. And package managers usually don't help you with that. We had a DLL chaos with a different program and so for our main software we decided to just also link Qt statically. With the LGPL this gives additional requirements that you need to provide users of your software a way to link with their own Qt library. But, this has never happened so far (and we cannot give support or warranty for software we didn't fully compile). This also means that we needed to compile OpenSSL statically and it is linked into Qt. So, we just have a single executable to distribute and no DLLs. And any additional files we try to put into a .qrc file. This handles your points 1., 3., 4., and 5. I don't know how this would work properly with QML. (BTW, our program has ~380k lines of code + another ~80k lines of code in our own libs + 3rd party libraries besides Qt; the final executable is currently 62MB.) We started signing our executables because of antivirus problems. We used the cheaper certificates, so Windows still sometimes complains (but at least it will also mention our company name). It is quite annoying because when we last renewed our certificate, having the private key as a file was no longer allowed and it now has to be a hardware key. This restricts signing to a single computer in our CI/CD. And we haven't worked out everything perfectly: In order to avoid being flagged by antivirus again when you renew your certificate, you should have an overlapping period where you sign your software both with the old and the new certificate. We haven't done that, yet. Also, if I have done my research properly, Mozilla and other companies are pushing for much shorter periods where the certificate is valid. We still have a certificate valid for 3 years, but I guess in the future it will only be weeks. You should really figure out how to properly deploy your software and then write a script that does it (or have AI write you a script). Once you have tested it on a clean VM, it should be reliable enough to just trust the script. (But adding files to your project still might fail on other users' machines in the future.)
  • Jobs, project showcases, announcements - anything that isn't directly development
    4k 23k
    4k Topics
    23k Posts
    ekkescornerE
    yep. really cool. will try later ... curious: years ago, as I switched from BlackBerry10 (Cascades/Qt 4.8) to Qt 5 (QuickControls2) I really missed the GroupDataModel from Cascades, where I could do things like this: import bb.cascades 1.2 ListView { dataModel: GroupDataModel { sortingKeys: ["lastName", "firstName"] sortedAscending: true grouping: ItemGrouping.ByFirstChar } } great to see what's now possible with Qt QML - THX :)
  • Everything related to designing and design tools

    133 403
    133 Topics
    403 Posts
    A
    Thanks a lot for all this information. It has helped me get clarity on the questions that have been bugging me for weeks. I can now decide better what I want to do, and why. I will definitely share these with them ideas about unifying the UI for mobile and desktop with Qt, as it seems like it doesn't necessarily warrant replacing starting their application from scratch, only their UI code will get replaced (and its bindings).
  • Everything related to the Software Quality Tools

    97 274
    97 Topics
    274 Posts
    C
    This had been reported to Squish technical support team, and closed on behalf of the reporter. Unfortunately it was not possible to identify a clear cause so far.
  • Everything related to learning Qt.

    402 2k
    402 Topics
    2k Posts
    M
    [image: 01776ece-1308-4e3c-98fd-2749b3a4e221.png] Challenges faced: So when it came to building the d-pad, I was absolutely lost and was trying to approach this problem by drawing and arc instead and so I was reading about PathArc, and so it was getting so complicated, then I did see how it was implemented in the solution. repo: https://github.com/Meehir5907/QML-for-Beginners-Challenges/tree/Intro-Qt-Quick-My-Sol/StartingProject
  • 2k Topics
    13k Posts
    jsulmJ
    @VikMorroHun said in blocked: cmake: command not found: In Linux I got more than 6000 hits How did you search to get 6000 hits?
  • 4k Topics
    18k Posts
    C
    找到原因了,账号密码错误导致的
  • This is where all the posts related to the Qt web services go. Including severe sillyness.
    1k 10k
    1k Topics
    10k Posts
    P
    Unless I misunderstand, this topic was written when this forum used Textile, which explains why some of the above have broken formatting. This question is therefore no longer relevant for this forum. That being said, to anwer this question should anyone else land on this topic from a search engine, this should (now?) be possible. 🅭🄍