Re: [Interest] Solution to Qt 5.5.1 build fails on win7 in qt3d with fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory

2015-11-04 Thread Koehne Kai
> -Original Message- > From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Gunnar > Roth > Sent: Wednesday, November 04, 2015 5:30 PM > To: Gunnar Roth > Cc: qt interest mailinglist > Subject: Re: [Interest] Solution to Qt 5.5.1 build fails on win7 in qt3d with > fatal

Re: [Interest] Qt interfacing to Android native UI ?

2015-11-04 Thread Ben Lau
Not really a solution for wrapping Android UI in Qt app. But I have already developed an image picker with native UI and communication library between Qt and Java/Android. May be it could used as example / core framework. Image Picker https://github.com/benlau/quickandroid/blob/DEV/QuickAndroid/Im

Re: [Interest] Virtual keyboard

2015-11-04 Thread Rainer Keller
Hi, > Is it possible to use Virtual Keybord on a Desktop app? In general it is possible. But it depends on your OS and type of application. Regards Rainer ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/in

Re: [Interest] Why does a single Text item increase start-up time of QML application by 21 seconds?

2015-11-04 Thread Christian Nielsen
I guess you are on to something. But then why does my Qt Widget application start fast enough. Is there a way to make Qt Quick do text like Qt Widgets? From: Gunnar Roth [mailto:gunnar.r...@gmx.de] Sent: Thursday, 5 November 2015 17:15 To: Christian Nielsen Cc: interest@qt-project.org Subject:

Re: [Interest] Qt interfacing to Android native UI ?

2015-11-04 Thread Robert Iakobashvili
Dear Ed, It seems that I have something native for iOS, but not for Android. I was thinking now about another path to take: 1. Common layer - with business app logic; 2. Presentation layer with the below options: 2.1 Qt Desktop layer to cover Win, Mac and Linux; 2.2 iOS-Native; 2.3 Android-Nati

Re: [Interest] Why does a single Text item increase start-up time of QML application by 21 seconds?

2015-11-04 Thread Christian Nielsen
Hi Curtis, The application appears to start "instantly" on my Windows workstation. The issue is only apparent when the application is run on the Windows CE device. Unfortunately we have to use Visual Studio 2008 to compile the application for that device. I am not yet familiar enough with the t

Re: [Interest] Why does a single Text item increase start-up time of QML application by 21 seconds?

2015-11-04 Thread Curtis Mitch
Have you tried using the profiler in Creator? From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Christian Nielsen Sent: Thursday, 5 November 2015 7:52 AM To: interest@qt-project.org Subject: [Interest] Why does a single Text item increase start-up time of QML application by 21

Re: [Interest] Why does a single Text item increase start-up time of QML application by 21 seconds?

2015-11-04 Thread Gunnar Roth
Nice catch. My wild guess is font initialization. Regards, Gunnar Roth > Am 05.11.2015 um 07:52 schrieb Christian Nielsen > : > > > I am thinking that the issue is not the loading of the dlls. Because Widget > application and Qt Quick Rectangle application loads fast enough. > The issue is not

Re: [Interest] New signals and slots syntax with mingw 4.9.2_32 not working

2015-11-04 Thread André Somers
Op 4-11-2015 om 19:05 schreef Oleg Shalnev: Good day, all! Is anybody has problems with new signals and slots with mingw compiler. I am just trying to compile working project to win32 with mingw 4.9.2_32 and have troubles, that solved by turning back to class signal-slot mapping. Please help

[Interest] Why does a single Text item increase start-up time of QML application by 21 seconds?

2015-11-04 Thread Christian Nielsen
Hi, We are struggling with very long start-up time of our application. Some details: Treq M4 screen, 624 MHz ARM Windows CE 6.0 R3 Qt 5.4 shared libraries No OpenGL ES 2 support so using 2D Renderer In order to find the bottleneck we made some simple test applications. Here are the descriptions

[Interest] Twitter OAuth

2015-11-04 Thread jhihn
I believe Twitter updated is sign-in stuff a few months ago. Is there an updated implementation for Qt? I'd like to do it all in QML, but I'm not sure how to handle the user credentials. The examples I found say I have to launch the browser. Is like to provide my own form (in QML) __

Re: [Interest] Can QObject::tr() be used in initialization of static const QString data members? [Qt 5.5.1, Windows]

2015-11-04 Thread Thiago Macieira
On Wednesday 04 November 2015 15:54:41 Phil Weinstein wrote: > QUESTION: Is there a way to force the initialization of QMetaObject data > to avoid this CRASH in Qt5? Even if you could do this, you don't want it. > Our large Qt 4.8 application makes use of *Object::tr()* to initialize > static con

Re: [Interest] Qt interfacing to Android native UI ?

2015-11-04 Thread Sze Howe Koh
On 4 November 2015 at 22:51, Edward Sutton wrote: > > I am having layout or other issues that make the mixed widget / qml not > display well or at all on Android and iOS when Combining Qt Widgets and QML > with QWidget::createWindowContainer() . Hopefully that is something that is > solvable else

[Interest] Can QObject::tr() be used in initialization of static const QString data members? [Qt 5.5.1, Windows]

2015-11-04 Thread Phil Weinstein
QUESTION: Is there a way to force the initialization of QMetaObject data to avoid this CRASH in Qt5? Our large Qt 4.8 application makes use of *Object::tr()* to initialize static const QString data members. *This is crashing in Qt5* due to dereferencing a NULL pointer in a QMetaObject. An ab

[Interest] readlink: not found /tmp/build-drc-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_1-Debug/app_process" failed.Exit code: 1

2015-11-04 Thread Nuno Santos
Hi, I have been experiencing an issue with Android app launching from Qt Creator. I can’t tell exactly when this started. When I run or debug, it installs the app, but fails to launch it. Any ideas? 21:07:39: Pulling files necessary for debugging. 21:07:39: Package deploy: Running command "/Us

Re: [Interest] QWebEngine and MP4

2015-11-04 Thread Jason Dolan
I ran into this a few days ago. I believe the documentation I found said something along the lines of: Proprietary codecs are not included by default for legal reasons. When building Qt, you can set this preference to enable proprietary codecs: WEBENGINE_CONFIG+=proprietary_codecs -- Jason Do

[Interest] QWebEngine and MP4

2015-11-04 Thread Roland Hughes
All, I have a client trying to get MP4 videos to play in an application which is using QWebEngine. I have found a few blurbs which state there is some licensing issue, but have not found a link with instructions on how to make it work. Does one need to build all of Qt from source using some sw

Re: [Interest] Can QML model specify a range including negative numbers? For example -180 to +180 ?

2015-11-04 Thread Jason H
That's how I got started coding as well. :-)   One BIG thing to note is Qt does the heavy lifting for you between JS and C++: If you use properties and signals/slots, it becomes trivial. In your C++ class declare a Q_PROPERTY and use the getters setters.  Q_PROPERTY( name ... ) In your QML clas

[Interest] Virtual keyboard

2015-11-04 Thread Nuno Santos
Hi, Is it possible to use Virtual Keybord on a Desktop app? Thx, Nuno___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Keyboard modifiers don't update in QGraphicsSceneMouseEvents

2015-11-04 Thread Guido Seifert
Hiya, today I found an interesting problem here: http://stackoverflow.com/questions/33501376/unexpected-behaviour-with-qmousemoveevent-and-qkeyevent-modifiers/33528494#33528494 A QGraphicsView sends QWheelEvents. These event are used to scale a QGraphicsScene. Looks like the scaling causes the sc

Re: [Interest] New signals and slots syntax with mingw 4.9.2_32 not working

2015-11-04 Thread Alejandro Exojo
El Wednesday 04 November 2015, Oleg Shalnev escribió: > Good day, all! > > Is anybody has problems with new signals and slots with mingw compiler. > > I am just trying to compile working project to win32 with mingw 4.9.2_32 > and have troubles, > that solved by turning back to class signal-slot m

Re: [Interest] Qt 5.5.x & NVIDIA Tegra Jetson TK1 video performance issue

2015-11-04 Thread Denis Shienkov
Laszlo, thanks for your answer. So, I have another questions: 1. What is "eglfs_kms_egldevice" ? Is it introduced in Qt 5.6 only? What for this option? Is is equal to "eglfs_kms" option? 2. Is it possible to change the Gstreamer's sinks from Qt application? Is it make sense? Because accordin

[Interest] New signals and slots syntax with mingw 4.9.2_32 not working

2015-11-04 Thread Oleg Shalnev
Good day, all! Is anybody has problems with new signals and slots with mingw compiler. I am just trying to compile working project to win32 with mingw 4.9.2_32 and have troubles, that solved by turning back to class signal-slot mapping. Please help me with comments. Thanks a lot. -- Oleg Shal

Re: [Interest] Can QML model specify a range including negative numbers? For example -180 to +180 ?

2015-11-04 Thread Edward Sutton
Thanks guys! This works! File: main.qml import QtQuick 2.2 import QtGraphicalEffects 1.0 import QtQuick.Controls 1.4 import QtQuick.Controls.Styles 1.4 import QtQuick.Dialogs 1.0 import QtQuick.Extras 1.4 import QtQuick.Layouts 1.0 import QtQuick.Window 2.1 Rectangle { id: rectangle

Re: [Interest] Solution to Qt 5.5.1 build fails on win7 in qt3d with fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory

2015-11-04 Thread Gunnar Roth
Hello, reply to myself to tell about the found solution. I am doing a shadow build of qt, this fails. So does the Qt Ci not making shadow builds?   I looked into qtsvg\src\svg\svg.pro And saw: contains(QT_CONFIG, system-zlib) { if(unix|mingw): LIBS_PRIVATE += -lz else:

Re: [Interest] Can QML model specify a range including negative numbers? For example -180 to +180 ?

2015-11-04 Thread Jason H
You can just programmaticaly make a model.   Here is real code to make a list of 1 to 31 days for a date picker: ListModel { id: dayModel } //--- in Component.onCompleted: { for (var i=1; i<32; i++) dayModel.append({value: i, name: ''+i}); //--- }   Sent: Wednesday, November 04, 2

Re: [Interest] Can QML model specify a range including negative numbers? For example -180 to +180 ?

2015-11-04 Thread Daniel França
If it's a sequential model you can: 1. Add the interval number as the model, and subtract the number you want. model: 360 *Then:* model -= 180 2. Create a javascript function to fill it: function makeList(model){ for (var x=-180; x <= 180; x++) { model.append({"value":x}); }}

Re: [Interest] Can QML model specify a range including negative numbers? For example -180 to +180 ?

2015-11-04 Thread Dmitry Volosnykh
You'd better provide your implementation of TumblerColumn component. Despite that fact, and assuming you somehow manage to know what value was chosen, I'd suggest (as a quick attempt) to set model: 361, and the shift values by -181. On Wed, Nov 4, 2015 at 5:53 PM, Edward Sutton wrote: > Is ther

Re: [Interest] Qt interfacing to Android native UI ?

2015-11-04 Thread André Somers
Op 3-11-2015 om 16:12 schreef Edward Sutton: I know I can use native iOS UI by mixing Objective-C++ and C++ in the same *.mm file. I have done a little Android JNI. Are there any examples for interfacing to Android native UI elements? I need to create a UI picker for manually entering GPS la

[Interest] Can QML model specify a range including negative numbers? For example -180 to +180 ?

2015-11-04 Thread Edward Sutton
Is there a way to declare a QML model range from -180 to +180? A method that does not require typing 361 numbers model: [-180, -179, … 0, … 179, 180 ] ? I added a Tumbler to Combining Qt Widgets and QML with QWidget::createWindowContainer()

Re: [Interest] Qt interfacing to Android native UI ?

2015-11-04 Thread Edward Sutton
On Nov 3, 2015, at 5:40 PM, Federico Buti mailto:fed.b...@gmail.com>> wrote: On 3 November 2015 at 23:47, Edward Sutton mailto:edward.sut...@subsite.com>> wrote: On Nov 3, 2015, at 4:24 PM, Federico Buti mailto:fed.b...@gmail.com>> wrote: On 3 November 2015 at 22:30, Edward Sutton mailto

Re: [Interest] Qt 5.5.x & NVIDIA Tegra Jetson TK1 video performance issue

2015-11-04 Thread Agocs Laszlo
* do you have any trics and recommendations how to properly compile Qt on Tegra Jetson TK1 (maybe requires another flags and so on)? What you have should be good enough. Qt 5.6 comes with Jetson Pro support and it looks more or less the same when it comes to the compiler flags: http://code.qt.i