Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Browsing all 4972 articles
Browse latest View live

How to display camera preview full screen and maintain aspect raion

Hi, I am used QAbstractVideoSurface for getting the camera buffer. My camera resolution is 640*480. The window is displayed the preview in center part of the screen. How can I change the preview...

View Article


How to display camera preview full screen and maintain aspect ratio

Hi, I am used QAbstractVideoSurface for getting the camera buffer. My camera resolution is 640*480. The window is displayed the preview in center part of the screen. How can I change the preview...

View Article


Creating dynamic QML component with complicated data type failed

Maybe a first step is to make sure you can use Block.qml, ie. that Block{} works.

View Article

How to get network drive uisng QT

How to get Network drives using QT? Thanks

View Article

Deploying Qt Quick 2 application in OpenGL < 2 environment

I’ve developed an application using Qt Quick 2, and ran into some problems deploying it to systems with OpenGL 1.4. Unfortunately, the hardware in those systems can’t support OpenGL 2, and Qt Quick 2...

View Article


How to get network drive uisng QT

I don’t know if Qt has a way of doing that, but this would be a start: QFileInfoList drives = QDir::drives(); but I don’t see anything in QFileInfo to detect if a drive is a network mapped drive, only...

View Article

How to display camera preview full screen and maintain aspect ratio

Hi, Please don’t post the same question twice Closing this one Duplicate [qt-project.org]

View Article

How to get the camera preview buffer using QML Camera class

Can any one help me for achieve how to get the preview buffer from the camera using QML Camera class. Thanks In Advance

View Article


PathView with gesture [QML]

Hello I’m working with QtQuick 2.2, and I have a problem. I want to program a PathView that receive touch events: swipe left/right: the pathview scroll in this direction swipe down: the pathview is...

View Article


Qt 5.2 QML WebView height: contentHeight

I want to have a weview inside a flickable The problem is that we I set height: contentHeight, it triggers a binding loop and result in a height that is much larger. Do you know how to do this? Thank...

View Article

Qt 5.2 QML WebView height: contentHeight

import QtQuick 2.0 import QtWebKit 3.0 &nbsp; Item{ &nbsp; &nbsp; width: 400 &nbsp; &nbsp; height: 300 &nbsp; &nbsp; Flickable { &nbsp; &nbsp; &nbsp; &nbsp;...

View Article

import QtQml.Models 2.1 issue

I recently installed QtCreator 3.1.0 (based on Qt 5.2.1) on Windows 7 and am having issues with the following code snippet which is extracted from a Qt example: import QtQuick 2.0 import QtQml.Models...

View Article

Creating dynamic QML component with complicated data type failed

Also there are other ways of creating dynamic objects, you can create an component like this: Component { &nbsp; id: blockComponent &nbsp; Block {} } in theory that should be the same as var...

View Article


[Solved] Deploying Qt Quick 2 application in OpenGL < 2 environment

Turns out ANGLE works with Windows XP SP2, according to this thread. [qt-project.org] I couldn’t manage to try out MESA though, couldn’t build it.

View Article

import QtQml.Models 2.1 issue

I notice the import statement has optional items that may follow the name of the module. It’s a wild guess but it may be confused by your syntax. You might try putting your import statements on...

View Article


Item property changes defined in multiple places?

I’d like to define a reusable component that is controlled with states. I can set property changes for each state and that works just fine. If I create objects that use my new component is there a way...

View Article

Qt Quick Getting Started Text Editor Error - Please Delete

I think this belongs in the bugtracker but I can’t seem to delete my own post. Will someone with that ability please delete this. Thank you. I’m just working my way through the getting started on QT...

View Article


Auto-indent on wordwrapped lines in TextEdit?

I’m trying to build a simple JS code editor in QML so I can offer my app some runtime scripting that takes advantage of the embedded JS engine in Qt 5+. I am wondering how any of you might solve these...

View Article

Item property changes defined in multiple places?

I’m trying to add additional “PropertyChanges” to existing states. (When the page is shown I’d like to have additional animations triggered). I hoped I could put all the common functions into an...

View Article

QML formatted TextArea tab character

How do I display a tab character in QML TextArea with formatted text? I tried multiple ways but none works: use html &amp;#09; (no tab displayed) use \t (no tab displayed)...

View Article
Browsing all 4972 articles
Browse latest View live