Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.4k Posts
  • How to make always on top ?

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    SPlattenS
    @J-Hilk , thank you, I will experiment
  • How to import a file?

    Unsolved
    1
    0 Votes
    1 Posts
    156 Views
    No one has replied
  • I cannot run EBike Design example because of quickstudiocomponentsplugin.dll

    Unsolved
    2
    0 Votes
    2 Posts
    257 Views
    J
    I could solve the problem by going back to QT 5.15.2 coming from 6.3.2. However the example still does not work out of the box. All QtQuick imports miss version numbers and Screen01 is not found.
  • QML Dynamically add/remove from GridView

    Unsolved gridview loader qml
    1
    0 Votes
    1 Posts
    318 Views
    No one has replied
  • How to console log a JS object

    Solved qml
    5
    0 Votes
    5 Posts
    1k Views
    JKSHJ
    @AkshayFP said in How to console log a JS object: This is so weird. I am not sure why I am not able to print it. Try creating a new, blank project and test it there. I'm guessing your original code has something like cycleOptionsAllowed = [] somewhere.
  • How to use configure project to open correctly in Qt Creator

    Unsolved
    19
    0 Votes
    19 Posts
    2k Views
    jsulmJ
    @SPlatten said in How to use configure project ot open correctly in Qt Creator: Is it possible that these are only resolved at runtime? Could be, I'm not a QML expert. Is this code line in your project?
  • Compilation Process in Qt Creator using command prompt.

    Unsolved
    3
    0 Votes
    3 Posts
    534 Views
    D
    @jsulm said in Compilation Process in Qt Creator using command prompt.: @Sharathkumar-T After running qmake you simply run make or mingw32-make.exe. I don't know what you're trying to achieve with "qmake.exe E:\ExampleCode..." - this does not make sense. Also, on windows you need to add .exe suffix to make. Thanks a lot for your advice
  • Canvas weird repainting on ApplicationWindow{} changes width/height

    Solved
    2
    0 Votes
    2 Posts
    182 Views
    S
    so solution is not to repaint via requestPaint(), but actualy by reseting: onWidthChanged: { var context = getContext("2d"); context.reset(); }
  • QML TextInput slow to give up focus on Windows

    Solved
    5
    0 Votes
    5 Posts
    321 Views
    P
    Ends up this is a Windows problem. any keyboard input delays mouse input for 1 second. i have no clue how to turn it off, but there it is.
  • Another question on same QML...

    Solved
    3
    0 Votes
    3 Posts
    247 Views
    SPlattenS
    @J-Hilk , thank you, I searched the entire source for setContextProperty and found lots of other references but sadly not for "vehicle". Found it I think, there is a helper function that calls setContextProperty where one of the parameters passed into it is "vehicle".
  • import statements

    Solved
    5
    0 Votes
    5 Posts
    398 Views
    jsulmJ
    @SPlatten said in import statements: | |- asvscm-widgets-qml (.ccprd, .prf, .pro and Makefile) What about this part? Looks to me like the location you should check.
  • How to reduce build time in QT

    Unsolved @qtwidgets @qmlandqtquick @qtsdk @qt4.7.3
    2
    0 Votes
    2 Posts
    378 Views
    jsulmJ
    @Apoorvthedude said in How to reduce build time in QT: it takes very much time to build How much? How big is the code base? How exactly do you build (in QtCreator, in a terminal)? Does it rebuild everything if you change one file?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • QT6 "drop" (ANDROID STYLE possible) when TextInput has focus

    Unsolved
    1
    0 Votes
    1 Posts
    162 Views
    No one has replied
  • MapPolygon problem in drawing Polygon

    Unsolved
    1
    0 Votes
    1 Posts
    155 Views
    No one has replied
  • 0 Votes
    1 Posts
    138 Views
    No one has replied
  • Change the data in label by selected rows in Table View

    Solved
    8
    0 Votes
    8 Posts
    476 Views
    Karoluss96K
    OK, I wrote: in function to show records in table view a1=int(query.record().value(ier[0]))#take ID self.model4.setItem(x, 32, QStandardItem(str(a1))) self.dlg.tableView_3.setColumnHidden(32,True)#...and hide it! in function to select records: Iden = dane.siblingAtRow(rzad).siblingAtColumn(32).data()#Niewidoczny ID self.dlg.label_32.setText(Iden) And it finally works! Thanks for help!
  • "is not a type" error when importing custom qml from resource

    Solved qml import
    7
    0 Votes
    7 Posts
    5k Views
    D
    I have the same thing as you, there are 2 solutions, 1 is to lower the qt version below 6, the second is to use cmake to compile, it will be successful
  • Load SVG image with parameters

    Unsolved qml svg image quick
    1
    0 Votes
    1 Posts
    755 Views
    No one has replied
  • Unknown module(s) in QT: mqtt

    Unsolved
    3
    0 Votes
    3 Posts
    386 Views
    M
    Thank you for the answer and explanation. Unfortunatelly building this was not working for me but after a lot of schearching and struggle I was able to get .dll file.