Skip to content
  • 143k Topics
    719k Posts
    R
    I've been working on a large Qt/QML project (using 6.8.4) and have run into something that I can't explain, and don't know how to fix. I'm not well versed enough in Javascript to know if this is supposed to happen. Here's a short example: var a = 0xa0000000; var b = 0x00500000; var c = a | b; If I print c, I get 0xffffffffa0500000. I'm not sure why it would try to interpret the value as a 32-bit signed int and then sign extend it from 32 to 64 bit. (which is what I assume is happening here) I tried ANDing the result with 0xffffffff, and that did nothing. I also found some mention online of Javascript's unsigned right shift operator, and tried that with no success as well. How can I prevent sign extension from happening?
  • Jobs, project showcases, announcements - anything that isn't directly development
    4k 23k
    4k Topics
    23k Posts
    FeRDNYCF
    @Pedro said in Forum Updated NodeBB v4.3 + New features: Profile View Now you get a profilecard snippet by hovering over a user's name/picture. * Only if logged in. (Which probably makes sense, but I just thought I'd point it out. ....After logging in to get the feature working.)
  • Everything related to designing and design tools

    129 391
    129 Topics
    391 Posts
    J
    In QT Design Studio, Tab Buttons are mostly for navigation within the UI, but each tab doesn’t automatically hide other content. Usually, a StackView or Loader is needed to switch visible content depending on the active tab.
  • Everything related to the QA Tools

    81 219
    81 Topics
    219 Posts
    H
    @IamSumit can you reproduce the issue and share the Support Information logs. Please refer to the following Knowledge Base Article regarding how to obtain the Support Information is https://qatools.knowledgebase.qt.io/misc/collecting-support-info/collecting-support-information-linux-mac-windows/
  • Everything related to learning Qt.

    388 2k
    388 Topics
    2k Posts
    KH-219DesignK
    LGTM. I just compared it to my checklist for CMake best practices (which you can read here), and I applaud you for: using subdirectories using PRIVATE (to limit scope) using functions that begin with target_ (in place of ancient/legacy habits of setting various options in a more global way)
  • 2k Topics
    13k Posts
    Kent-DorfmanK
    I do a lot of python/pyqt database access using psycopg2 for PostgreSQL. It's so much easier to prototype these kinds of ideas in a language like python, and if needed then port it to c++, but truth be told, most of the time the python app is just works as is so no need to rewrite in c++. For something as simple as you are alluding to, the hard core OO models using DAO/DTO are probably overkill. Also, when dealing qith SQL queries it's "nice" to work in a language that is NOT strongly typed. Sorry if this is a round-about way to respond. Your path has merit in the realm of intellectual curiosity, but if you want it done quickly then python is a better option, and you can still wrap it in a Qt GUI. Yikes! Didn't notice OP was 9 months ago...
  • 4k Topics
    18k Posts
    JonBJ
    @Max connect(obj1, &MyObject::mySignal , this, [=]( int arg1 ){ qDebug() << arg1; });
  • This is where all the posts related to the Qt web services go. Including severe sillyness.
    1k 10k
    1k Topics
    10k Posts
    SGaistS
    Hi, I think you can use https://forum.qt.io/category/5/qt-io-webservices category for this type of question (moved there by the way). Are these in your "unread" section ? Are they marked as you following them ?