Re: [Interest] Qt 5.8.0 RC build under windows

2017-01-19 Thread Gunnar Roth
>> qtdeclarative\src\plugins\scenegraph\d3d12\Makefile.Debug >> [.obj\debug\qsgd3d12shadereffectnode.obj] Error 2 and it is : >> qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(544) >> : error C2061: syntax error : identifier 'textureProviders' >> >> What is that and why it

Re: [Interest] Shadow Build Question

2017-01-19 Thread Carel Combrink
Just my 2c: Never ignore the warning when building QtCreator from source. I've had numerous issues because of this on windows: https://bugreports.qt.io/browse/QTCREATORBUG-14917 Regards On Fri, Jan 20, 2017 at 4:26 AM, Thiago Macieira wrote: > On sexta-feira, 20 de

Re: [Interest] QThreadPool - global instance or custom one

2017-01-19 Thread Frank Rueter | OHUfx
Great, thanks for the quick reply and confirmation. One more question: Would you create one QThreadPool instance for the entire application or create new instances as you go (from within different modules). Does it matter? Cheers, frank On 20/01/17 3:29 PM, Thiago Macieira wrote: On

Re: [Interest] Doubt extending my app functions ability

2017-01-19 Thread Ernesto
Bob, Thanks to you I achieved my goal, in my last mail about Qt plugins I only had a questions about the diferences of "reinterpret_cas" and "dynamic_cast" which you answered me whit a link of a web page that explain all cast operators of C++. However I will look around your link above and

Re: [Interest] QThreadPool - global instance or custom one

2017-01-19 Thread Thiago Macieira
On sexta-feira, 20 de janeiro de 2017 11:59:31 PST Frank Rueter | OHUfx wrote: > Hi all, > > I have started using QThreadPool for the first time and am wondering if > it's save/recommended to create my own instance of it or to always use > the global instance? The rule I use is that you should

Re: [Interest] Shadow Build Question

2017-01-19 Thread Thiago Macieira
On sexta-feira, 20 de janeiro de 2017 00:44:14 PST Konstantin Shegunov wrote: > If I recall correctly, it's supposedly a limitation of qmake. But, again if > memory serves me, you can safely ignore the warning in most cases (take > this with a grain of salt, however). Indeed. There's a bug

Re: [Interest] Qt 5.8.0 RC build under windows

2017-01-19 Thread Thiago Macieira
On quinta-feira, 19 de janeiro de 2017 15:55:41 PST Jason H wrote: > I really think Qt needs a compile tool (like the Linux kernel has/had (make > menuconfig or xconfig) ) that will also provide telemetry* when a build > fails. I *never* have had Qt "just compile" and these days I'm compiling it >

Re: [Interest] Qt 5.8.0 RC build under windows

2017-01-19 Thread Thiago Macieira
On quinta-feira, 19 de janeiro de 2017 16:54:58 PST Prav wrote: > Hello, Thiago. > > >> And why Qt now needs RTTI? Qt 5.7.0 was building fine without RTTI. What > >> features added to 5.8.0 made RTTI mandatory I wonder? > > > > Someone added a dynamic_cast. That's all. > > OK. Someone added

Re: [Interest] I can´t compile Qt statically (statically link)

2017-01-19 Thread Thiago Macieira
On quinta-feira, 19 de janeiro de 2017 10:17:37 PST Etienne Sandré-Chardonnal wrote: > Hi, > > 5.6.2 is not necessarily the best 5.6 option regarding compiling Qt. There > is at least a regression between 5.6.1 and 5.6.2 which prevents me building > a static Qt with system libpng. > >

Re: [Interest] QThreadPool functionality for QThreads

2017-01-19 Thread Thiago Macieira
On quinta-feira, 19 de janeiro de 2017 07:55:12 PST Elvis Stansvik wrote: > Frank, another threading approach in Qt which we haven't mentioned yet > is QtConcurrent. I use that myself in an application where I had to > load a series of large tomographic volumes using VTK (so blocking > I/O). It

Re: [Interest] QTest + QSignalSpy doesn't seem to work with deferred signals

2017-01-19 Thread Bob Hood
On 1/19/2017 2:29 AM, Viktor Engelmann wrote: QSignalSpy::wait has a race condition though. When the signal is emitted from a different thread, it might come before you called .wait and then the wait will time out and return false (so it looks like the signal wasn't emitted). You can store

Re: [Interest] Doubt extending my app functions ability

2017-01-19 Thread Bob Hood
On 1/12/2017 6:23 AM, Ernesto wrote: Hello to everyone, My name is Ernesto. I am a beginner in Qt programming and I have an specifics problems whit my first big project (desktop app). Let me explain myself: I have to include plugins or add-ons to my application for new file format

[Interest] QThreadPool - global instance or custom one

2017-01-19 Thread Frank Rueter | OHUfx
Hi all, I have started using QThreadPool for the first time and am wondering if it's save/recommended to create my own instance of it or to always use the global instance? I.e. the docs all tend to refer to the global instance but they don't say anything about creating your own. Are there

Re: [Interest] Shadow Build Question

2017-01-19 Thread Konstantin Shegunov
If I recall correctly, it's supposedly a limitation of qmake. But, again if memory serves me, you can safely ignore the warning in most cases (take this with a grain of salt, however). On Thu, Jan 19, 2017 at 7:07 PM, Adrian Jäkel wrote: > When configuring my project for

Re: [Interest] Qt 5.8.0 RC build under windows

2017-01-19 Thread Jason H
How many platforms are you supporting? None of the platform documentation for mobile is up-to-date. I don't need documentation if I have a tool. Just update the tool because the docs never get updated. > Sent: Thursday, January 19, 2017 at 12:28 PM > From: "william.croc...@analog.com"

[Interest] Android networking: Won't connect

2017-01-19 Thread Jason H
I have apps that work, and I remember having solved this problem before, but it escapes me... I am trying to use QML and XMLHttpRequest and the request foes from 1 to 4, which is CONNECTING to DONE. Nothing hits the server. QT += core qml quick network websockets android { DISTFILES

Re: [Interest] Qt 5.8.0 RC build under windows

2017-01-19 Thread william.croc...@analog.com
On 01/19/2017 09:55 AM, Jason H wrote: I really think Qt needs a compile tool I would vote against that as it would be just another layer to be learned and for which something would eventually go wrong. (Kind of like what the aliens did to our space probe in the first Star Trek movie.) I

[Interest] Shadow Build Question

2017-01-19 Thread Adrian Jäkel
When configuring my project for shadow build and setting my build directory to somewhere, i get a warning symbol and message that my build directory has to be on the same level as the source directory. Whats the reasoning behind that? I cannot remember that it ever was a problem to have it

Re: [Interest] Qt 5.8.0 RC build under windows

2017-01-19 Thread Jason H
I really think Qt needs a compile tool (like the Linux kernel has/had (make menuconfig or xconfig) ) that will also provide telemetry* when a build fails. I *never* have had Qt "just compile" and these days I'm compiling it for at least 3 platforms. Heck even a make clean doesn't complete

Re: [Interest] Qt 5.8.0 RC build under windows

2017-01-19 Thread Prav
Hello, Thiago. >> And why Qt now needs RTTI? Qt 5.7.0 was building fine without RTTI. What >> features added to 5.8.0 made RTTI mandatory I wonder? > Someone added a dynamic_cast. That's all. OK. Someone added dynamic_cast somewhere in Qt and whole Qt lost ability to be build without RTTI. And

Re: [Interest] QTest + QSignalSpy doesn't seem to work with deferred signals

2017-01-19 Thread Viktor Engelmann
QSignalSpy::wait has a race condition though. When the signal is emitted from a different thread, it might come before you called .wait and then the wait will time out and return false (so it looks like the signal wasn't emitted). You can store the value of spy.size() and after the wait compare it

Re: [Interest] I can´t compile Qt statically (statically link)

2017-01-19 Thread Etienne Sandré-Chardonnal
Hi, 5.6.2 is not necessarily the best 5.6 option regarding compiling Qt. There is at least a regression between 5.6.1 and 5.6.2 which prevents me building a static Qt with system libpng. https://bugreports.qt.io/browse/QTBUG-57148 It also affects latest 5.7 and 5.8 I'm currently stuck with