Skip to content

Brainstorm

Stuck? Some ideas just need to be dumped on someone before they can materialize.
462 Topics 3.3k Posts
  • How would you like to learn Qt?

    Pinned
    23
    4 Votes
    23 Posts
    14k Views
    A
    @Giridhar Two comments- QT examples are as received from some comments on forum " very basic ". That is OK , but lack of function description , lack of description of passed parameters to the function, and overall lack of "comments" eliminates "examples" as a learning resource. ( as a poorest example - error processing in non existent in examples - I have been told "it is not basic " to process errors ) Same goes for using forum as a learning resource. The forum unadvertised purpose is to resolve coding issues. There are some very knowledgeable contributors doing so, but they are a minority. So far I have not found many technical forums as a beneficial learning resource - most "how do I ..." receive reply "Google it ". As far as "doing a survey " - that is your choice to "get up the speed " in your job , I would suggest to skim the forum, it may also help. Good luck Cheers
  • Tossing around the idea for this QtCreator "Quick Fix"....

    Unsolved
    2
    0 Votes
    2 Posts
    48 Views
    J.HilkJ
    You don't have deprecation warnings on, or you would not suggest foreach :P Don't use it, I'm surprised its still in the library I would suggest simply writing the c++ way with std::as_const Or if you insist on "simpler" macros: #include <utility> // std::as_const #define FOREACH_CONST(var, container) \ for (const auto& var : std::as_const(container))
  • a2ui renderer in Qt

    Unsolved
    1
    0 Votes
    1 Posts
    99 Views
    No one has replied
  • How many emitted signals is too many?

    Unsolved
    23
    1 Votes
    23 Posts
    2k Views
    jeremy_kJ
    Whether the implementation is "lock-" or "wait-free" depends on the processor and C++ standard library implementation. https://doc.qt.io/qt-6/qatomicpointer.html#feature-tests-for-the-atomic-api An operation that completes in constant time is said to be wait-free. Such operations are not implemented using locks or loops of any kind. https://en.cppreference.com/w/cpp/atomic/atomic_is_lock_free.html All atomic types except for std::atomic_flag may be implemented using mutexes or other locking operations, rather than using the lock-free atomic CPU instructions. Atomic types are also allowed to be sometimes lock-free: for example, Use the macros and is*WaitFree() functions documented for QAtomicPointer It's also worth looking at the Qt and C++ memory ordering semantics documentation. *Ordered() is the most conservative approach. Imposing ordering limits the optimizations that a compiler and CPU can apply. The use of atomics also impacts memory cache coherency, potentially causing neighboring non-atomic data to be flushed.
  • Vibe coding / AI code generation for Qt based applications

    Unsolved
    5
    0 Votes
    5 Posts
    566 Views
    KH-219DesignK
    Like @SimonSchroeder , I'm not really using AI for programming (yet), but I, too, follow the discussions about this (sometimes). Something I have been pondering recently, without coming to any conclusions... Over the years, most programmers/coders/engineers that I have worked with are much more comfortable writing code than sitting down and intently reading through it methodically and critically (especially for "novel" code for which the reader was not also the author). I have regularly given my favorite "pet" advice to people just starting out that they should try to get really comfortable and really fluent in reading and analyzing code, and practice that skill as often as they practice writing code. So.... In a hypothetical world where the AI writes 100% of the code, then either it will somehow be "perfectly coded" and need no review (which I cannot imagine, since the "spec" could have errors), or.... the AI writes 100% of the code and it falls upon us to READ all the code, which is something a lot of us do poorly. This simultaneously brings up two competing feelings for me: excitement/hope that code reading will now become more recognized as the highly-prized skill that I always believed it to be. pessimism/dread that nobody will be reading all the "AI slop" code that is potentially about to be dumped into the world's code repositories, and that there already aren't enough good readers/reviewers to deal with it all
  • Register a Qt account twice

    Unsolved
    3
    0 Votes
    3 Posts
    984 Views
    RokeJulianLockhartR
    @asterwyx, what was the response? I ask per forum.qt.io/post/833884.
  • Why doesn’t Qt for C++ support hot reloading like other modern UI frameworks?

    Unsolved
    4
    0 Votes
    4 Posts
    548 Views
    Pete CarterP
    @SimonSchroeder There is a single project that allows you to do hot reloading with C++ (and thus certainly also with Qt): https://liveplusplus.tech/ Only problem is that it's closed source
  • Qt City Building Game

    Unsolved
    4
    0 Votes
    4 Posts
    847 Views
    V
    Today there is only a single pretty expensive license. But in the past, I remember there were other cheaper versions. For example the "Indie Mobile Edition". So a edition only for mobile devices (and i guess only Qt5 only, but I am not 100% sure). I guess they have one of that versions and/or they use a module that isn't available with Qt6 yet (don't forget that some modules are not available with Qt6!) But maybe ask them if you want to know more.
  • how to use chatgpt for blogging

    Locked Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    JoeCFDJ
    Have not used chatgpt for a while. I prefer Grok.
  • Qt Open Source Apps - Code Repository

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    M
    Hello. Just as a little part of this, I'm updating this wiki page with current URLs and missing Qt software. https://wiki.qt.io/List_of_Qt_Applications Feedback is welcome. Regards
  • Qt vs Java for client/server application

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    B
    @JonB - this does look like it'll suit our needs, if we decide to re-purpose the Java into a server. It's another approach I can add which I'd not thought of, thanks!
  • Best Practices for Deploying Qt Applications in SysOps Workflows (Linux/Windows)

    Unsolved
    2
    0 Votes
    2 Posts
    607 Views
    SGaistS
    Hi and welcome to devnet, AFAIK, Qt now provides helper macros to make use of e.g. windeployqt to prepare a folder structure that allows your application to run. You can then use your favorite package manager or CPack to build the installer. For Linux, it begs a different question: are you aiming at providing native packages such as deb and rpm files ?
  • This topic is deleted!

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

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Rendering a simple 3D model with a custom QRhiWidget

    Unsolved
    1
    0 Votes
    1 Posts
    441 Views
    No one has replied
  • Admins: How about deploy a llm/RAG chain to improve forum search?

    Moved Unsolved
    1
    0 Votes
    1 Posts
    562 Views
    No one has replied
  • QT in Xojo

    Unsolved
    2
    0 Votes
    2 Posts
    805 Views
    jsulmJ
    @BoudiVV Hi! Not sure what your question or concern is. Why do we need a different way to work together? What would be different? "merge of QT with CSS" - what does this mean? "But we can no longer accept that there is no honest earning model for all the developers involved" - do you mean Android/iOS app developers? Qt developers?
  • How to compile Qt1.45

    Unsolved
    9
    0 Votes
    9 Posts
    3k Views
    X
    @Pl45m4 beautiful! And I relieaze. I really fancy reading Qt6 sources. thx.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Help sending data from dialog to main window

    Unsolved
    13
    1 Votes
    13 Posts
    4k Views
    Pl45m4P
    @alexjordan_now said in Help sending data from dialog to main window: You can achieve this by emitting a signal from the login dialog and connecting it to a slot in the main window That's one way that was also already mentioned before :) Though I think if you want to return one value only, setting up a signal/slot connection is more "work" than just returning the value directly to the caller.