Re: [Interest] [Qt Labs Controls 5.6] Customization recommendations

2016-03-10 Thread Nikita Krupenko
2016-03-10 17:19 GMT+02:00 Ronan Jouchet : >-> That sounds nice for users wanting total control over the complete > style. But suppose instead I'm mostly happy with Material and > only want to *override some attributes*, much like I would do >

Re: [Interest] QML Promises

2016-03-10 Thread Gunnar Roth
Maybe have a look here https://github.com/benlau/quickpromise Regards, Gunnar Roth > Am 10.03.2016 um 23:31 schrieb Jason H : > > Are promises scheduled to come to QML anytime soon? (5.6/5.7)? > > The more code I write in JS, the more

Re: [Interest] Qt undefined reference to `LED::LED(QWidget*)' LED in a custom widget

2016-03-10 Thread Robert Wood
OK, I found this which touches on what I'm trying to do: https://forum.qt.io/topic/30884/can-t-use-custom-widget-error-undefined-reference-to-custom-widget/2 Which says you have to have this kind of thing: LIBS += -Llibled-designer-plugin And I thought, bingo! I don't have that. However,

[Interest] QML Promises

2016-03-10 Thread Jason H
Are promises scheduled to come to QML anytime soon? (5.6/5.7)? The more code I write in JS, the more async things are getting. Anytime I work with XMLHttpRequest or LocalStorage (and worse yet, when I combine them) I get into a call-back hell. ___

Re: [Interest] QT Windows CE Commercial Editions Only?

2016-03-10 Thread Gunnar Roth
Hello, back in the old qt < 4.8 days, there was only commercial edition build able for window ce. that change with 4.8 and above. You can find build instructions and patches (well these patches are complete files which overwrite qt src files) for wec2013 and qt 5.6 beta at

Re: [Interest] QML id property to string?

2016-03-10 Thread Jérôme Godbout
Yeah, that would be a nice addition and help people debug their application. We are using Qml as scripting engine to assemble our application block (behavior, 2D GUI, 3D GUI we are doing rendering to a texture with our own backend engine, we started before Qt3D). We have a lot of Qml Scripts and

Re: [Interest] Building 5.6.0 doesnt generate/copy cmake files for QWebEngine

2016-03-10 Thread Scott Aron Bloom
> > When building, the system creates the QWebEngine libraries, but not > the cmake support files (typically created into lib/cmake) It does so for me. Also, there's lib/cmake/Qt5WebEngine, lib/cmake/Qt5WebEngineCore and lib/cmake/Qt5WebEngineWidgets at least in the Windows RC packages.

Re: [Interest] QML id property to string?

2016-03-10 Thread Jason H
Awesome! Thanks.   But shouldn't this be in QML by default? Seems like it'd be a simple thing to add and use?       Sent: Thursday, March 10, 2016 at 1:10 PM From: "Jérôme Godbout" To: "Jason H" Cc: "Dmitry Volosnykh" ,

Re: [Interest] Pyside - image file with certain file name won't compile via pyside-rcc

2016-03-10 Thread Frank Rueter | OHUfx
Turns out I need to run it.next() first within the while block. I hadn't picked up on that in the docs for QDirIterator. Thanks, frank On 10/03/16 9:06 pm, Frank Rueter | OHUfx wrote: Hi guys, I posted this to the PySide mailing list as well as I'm getting a bit desperate, so to anybody who

Re: [Interest] Building 5.6.0 doesnt generate/copy cmake files for QWebEngine

2016-03-10 Thread Scott Aron Bloom
> > When building, the system creates the QWebEngine libraries, but not > the cmake support files (typically created into lib/cmake) It does so for me. Also, there's lib/cmake/Qt5WebEngine, lib/cmake/Qt5WebEngineCore and lib/cmake/Qt5WebEngineWidgets at least in the Windows RC packages.

Re: [Interest] QT Windows CE Commercial Editions Only?

2016-03-10 Thread Thiago Macieira
On quinta-feira, 10 de março de 2016 15:01:05 PST Bruno Pastore wrote: > Hello, > How can I try QT on a Windows Embedded device? > Only with Commercial Editions licence? The Open Source version also works just fine. But you need to build from source. -- Thiago Macieira - thiago.macieira (AT)

[Interest] Qt undefined reference to `LED::LED(QWidget*)' LED in a custom widget

2016-03-10 Thread Robert Wood
Hi folks, I have downloaded this project: http://www.ics.com/blog/integrating-custom-widget-qt-designer And installed it by running qmake, make, make install (the latter as root) in the directory the source code was copied to. This then put the custom widget in Qt Designer and allowed me

Re: [Interest] QML id property to string?

2016-03-10 Thread Jérôme Godbout
Another useful one: Q_INVOKABLE QString MySingleton::ownership( QObject * object ) const { auto ownership = QQmlEngine::contextForObject(object)->engine() ->objectOwnership(object); switch(ownership) { case QQmlEngine::CppOwnership: return QString("CppOwnership"); case

Re: [Interest] QML id property to string?

2016-03-10 Thread Jérôme Godbout
You can create a C++ method for this, expose it into a C++ singleton to easily access it: Q_INVOKABLE QString MySingleton::idName(QObject * object) const { const auto context = qmlContext(object); return context ? context->nameForObject(object): QString("context not found"); }

Re: [Interest] QML id property to string?

2016-03-10 Thread Jason H
Yes, Ideally what I want: 1. Be able to get object id as string 2. Search the object heirarchy for that string and get that object    Sent: Thursday, March 10, 2016 at 12:14 PM From: "Dmitry Volosnykh" To: "Jason H" , "interest@qt-project.org"

Re: [Interest] QML id property to string?

2016-03-10 Thread Dmitry Volosnykh
I feel the same need frequently, too. Without such feature I have to set objectName by copy-pasting and qouting id. This is quite annoying. On Thu, Mar 10, 2016 at 8:08 PM Jason H wrote: > A few times now, I've wanted to display the id as a string. Usually when > something goes

Re: [Interest] Qt3D face culling

2016-03-10 Thread Sean Harmer
On Thursday 10 Mar 2016 15:13:07 Юрий Дынников wrote: > Hello, I'm trying to use Qt3D (C++) module, and there is one huge problem: > How can I enable displaying any surface (or triangle, to be simple) from > both sides? > > I've read that that's all about face-culling, but I can't find where it

[Interest] QML id property to string?

2016-03-10 Thread Jason H
A few times now, I've wanted to display the id as a string. Usually when something goes wrong on the console, but sometimes in a hash/map. I've got a function that takes an object (QML item) and does some processing on it. Is there a way to get it? I know I can just set a property, but then

[Interest] QT Windows CE Commercial Editions Only?

2016-03-10 Thread Bruno Pastore
Hello, How can I try QT on a Windows Embedded device? Only with Commercial Editions licence? Let me know Thank in advance ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] [Qt Labs Controls 5.6] Customization recommendations

2016-03-10 Thread Ronan Jouchet
Hi. I'm porting a QML 5.5 tablet+desktop app to the new Qt 5.6 Labs Controls. I have some feedback and a few questions. 1. Great job on the simple "2 axis" (theme, accent) customization for the Material/Universal styles, it provides a nice starting point :) And great job on sprucing up

[Interest] Qt3D face culling

2016-03-10 Thread Юрий Дынников
Hello, I'm trying to use Qt3D (C++) module, and there is one huge problem: How can I enable displaying any surface (or triangle, to be simple) from both sides? I've read that that's all about face-culling, but I can't find where it is applied during preparation of scene. I've found QCullFace

Re: [Interest] Qmake: Detecting if QSerialPort is installed

2016-03-10 Thread André Hartmann
Hi Thiago, This looks like the best solution. I already get a message when load() fails*, and I can use it as test expression for conditional compile. Maybe the wiki https://wiki.qt.io/Qt_Serial_Port should be updated, as load() seems the best way to do it. @Kai: QT_CONFIG seems to include

Re: [Interest] MDI Subwindow with border, but no title

2016-03-10 Thread Murphy, Sean
> >>> Is there a way to remove the title bar from an MDI Subwindow, but > retain > >> the resizable border all the way around? I'm trying to get more screen real > >> estate for the subwindow contents, and I don't really have any need for > >> titles. I do however want the user to be able to

Re: [Interest] How to create local mkspec for gcc5 compiler

2016-03-10 Thread Thiago Macieira
On quinta-feira, 10 de março de 2016 12:43:30 PST Roland Winklmeier wrote: > Dear list, > > I'm running on openSUSE Leap which has gcc 4.8.5 as system compiler but > also offers gcc5 as parallel installation. Since I need a gcc version > 4.9 > for certain C++14 features, I'm trying to use gcc5

Re: [Interest] Qmake: Detecting if QSerialPort is installed

2016-03-10 Thread Thiago Macieira
On quinta-feira, 10 de março de 2016 09:10:49 PST André Hartmann wrote: > Hi all, > > I'm working on a library that (optionally) depends on QSerialPort. > > This library should also compile on Qt 4, so I did the following in the > project file: > > greaterThan(QT_MAJOR_VERSION, 4) { >

Re: [Interest] MDI Subwindow with border, but no title

2016-03-10 Thread André Somers
Op 10/03/2016 om 14:25 schreef Murphy, Sean: Is there a way to remove the title bar from an MDI Subwindow, but retain the resizable border all the way around? I'm trying to get more screen real estate for the subwindow contents, and I don't really have any need for titles. I do however want

Re: [Interest] How to create local mkspec for gcc5 compiler

2016-03-10 Thread Julius Bullinger
Hello Roland, one thing I’m doing as a workaround in this situation is changing the default compiler via the alternative system: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 sudo update-alternatives --config gcc From this point

Re: [Interest] MDI Subwindow with border, but no title

2016-03-10 Thread Murphy, Sean
> > Is there a way to remove the title bar from an MDI Subwindow, but retain > the resizable border all the way around? I'm trying to get more screen real > estate for the subwindow contents, and I don't really have any need for > titles. I do however want the user to be able to resize the

Re: [Interest] Qmake: Detecting if QSerialPort is installed

2016-03-10 Thread Koehne Kai
> -Original Message- > From: Interest [mailto:interest- > bounces+kai.koehne=theqtcompany@qt-project.org] On Behalf Of > Koehne Kai > Sent: Thursday, March 10, 2016 1:57 PM > To: André Hartmann ; Interest@qt- > project.org > Subject: Re: [Interest] Qmake:

Re: [Interest] Qmake: Detecting if QSerialPort is installed

2016-03-10 Thread Koehne Kai
> -Original Message- > From: Interest [mailto:interest- > bounces+kai.koehne=theqtcompany@qt-project.org] On Behalf Of > Andre Hartmann > Sent: Thursday, March 10, 2016 9:11 AM > To: Interest@qt-project.org > Subject: [Interest] Qmake: Detecting if QSerialPort is installed > > Hi

[Interest] How to create local mkspec for gcc5 compiler

2016-03-10 Thread Roland Winklmeier
Dear list, I'm running on openSUSE Leap which has gcc 4.8.5 as system compiler but also offers gcc5 as parallel installation. Since I need a gcc version > 4.9 for certain C++14 features, I'm trying to use gcc5 now as build chain. The problem is that all binaries have '-5' as suffix (gcc-5,

Re: [Interest] Building 5.6.0 doesnt generate/copy cmake files for QWebEngine

2016-03-10 Thread Koehne Kai
> -Original Message- > From: Interest [mailto:interest- > bounces+kai.koehne=theqtcompany@qt-project.org] On Behalf Of > Scott Aron Bloom > Sent: Thursday, March 10, 2016 1:17 AM > To: interest@qt-project.org > Subject: [Interest] Building 5.6.0 doesnt generate/copy cmake files for >

[Interest] Qmake: Detecting if QSerialPort is installed

2016-03-10 Thread André Hartmann
Hi all, I'm working on a library that (optionally) depends on QSerialPort. This library should also compile on Qt 4, so I did the following in the project file: greaterThan(QT_MAJOR_VERSION, 4) { QT += serialport } else { CONFIG += serialport } Thats fine so far, but if