Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.1k Topics 77.7k Posts
  • How we set a varrible out of MouseArea in Window type or Image Type?

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    stackprogramerS
    i did n't use this method,now that i use it my problem was solved thanks for reply. Component.onCompleted: { }
  • Error allocating memory.

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    SGaistS
    Are you sure the elements of signals are all of the capacity you set ?
  • Add another Component.onCompleted signal

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    It's not that people are avoiding that topic, but this forum is more user oriented and that question (as well as this one) is pretty low level. You should maybe try the interest mailing list, you'll find there Qt's developers/maintainers.
  • QThread, QML

    Unsolved
    3
    1 Votes
    3 Posts
    3k Views
    Q
    Hello, I am not very convenient with QRunnable ,so I would rather use QConcurrent than QRunnable ^^. But this example is just to ask if my way to use thread is the good one, because in my future applications I will have to use a real Object :p. Thanks for your answer :).
  • How do I scale .svg within html tags in QML

    Unsolved qml svg
    1
    0 Votes
    1 Posts
    652 Views
    No one has replied
  • Make a complex application with high performance

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    Q
    Yeah I see^^. Thanks a lot for your answers guy :).
  • Unable to execute..: " error: dependent '..\Full' does not exist."

    Unsolved
    2
    0 Votes
    2 Posts
    652 Views
    SGaistS
    Hi, That's not enough information. Please share the complete log
  • how to use image in qt qml

    Solved qml qt5.5 image display
    3
    0 Votes
    3 Posts
    2k Views
    speqtrS
    Hi, this error usually means "The resource (qrc:/name of pic.jpg) is not specified in a .qrc file." Probably, you need to look at Qt Resource System article. Most likely it will help you.
  • ScrollView with Repeater

    Unsolved
    1
    0 Votes
    1 Posts
    716 Views
    No one has replied
  • Weird behavior on TextArea with images + paragraph line-height

    Unsolved
    1
    0 Votes
    1 Posts
    491 Views
    No one has replied
  • Livereload after file save but keep some objects

    Unsolved
    1
    0 Votes
    1 Posts
    405 Views
    No one has replied
  • Execute external program from qtquick 1.0

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    X
    There's really not much more to it than described on the web page. You'll go through the "New File" dialog in Creator, and add a C++ class called Process. Then paste the code into your process.h, and make the changes specified to your main.cpp.
  • 0 Votes
    7 Posts
    6k Views
    B
    Hi! You can check this https://github.com/brexis/qml-bootstrap, Qml compoments inspired from Ionic framework style for mobile and desktop Qt/Qml projects.
  • Having many non-overlapping items affect the QML performance

    Unsolved
    1
    0 Votes
    1 Posts
    982 Views
    No one has replied
  • completely newbie

    Unsolved
    3
    0 Votes
    3 Posts
    855 Views
    canellasC
    Thanks! I started watching https://www.youtube.com/watch?v=qJpuG7fWh98, which is the first tutorial in Qt Creator. Is anyone familiar with this (https://www.youtube.com/watch?v=Y4utTBcSjdM&list=PLB22HyVdO1GkLFrvRi5vIo5XcWS0EflxD) series of tutorials?
  • Dynamically created item destroyed with original parent despite reparenting

    Unsolved
    7
    0 Votes
    7 Posts
    4k Views
    K
    Here is my current workaround for reparenting a QQuickItem using PyQt5: class Utilities(Singleton): @pyqtSlot(QtQuick.QQuickItem, QtQuick.QQuickItem) def reparent(self, item, parent): # Sets the visual parent item.setParentItem(parent) # Sets the QObject parent item.setParent(parent) QtQml.qmlRegisterSingletonType(Utilities, "Utilities", 1, 0, "Utilities", Utilities.Instance) Here's the usage in QML: Utilities.reparent(target, newParent); oldParent.destroy(); It should be trivial to translate into C++. How you chose to manage your singletons is an implementation detail, here is my quick and dirty solution: def lazy_setdefaultattr(obj, key, default): try: result = getattr(obj, key) except AttributeError: result = default() setattr(obj, key, result) finally: return result class Singleton(QtCore.QObject): @classmethod def Instance(cls, *args, **kwargs): return lazy_setdefaultattr(cls, '_instance', cls)
  • Combobox delegate does not update TableView model in qml

    Unsolved
    1
    0 Votes
    1 Posts
    491 Views
    No one has replied
  • Call Qt.createComponent() with a plugin type

    Unsolved qml plugin
    1
    0 Votes
    1 Posts
    456 Views
    No one has replied
  • How to customize ComboBox from QtQuick.Controls

    9
    0 Votes
    9 Posts
    25k Views
    S
    I am also interested to know if there has been anything for Mac OSX so far.
  • "ReferenceError: mouse is not defined" in MouseArea

    Unsolved mousearea mouse
    4
    0 Votes
    4 Posts
    4k Views
    SGaistS
    You're welcome ! Since the mystery is gone, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)