[Interest] Using QObject in different thread as the target of Connections

2016-05-10 Thread Elvis Stansvik
Hi all, Setting a QML engine root context property to a QObject instance that has been moved to a different thread and then attempting to connect to one of its signals with Connections on the QML side seems unsupported: QQmlEngine: Illegal attempt to connect to Test(0x22b66c0) that is in a d

Re: [Interest] Qt 5.6 QML on iOS: Crash on start up

2016-05-10 Thread ekke
I'm evaluating Qt for Android and iOS started with Qt 5.6 and now using Qt 5.7 Beta iPhone 6s, iOS 9.3 XCode 7.3.1 compiling and running from Qt Creator works very well yet never used another toolchain Am 11.05.16 um 06:55 schrieb NoRulez: > Hello, > > I compiled my first QML app for iOS. After I

Re: [Interest] Qt 5.6 QML on iOS: Crash on start up

2016-05-10 Thread Nuno Santos
Qt 5.6 works fine on iOS. Don’t know why do you use cmake and not regular QtCreator solution. I would start by starting a new project on QtCreator and see if it has the same behaviour. It works for me! Regards, Nuno > On 11 May 2016, at 05:55, NoRulez wrote: > > Hello, > > I compiled my

[Interest] Qt 5.6 QML on iOS: Crash on start up

2016-05-10 Thread NoRulez
Hello, I compiled my first QML app for iOS. After I copied it to my device and start it, it only flickers for a second and exit with SIGABRT. I doesn't find anything useful in the iPhone logs. I've an iPhone 6s with iOS 9.3 installed. The build machine is 10.11.4 with Xcode 7.3.1 and Qt5.6 for

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread NoRulez
I use the Toolchain file from https://github.com/LaurentGomila/qt-android-cmake?files=1 > Am 10.05.2016 um 11:50 schrieb Gian Maxera : > > I don’t think the problem is on makefile … but on the tool are using. > I want to insist on check if you are using gradle … because I don’t have any > of y

[Interest] localstorage metadata via sqlite_master

2016-05-10 Thread Kevin Mcintyre
I see that sqlite has table information via sqlite_master http://www.sqlite.org/faq.html#q7 Is this table available in Qt localstorage? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Pollution of compilation unit by Windows headers via qt_windows.h include

2016-05-10 Thread Alejandro Exojo
El Wednesday 04 May 2016, Roger Leigh escribió: > I'd basically like to ask if anyone else has encountered issues like > this, and if so: > > - is there any way of avoiding or hiding the includes? > - any other known workarounds or suggestions? > > I'd rather not undef things since my headers mi

Re: [Interest] What's the recommended way to put QObjects in smart pointers?

2016-05-10 Thread Alejandro Exojo
El Thursday 05 May 2016, Nikos Chantziaras escribió: > Well, basically what I want is not having even a single 'new' or > 'delete' anywhere in my code. I already achieved that with all my non-Qt > projects. > > By now, I consider application-level code that uses 'new' or 'delete' as > bogus and

[Interest] Menu causes problems on OS X

2016-05-10 Thread John Weeks
The very simple application posted below (it is a complete runnable example) creates a window that puts up a menu on clicking in the window. If you select "Open File..." it then puts up a QFileDialog to choose a file. Upon returning, the window no longer appears to active. Experience with our re

Re: [Interest] iOS style menubar?

2016-05-10 Thread Jérôme Godbout
The only way I got this working is by doing some ShaderEffect with a custom FragmentShader. That way you can control the alpha for each fragment and make whatever you want. Note, it's not a good idea to have too many of them but for some specific task it should be ok. If you only want to have 2 ro

Re: [Interest] Problems with graphics library auto-detect on Windows

2016-05-10 Thread Thiago Macieira
On terça-feira, 10 de maio de 2016 10:41:52 PDT Michael R Nelson wrote: > Hi all, > > Our app is QML based and uses Qt Quick Controls. We build for Windows, OS X, > iOS, and Android. > > As you know, Qt auto-selects a graphics library at startup (OpenGL, ANGLE, > or Mesa llvmpipe). About 1 in 15

Re: [Interest] Failed to install Qt 5.6.0 on a headless server via install script

2016-05-10 Thread Thiago Macieira
On terça-feira, 10 de maio de 2016 11:44:18 PDT Roland Winklmeier wrote: > Dear List, > > today I was trying to install Qt 5.6.0 on a headless Debian Jessie. I have > ssh access only and no X11 server is running. From what I learned in the > mailing list, this should be possible via scripts. > >

[Interest] iOS style menubar?

2016-05-10 Thread Jason H
I'm looking for a toggle-able mnubar, iOS style. It should be easy enough, except that it is rounded on two corners (left or right edge). Does anyone know how to to just 2 rounded corners or of a complete QML item? ___ Interest mailing list Interest@qt-

[Interest] LocalStorage - WebView - QML

2016-05-10 Thread Malek Khlif
Hi everybody, This is my first participation. How to enable LocalStorage in QML WebView for Android? Regards, ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] qt.labs.controls / QtQuickControls2: ToolBar, Label / Image Colors, tinting...

2016-05-10 Thread ekke
Am 10.05.16 um 16:54 schrieb J-P Nurmi: >> ... > Hi, > > The latest 5.7 branch now has the correct ToolBar foreground color out > of the box, when using one of the pre-defined primary colors. > > -- > J-P Nurmi > great to hear just have implemented a textOnPrimaryColor ;-) will be easy to remove

Re: [Interest] Qt 5.7 - Using File Selectors with Qt Quick Controls 2

2016-05-10 Thread ekke
Am 10.05.16 um 16:46 schrieb J-P Nurmi: > ... > > Hi, > > Notice that you can combine file selectors, for example: > - img.png // the base image must always exist > - +material/img.png // used with the material style, except on ios > - +material/+ios/img.png // used with the material style on ios >

Re: [Interest] QML: Qt.exit() does not trigger Window.onClose()

2016-05-10 Thread Jason H
So there were numerous errors in my email. it's quit(), not exit(). Window.close() exists, but is a function, not a signal handler. I'm still looking for a way to hook into the graceful shutdown of the app - trigger all windows closed, the on close event, then exit. > Sent: Tuesday, May 10, 2

Re: [Interest] qt.labs.controls / QtQuickControls2: ToolBar, Label / Image Colors, tinting...

2016-05-10 Thread J-P Nurmi
On 06 May 2016, at 19:49, ekke mailto:e...@ekkes-corner.org>> wrote: just noticed that in Qt 5.7 there's a new property Material.foreground: http://doc-snapshots.qt.io/qt5-5.7/qtquickcontrols2-material.html#foreground-attached-prop seems this didn't make it into the 5.7 Beta from docs: The defaul

[Interest] Problems with graphics library auto-detect on Windows

2016-05-10 Thread Michael R Nelson
Hi all, Our app is QML based and uses Qt Quick Controls. We build for Windows, OS X, iOS, and Android. As you know, Qt auto-selects a graphics library at startup (OpenGL, ANGLE, or Mesa llvmpipe). About 1 in 15 of our users report our app fails during this auto-detect process on Windows. Most

Re: [Interest] Qt 5.7 - Using File Selectors with Qt Quick Controls 2

2016-05-10 Thread J-P Nurmi
On 08 May 2016, at 14:36, ekke mailto:e...@ekkes-corner.org>> wrote: Am 08.05.16 um 13:50 schrieb Nikita Krupenko: 2016-05-08 13:59 GMT+03:00 ekke mailto:e...@ekkes-corner.org>>: what if (per ex. for a demo app) user can switch between universal and material and using some images specific to uni

[Interest] Event filter not working all the time (filter android default back button action)

2016-05-10 Thread Nuno Santos
Hi, I have the following event filter to filter the default back button Action on a Android app. I’m attaching this filter to the app QWindow. It works, but not all the times! I was wondering why. Does anyone had the need to do something similar and can tell me why it is not working flawless al

Re: [Interest] [Qml][type_id] Same component module have different type

2016-05-10 Thread Jérôme Godbout
I thing I found the culprit, it seem like the component was used into a Qml (qmldir) singleton as QQmlComponent and QQmlEngine.trimComponentCache() that was called to run different application part without relaunch. But still weird that the component got trim when still in used by the Qml Singleto

Re: [Interest] Preferred way to create custom look-and-feel GUI

2016-05-10 Thread Jérôme Godbout
If you are not into an hurry, I would go Qt 5.6 and make sure you get the new way to put style on Items in mind:Qt Quick Controls 2 http://blog.qt.io/blog/2015/11/23/qt-quick-controls-re-engineered-status-update/ It should be part of Qt 5.7 So if you're not into an hurry and can work on the rest o

[Interest] QML: Qt.exit() does not trigger Window.onClose()

2016-05-10 Thread Jason H
I'm using ApplicationWindow and when I call Qt.exit() it just exits. The onClose() event never fires. I think this is a bug as Qt.exit() should close all windows, then exit. Or there should be some GUI-enabled version like Qt.close() or something like that. Thoughts?

Re: [Interest] [Qt3D] Crash when using an empty vertex buffer

2016-05-10 Thread Xavier Bigand
2016-05-10 13:28 GMT+02:00 Sean Harmer : > On Tuesday 10 May 2016 11:27:01 Xavier Bigand wrote: > > I am creating dynamic geometries and at some moment a geometry can be > > empty, that cause a crash. > > > > I think that it would be nice if the renderer was safer and avoid the > draw > > call of

Re: [Interest] [Qt3D] Crash when using an empty vertex buffer

2016-05-10 Thread Sean Harmer
On Tuesday 10 May 2016 11:27:01 Xavier Bigand wrote: > I am creating dynamic geometries and at some moment a geometry can be > empty, that cause a crash. > > I think that it would be nice if the renderer was safer and avoid the draw > call of empty geometries. It's like new and delete that manage

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread Nuno Santos
From what I can see in the compile output window in QtCreator is: 1) QtCreator calls make on the shadow build directory. This will execute the Makefile generated by qmake and compile the C++ code. 2) QtCreator calls "/Users/nsantos/Qt/5.6/android_armv7/bin/androiddeployqt" --input /tmp/build-dr

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread Gian Maxera
I suppose that qmake is generating different Makefiles depending on what is using for build the java part. So, my supposition is: - when you select “ant” as java builder, then Qt Creator generate a Makefile for using “ant” … and this may contain some bugs that doesn’t allow to change the Qt ap

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread Nuno Santos
Who generates the Makefile for C++ code compiling? Is grade involved? My conviction is that grade is only involved in the java related parts. > On 10 May 2016, at 10:50, Gian Maxera wrote: > > I don’t think the problem is on makefile … but on the tool are using. > I want to insist on check if y

Re: [Interest] Failed to install Qt 5.6.0 on a headless server via install script

2016-05-10 Thread Julius Bullinger
As a workaround, you can skip installing Qt Creator via the “--no-force-installations” option. Maybe this will help with the error. Nevertheless, *if* headless installation is officially supported, this should probably not happen and be filed as a bug. Best regards, Julius _

[Interest] Installer framework and translations

2016-05-10 Thread David Heremans
Hello, I'm creating a installer and got the translations working, but this depends on the current system locale when the installer starts. Unfortunately I don't seem to find any info on how to dynamically switch the language of the installer. In effect I want to have the installer start in English

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread Gian Maxera
I don’t think the problem is on makefile … but on the tool are using. I want to insist on check if you are using gradle … because I don’t have any of your problem with default settings of Qt Creator and using gradle. When I create a new project with Qt Creator and I set to use gradle … the app n

[Interest] Failed to install Qt 5.6.0 on a headless server via install script

2016-05-10 Thread Roland Winklmeier
Dear List, today I was trying to install Qt 5.6.0 on a headless Debian Jessie. I have ssh access only and no X11 server is running. From what I learned in the mailing list, this should be possible via scripts. Find attached the script, I was using. It works perfectly fine, until it calls "/Tools/

Re: [Interest] Questions regarding Scene Graph (QSGClipNode, QSGTexture, QSGOpacityNode)

2016-05-10 Thread Gunnar Sletta
1. Both the transform node and the clip node for the child hierarchy is managed internally in the QQuickItem and you don't have access to those. The paint node is just the visual part, hence the name "paint node" :) As you don't have access to the item's clip node, you can't do clipping using t

[Interest] [Qt3D] Crash when using an empty vertex buffer

2016-05-10 Thread Xavier Bigand
I am creating dynamic geometries and at some moment a geometry can be empty, that cause a crash. I think that it would be nice if the renderer was safer and avoid the draw call of empty geometries. It's like new and delete that manage correctly the allocation of 0 bytes. Else I'll have to manage t

Re: [Interest] [Qml][type_id] Same component module have different type

2016-05-10 Thread Mitch Curtis
Can you come up with a minimal example that we can run? From: Interest [mailto:interest-bounces+mitch.curtis=qt...@qt-project.org] On Behalf Of Jérôme Godbout Sent: Monday, 9 May 2016 8:18 PM To: Interests Qt Subject: [Interest] [Qml][type_id] Same component module have different type Hi, I hav

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread NoRulez
I think this too, because I can't override the android-23 nor the QtApp name > Am 10.05.2016 um 10:06 schrieb Nuno Santos : > > I think this problem is on qmake because the Qt Makefile is using android-9 > instead of android-21. I need API 21 for NDK things and not for Java things, > and that m

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread NoRulez
I use ant because I can't get gradle working. Some error with build and test. I don't know the exact message at the moment. > Am 10.05.2016 um 08:26 schrieb Gianluca : > > Please, can you tell us if all these problems appear using “ant” or using > “gradle” ? > (Old Android build was with “ant”

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread Nuno Santos
I think this problem is on qmake because the Qt Makefile is using android-9 instead of android-21. I need API 21 for NDK things and not for Java things, and that must be specified on the Qt Makefile which is generated by qmake. > On 10 May 2016, at 07:38, Gianluca wrote: > > If you use gradle

Re: [Interest] Preferred way to create custom look-and-feel GUI

2016-05-10 Thread André Somers
Op 08/05/2016 om 16:40 schreef Jan Müller: Hello, I was wondering, what is the preferred way to create a GUI with a custom look-and-feel appearance, similar as e.g. QtCreator. I have a modestly large application, using a QWidgets approach and I use 'designer' to create the ui/layout. The