Most voted "qml" questions
QML (Qt Meta-object Language) is a declarative language designed to describe the user interface of an application using Qtquick technology.
Learn more…23 questions
Sort by count of
-
15
votes1
answer205
viewsWaiting for a signal within a Qquickimageprovider
I’m creating an application using QML and the Qt 5.2. In her a ListView displays multiple items, each with an image and associated text. The image is built based on data uploaded from a server by…
-
6
votes1
answer197
viewsDisplay a dynamically loaded text/photo pad with QML for Android
I’m writing an app using the newly released Qt 5.2 QML for Android. On one of the screens I need to display an article that is loaded from a server and may change after the launch of the…
-
4
votes2
answers78
viewsDynamic/stochastic object allocation in QML
I am currently trying to do the following in QML, simultaneously: do dynamic loading of Objects previously created a separate file; by doing what is described above, select objects stochastically…
-
3
votes1
answer203
viewsHow to treat screen orientation in QML?
I usually develop focused to vertical orientation, but when I turn the device screen to horizontal, the elements are resized in an unwanted way, leaving some smaller than they really should be. For…
-
3
votes1
answer87
viewsChange the property of a QML object by C++
I’m trying to change a property of an object (Rectangle) that was instantiated in the QML, but I am not able to perform it because the method findChild returns null. I am following the following…
-
1
votes1
answer64
viewsHow to verify that a URL has been successful in QML?
In QML, I can run an external URL using: Qt.openUrlExternally(url); With this, I can, for example, open the Facebook app in a certain profile: var test =…
-
1
votes1
answer45
viewsHow to create a mask between a QML image and a Qtquick element
How to create a mask between an image imported to QML (e.g., a png icon, jpeg, svg, etc...), and a user interface element in the background (e.g.: a re-click)?
-
1
votes1
answer28
viewsFiledialog problem in QML
I’m trying to use the component FileDialog in the QML I made exactly the same code that is in the Qt documentation on the link http://doc.qt.io/qt-5/qml-qtquick-dialogs-filedialog.html and this code…
-
1
votes1
answer97
viewsQml Textfield - numeric keypad
I’m trying to use a TextField who receives only numbers QML. I’m using the property inputMethodHints to make the device display only the number pad. Works well on Android but when I run on iOS it…
-
1
votes1
answer49
views -
1
votes1
answer67
viewsResetting a Qabstractlistmodel
Would you like to know how to reset or clean data from a Qabstractlistmodel? I am using Qt version 5.6. The problem I’m having is when I try to perform an update of the information that is in the…
-
1
votes1
answer139
viewsUse of delete Function - Inheritance of a Qlist
When compiling I get the following error, in Qlist. I’m using Qt 5.6. error: use of Deleted Function 'Vitamin::Vitamin(const Vitamin&)' Current->v = new T(*reinterpret_cast(src->v));…
-
1
votes1
answer108
viewsHow can I create a layout like the image with QML?
I’m learning QML now and I want to create something similar to the image attached, I’ve tried to create something but I can’t manipulate the vertical menu buttons and leave it like the image,…
-
1
votes0
answers46
viewsHow to promote Qgraphicsview in Qchartview?
I’m new to Qt Creator, I want to know how to present 2 or 3 graphics on a single screen, I’ve seen some examples that Qt provides, but they don’t show how I want to learn how to do it, please Help.…
-
1
votes1
answer169
viewsHow to resolve this ASSERT error: "!" No style available without Qapplication!"" in file kernel qapplication.cpp, line 1054?
When I start an application to display a graph it shows me this error: QML debugging is enabled. Only use this in a safe Environment. ASSERT: "!" No style available without Qapplication!"" in file…
-
0
votes2
answers424
viewsQT signal from C++ to QML
I am trying with QT 5 + QML to create an application where after opening the file using the fileDialog it returns a message by a QT signal. The application opens using a QML and initiating a call to…
-
0
votes1
answer94
viewsQML Camera does not get FULL SCREEN
I’m developing an app that requires the front camera to occupy the entire background screen, like the Snapchat app, but using QML the camera with spacing above and below the camera. QML Responsible…
-
0
votes1
answer62
viewsQML Access the image gallery on iOS and Android
I’m developing an app for iOS and Android and I am facing some difficulties to access the galeria de images of devices with QML. I need to list the image gallery images in one GridView I’ve been…
-
0
votes1
answer42
viewsQML elements on status bar
I’m having a problem when the device keyboard is shown. The elements are on top of the device’s status bar as in the images. I’ve tried using the Flickable type but does not work. Every time the…
-
0
votes1
answer61
viewsQml item in fixed position
Mobile devices move the elements up when the keyboard is called, but there are elements that stay in the same position when the device keyboard is called as in the images below. How can I keep a Qml…
-
0
votes1
answer14
viewsSplit QML Project into Sub-Directories
I have the following question: I divided a project of QML, in different sub-directories. In doing build, the IDE cannot locate the deployed files, returning the following error: Starting…
-
0
votes1
answer28
viewsHow to convert horizontal menu tab to vertical in QML?
I want to convert a horizontal menu tab to vertical menu tab, wrote the following code: TabView { id: frame anchors.fill: parent anchors.margins: 4 Tab { title: "Tab 1" } Tab { title: "Tab 2" } Tab…
-
0
votes0
answers17
viewsClass Creation to create Json object in QT
Good night! I am studying QT and would like to make a class (.h) to perform a request on a Rest server and create a json object for later query of keys and values. I am developing a program in…