Skip to content
  • 143k Topics
    719k Posts
    W
    Hello! I wrote this code : import QtQuick import QtQuick.Window import QtQuick.Controls import QtQuick.Layouts import Qt.labs.qmlmodels ... TableView { id: tableView ... model: myModel delegate: Rectangle { implicitWidth: 100 implicitHeight: 50 border.width: 1 Text { text: styleData.Value anchors.centerIn: parent onTextChanged: console.log(styleData.row) } } } An error appears when launching this application: "ReferenceError: styleData is not defined". The Qt version is 6.8.2. I can't find anything about this error. Has anyone come across this? Thanks in advance!
  • 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 ?