Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.1k Posts
  • [SOLVED]Binding between C++ object and Listview delegate

    3
    0 Votes
    3 Posts
    2k Views
    M
    Sorry for the late answer, I got back to my code and it does work with your fix. Thanks
  • Efficiently update vector image in Qml Flickable on Android

    2
    0 Votes
    2 Posts
    1k Views
    X
    Hi, you may try and use a QOpenGLFramebufferObject instead of the QImage as the render target, also if your image doesn't change much you can cache the painted image/texture in your class I guess?
  • [Solved] SpinBox with in RowLayout

    6
    0 Votes
    6 Posts
    2k Views
    EddyE
    Thanks for the feedback here. Well appreciated!
  • 0 Votes
    1 Posts
    816 Views
    No one has replied
  • 0 Votes
    5 Posts
    5k Views
    M
    In Mac OS X it is stored in the following location: @./Library/Application Support/[ProjectName]/QML/OfflineStorage/Databases/[HASH].sqlite@
  • QtQuick (5.2.1) Windows 64bit OpenGL troubles

    2
    0 Votes
    2 Posts
    798 Views
    S
    Um this code of mine is working OK on different windows with mingw ... this is strange
  • [solved] QuickItem custom drawing: multiple colors

    3
    0 Votes
    3 Posts
    742 Views
    EddyE
    Thanks for reporting back to us of the status. Please add [solved] to the topic so everyone can see that this problem is solved. You can do that by editing your first post.
  • AnimatedImage cause the Application to crash

    1
    0 Votes
    1 Posts
    480 Views
    No one has replied
  • [Solved] cannot set property of undefined

    14
    0 Votes
    14 Posts
    5k Views
    EddyE
    [quote author="petro2033" date="1396232213"]ty all, but probles was that QtGraphicalEffects needs no dll, but needs QML file from Qt\Qt5.0.2\5.0.2\mingw47_32\qml\QtGraphicalEffects[/quote] Does that mean that you figured out the problem? If so, please mark the thread as [Solved] by editing the title of you first post.)
  • Set size for Action icon

    3
    0 Votes
    3 Posts
    2k Views
    D
    I am using Action in ToolButton / Button, but it seems it also does not provide any way to specify icon size...
  • Android Bug With 5.3 Beta ?

    6
    0 Votes
    6 Posts
    3k Views
    D
    I uploaded example to this bug report. Thanks
  • Radiobuttons in listview and groups by sections

    3
    0 Votes
    3 Posts
    2k Views
    P
    Hi, yes.. i thought i might can avoid executable code in the qml file. I gonna try it soon. Thank you for your reply!
  • Qt DBus Monitor Method Calls

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • QtQuick Layouts with Designer

    7
    0 Votes
    7 Posts
    2k Views
    strahlexS
    I would recommend to use Layouts where it is suitable like here. You can not use anchors inside a row as far as I understand. Practically for Layouts just take a look at @ Layout.fillWidth Layout.fillHeight Layout.preferedWidth Layout.preferedHeight @ With these 4 properties you can do all you want.
  • [Solved] Deploying QML library/imports

    2
    0 Votes
    2 Posts
    2k Views
    strahlexS
    So it worked out like this: I created a subdir project with library and application. To the library I added this: @folder_01.source = imports folder_01.target = DEPLOYMENTFOLDERS += folder_01 include(deployment.pri) qtcAddDeployment() @ Where deployment.pri is the file that came (It does not come with Qt Creator 3.1 anymore) when creating a new QtQuick project. To the applications I added this: @# Additional import path used to resolve QML modules in Qt Creator's code model QML_IMPORT_PATH = $$relative_path($$OUT_PWD/../qmlhalplugin/imports, $$PWD) Add more folders to ship with the application, here folder_01.source = $$QML_IMPORT_PATH folder_01.target = folder_02.source = qml folder_02.target = DEPLOYMENTFOLDERS += folder_01 folder_02@ Now I can compile the whole subdir project.
  • SetRoleNames in Qt 5.0.1

    9
    0 Votes
    9 Posts
    8k Views
    S
    I have tried following the above comments but still I'm not getting the desired results, I'm not able to replace setRoleNames() with roleNames(). Can someone give an example or a code snippet which will show how we can port setRoleNames() API in Qt5 by overriding roleNames() API?
  • Flickable layout issue(Solved)

    7
    0 Votes
    7 Posts
    2k Views
    EddyE
    glad I could help
  • Qt 5.3 QML Application crashes with associative array

    7
    0 Votes
    7 Posts
    3k Views
    M
    No, it's related to the associative array. Qt provided already a fix https://codereview.qt-project.org/#change,82113
  • Access to children components inside a custom component

    3
    0 Votes
    3 Posts
    1k Views
    X
    Oh accessing children in a component is much easier :D the way I use is just setting an alias property that works well, e.g. (CompA.qml) @ Item { property alias textItem: textId // item alias property alias text: textId.text // single property alias Text { id: textId } } @ now you can access the Text item from outside: (in another QML file) @ CompA { textItem.text: "foo" //or text: "foo" is this case } @
  • Switch Keyboard-Focus between ListView and GridView

    2
    0 Votes
    2 Posts
    1k Views
    S
    Any help :(?