Re: [Interest] Qt Maintenance Tool mirror selection

2016-03-19 Thread BOUCARD Olivier
Yes this is pretty frustrating. Le Vendredi 18 mars 2016 11h07, Shantanu Tushar a écrit : On Fri, Mar 18, 2016 at 2:30 PM, BOUCARD Olivier wrote: I did not knew it was existing.Thanks, I'll try this. Le Vendredi 18 mars 2016

Re: [Interest] [OS X] next Qt 5.6.0 question : Freetype (building with -fontconfig)?

2016-03-19 Thread Thiago Macieira
On quinta-feira, 17 de março de 2016 22:13:52 PDT René J. V. Bertin wrote: > René J. V. Bertin wrote: > > Actually, this turns out to be more about Freetype. I'm surprised to see > that qcoretextfontdatabase.mm now does have support for Freetype. What I > don't get is why the corresponding -I

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Curtis Mitch
> -Original Message- > From: Interest [mailto:interest-bounces+mitch.curtis=theqtcompany.com@qt- > project.org] On Behalf Of Giuseppe D'Angelo > Sent: Wednesday, 16 March 2016 3:51 PM > To: interest@qt-project.org > Subject: Re: [Interest] Are slots even needed these days? > > Il

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread André Pönitz
On Thu, Mar 17, 2016 at 08:23:48AM +0300, Constantin Makshin wrote: > Another thing I personally don't like in the new connection syntax is > that it forces signals to be public, making it possible to do all type > of wonders by faking/simulating events on behalf of other objects. > > For

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Till Oliver Knoll
> Am 16.03.2016 um 23:41 schrieb Bob Hood : > >> On 3/16/2016 3:37 PM, André Pönitz wrote: >>> On Wed, Mar 16, 2016 at 02:31:33PM +, Gian Maxera wrote: I can connect to Foo::bar either way. If I don't intend to ever use the old-style connect syntax, is there a

[Interest] Qt3D : Invalid mvp matrix with orthographic camera

2016-03-19 Thread Xavier Bigand
Hi, I have some issue when setting my camera in orthographic mode. I saw with nsight that the mvp uniform that is passed to the vertex shader have all values set to nan, it is the same for the eye uniform of the fragment shader. I am setting the orthographic projection like this :

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Bob Hood
On 3/16/2016 3:37 PM, André Pönitz wrote: On Wed, Mar 16, 2016 at 02:31:33PM +, Gian Maxera wrote: I can connect to Foo::bar either way. If I don't intend to ever use the old-style connect syntax, is there a reason to have "public slots:" anymore? One reason that for me it’s fundamental:

Re: [Interest] bug with # in URL when using setUrl?

2016-03-19 Thread Thiago Macieira
On quinta-feira, 17 de março de 2016 14:28:34 PDT Larry Martell wrote: > > If they are Macs, yes. You can also solve the problem by installing a > > recent version of OpenSSL. > > Rebuilt Qt with -securetransport and it did not fix the problem. Please check that QSslSocket::supportsSsl()

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread André Pönitz
On Wed, Mar 16, 2016 at 02:31:33PM +, Gian Maxera wrote: > > I can connect to Foo::bar either way. If I don't intend to ever use > > the old-style connect syntax, is there a reason to have "public > > slots:" anymore? > > One reason that for me it’s fundamental: Readability of your code !!!

Re: [Interest] Qt3D : Crash after loading few mesh

2016-03-19 Thread Xavier Bigand
I tried to use a QPhongMaterial to test without using textures and I have the same issue. I think that I have to launch a memory debugguer because the output is weird : t erminate called after throwing an instance of ' std::bad_alloc' what(): std::bad_alloc Invalid parameter passed to C

[Interest] Qt 5.6.0 problems

2016-03-19 Thread Tony Rietwyk
Hi Everybody, Using qt-enterprise-windows-x86-msvc2013-5.6.0.exe package coming from 5.5.1: 1) The qmake rule: win32 { # These aren't available in some Windows versions so delay loading them until we can check they are available LIBS += /DELAYLOAD:mfplat.dll LIBS +=

Re: [Interest] load average building QtWebEngine

2016-03-19 Thread Allan Sandfeld Jensen
On Saturday 19 March 2016, René J.V. Bertin wrote: > Hi, > > This seems a bit silly to ask, but I'm seeing extremely high load averages: > 60.74 53.07 41.45 building QtWebEngine (about 8100 files in). That's on a > 2 core, 2 thread i7, with the build started with make -j4 . I'm indeed > seeing

Re: [Interest] Qt Maintenance Tool mirror selection

2016-03-19 Thread Rutledge Shawn
Please write a bug about this if you haven’t yet. On 18 Mar 2016, at 10:36, BOUCARD Olivier > wrote: Yes this is pretty frustrating. Le Vendredi 18 mars 2016 11h07, Shantanu Tushar > a

Re: [Interest] [OS X] Qt 5.6.0 minimal build configuration (error compiling qlatincodec.cpp)

2016-03-19 Thread René J . V . Bertin
Thiago Macieira wrote: > Ok, I'll send the change to remove it. People will not be happy. No, indeed, even I won't be now that I found a workaround that's easier than editing qmake.conf . > That is an answer by itself. The fact that only the src/tools Makefiles are > affected is a red

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread André Pönitz
On Wed, Mar 16, 2016 at 11:02:17PM +, Scott Aron Bloom wrote: > I prefer “slotFoo” and “slotBar” as well as “sigFoo” and “sigBar” > > It really lets the methods stand out as slots and signals.. It also means, > don’t > think “sender()” can ever valid if you are not in a “slotXYZ” function.

Re: [Interest] Qt Maintenance Tool mirror selection

2016-03-19 Thread BOUCARD Olivier
I did not knew it was existing.Thanks, I'll try this. Le Vendredi 18 mars 2016 10h54, Samuel Gaist a écrit : On 18 mars 2016, at 08:57, BOUCARD Olivier wrote: > Hi, > > Is it possible to manually select a mirror and to force the

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Thiago Macieira
On quinta-feira, 17 de março de 2016 08:23:48 PDT Constantin Makshin wrote: > Another thing I personally don't like in the new connection syntax is > that it forces signals to be public, making it possible to do all type > of wonders by faking/simulating events on behalf of other objects. > > For

[Interest] [OS X] next Qt 5.6.0 question : building with -fontconfig?

2016-03-19 Thread René J . V . Bertin
Hi, I'm hitting the next hurdle, potentially another untested thing: I've always configured with -fontconfig. I'm not convinced that option ever had an effect building for Cocoa, but it didn't cause issues either. Now, I'm getting an include failure on ft2build.h compiling

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Sze Howe Koh
On 17 March 2016 at 01:03, charleyb123 . wrote: > On Wed, Mar 16, 2016 at 10:57 AM, Giuseppe D'Angelo > wrote: >> >> Il 16/03/2016 17:24, charleyb123 . ha scritto: >>> >>> Current slot implementation bridges runtime-reflection capabilities >>>

Re: [Interest] [OS X] Qt 5.6.0 minimal build configuration (error compiling qlatincodec.cpp)

2016-03-19 Thread Thiago Macieira
On quinta-feira, 17 de março de 2016 11:38:58 PDT Thiago Macieira wrote: > > - -stdlib=libc++ appear to be missing only from CXXFLAGS in the Makefiles > > under qtbase/src/tools > > Hmm... those are "bootstrapped" tools. But I can't find anything that > overrides QMAKE_CXXFLAGS. Can you confirm

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Bob Hood
On 3/16/2016 5:02 PM, Scott Aron Bloom wrote: I find them both pretty bad L… I have spent too much time, looking at other people’s code trying to figure out “why” it wont connect, only to realize someone had snuck in a “private:” second so moc didn’t generate the slot information. I prefer

[Interest] [OS X] Qt 5.6.0 minimal build configuration (error compiling qlatincodec.cpp)

2016-03-19 Thread René J . V . Bertin
Hi, I'm running into an issue building Qt 5.6.0 on OS X 10.9.5 : gmake[3]: Entering directory '/.../qt5-kde-devel/work/build/qtbase/src/tools/bootstrap' /usr/bin/clang++ -c -O3 -march=native -g -ffunction-sections -O2 -g -fPIC -std=c++11 -isysroot

Re: [Interest] mediaplayer or soundeffect

2016-03-19 Thread Sina Dogru
What about to using loops property? 2016-03-19 20:57 GMT+02:00 Kevin Mcintyre : > added the following conditional MediaPlayer > if ( mediaPlayer.availability == 0 && mediaPlayer.playbackState == 0) { >

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Scott Aron Bloom
-Original Message- From: André Pönitz [mailto:apoen...@t-online.de] Sent: Wednesday, March 16, 2016 4:22 PM To: Scott Aron Bloom Cc: Bob Hood; interest@qt-project.org Subject: Re: [Interest] Are slots even needed these days? On Wed, Mar 16, 2016 at 11:02:17PM +, Scott Aron Bloom

[Interest] QCharts feedback/issues

2016-03-19 Thread Scott Aron Bloom
Where is the best place to give QCharts feedback, or to discuss issues? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] mediaplayer or soundeffect

2016-03-19 Thread Kevin Mcintyre
added the following conditional MediaPlayer if ( mediaPlayer.availability == 0 && mediaPlayer.playbackState == 0) { //only play here/ } On Fri, Mar 18, 2016 at 4:54 PM, Kevin Mcintyre wrote: > Hello - First time posting to QT mailing list so forgive me if this is the > wrong

[Interest] How to change compiler flags of Android compilations?

2016-03-19 Thread Nuno Santos
Hi, I was trying to set new compiler flags for Android compilation but they don’t seem to be reflect during the compilation. I added: QMAKE_CXXFLAGS_RELEASE += -mfloat-abi=softfp -mfpu=neon -O3 -DHAVE_NEON=1 But during the compilation there was this: arm-linux-androideabi-g++ -c -Wno-psabi

Re: [Interest] bug with # in URL when using setUrl?

2016-03-19 Thread Larry Martell
On Thu, Mar 17, 2016 at 11:39 AM, Thiago Macieira wrote: > On quinta-feira, 17 de março de 2016 09:39:44 PDT Larry Martell wrote: >> GET https://code.jquery.com/jquery-2.1.4.min.js SSL handshake failed >> >> A couple of days back Thiago said: >> > Check if you have

[Interest] load average building QtWebEngine

2016-03-19 Thread René J . V . Bertin
Hi, This seems a bit silly to ask, but I'm seeing extremely high load averages: 60.74 53.07 41.45 building QtWebEngine (about 8100 files in). That's on a 2 core, 2 thread i7, with the build started with make -j4 . I'm indeed seeing more than 4 concurrent clang processes and nothing else that

[Interest] QML, Layouts and Dynamic Objects

2016-03-19 Thread Lorne Sturtevant
I am dynamically creating an object which is working fine. I set the parent of the object to a GridLayout. That also works fine. I want to set the Layout's attached properties of my object, but it's not working. Here's a small sample |var component; var button; component =

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Giuseppe D'Angelo
Il 16/03/2016 15:55, Curtis Mitch ha scritto: Perhaps threading, where queued connections are necessary? No, you can use the PMF syntax even with queued connections. Cheers, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (UK) Ltd., a KDAB Group company | Tel:

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Michael Sué
Hi, > is there a reason to have "public slots:" anymore? If you build dialogs in Qt Designer, you will like the function "connectSlotsByName" - called in the generated ui code - to work properly i.e. connect correctly just by the names you give your objects and slots. - Michael.

[Interest] QML Image

2016-03-19 Thread Jani Tykka
Hi, I'm using Qt 5.5.1. When quick2 window renders png-image defined in QML Image element it seems that colors are not rendered exactly as defined in source png-image. This seems to happen on images which have more complicated color fills, like gradients. Is there anything that can be done to

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Alejandro Exojo
El Wednesday 16 March 2016, Alexander Görtz escribió: > Yeah wanted to say the same here, the line to connect to a QSpinBox > valueChanged is really realy ugly. Mostly because of the ugly syntax of > pointers to member functions. A helper function, qOverload, was added to mitigate this (in

Re: [Interest] [OS X] Qt 5.6.0 minimal build configuration (error compiling qlatincodec.cpp)

2016-03-19 Thread Thiago Macieira
On sexta-feira, 18 de março de 2016 11:27:38 PDT René J. V. Bertin wrote: > > Autoconf-based configure scripts override the default settings. > > Another thing I'll take your word on, with the caveat outlined above. I've > a whole collection of wrapper scripts that allow me to build >

[Interest] Qt Maintenance Tool mirror selection

2016-03-19 Thread BOUCARD Olivier
Hi, Is it possible to manually select a mirror and to force the Maintenance Tool to use it?Because I'm in Cyprus which for dumb reason is considered in Asia??? So I'm connected to some mirror in China from where I get 5Kbps download speed.Please also fix this issue, Linux distros are able to

Re: [Interest] [OS X] next Qt 5.6.0 question : Freetype (building with -fontconfig)?

2016-03-19 Thread Till Oliver Knoll
Am 17.03.2016 um 23:21 schrieb René J. V. Bertin : >> ... > > So, does this mean that font rendering can use Freetype instead of CoreText > now, > and thus potentially benefit from the rendering quality provided by the > Infinality patches (as well as better support for

Re: [Interest] How to properly delete qApp?

2016-03-19 Thread Nuno Santos
Nikos, Thanks for your reply. The problems is that host application hangs forever if I don’t delete it and crashes if I delete it. I’m in a kind of dead end. Any ideas? Thanks Nuno > On 16 Mar 2016, at 14:07, Nikos Chantziaras wrote: > > On 16/03/16 14:01, Till Oliver

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Till Oliver Knoll
> Am 16.03.2016 um 22:37 schrieb André Pönitz : > > On Wed, Mar 16, 2016 at 02:31:33PM +, Gian Maxera wrote: >>> I can connect to Foo::bar either way. If I don't intend to ever use >>> the old-style connect syntax, is there a reason to have "public >>> slots:" anymore?

Re: [Interest] QCharts feedback/issues

2016-03-19 Thread Blasche Alexander
>Where is the best place to give QCharts feedback, or to discuss issues? For bugs or suggestions please file them in Jira under the Charts component: https://bugreports.qt.io/browse/QTBUG/component/22022/?selectedTab=com.atlassian.jira.jira-projects-plugin:component-summary-panel Other

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Till Oliver Knoll
> Am 17.03.2016 um 07:39 schrieb André Somers : > > ... > I find that much more readable than having to look in some signals section to > find if there is a notification signal, and then in some slots section to see > if the setter is perhaps declared as a slot or not.

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Alexander Görtz
> Nobody's mentioned the fact that an overridden virtual slot requires an > absolutely horrid cast in order to use the new PMF syntax. > > -John Weeks > > ___ > Interest mailing list > Interest@qt-project.org >

Re: [Interest] How to properly delete qApp?

2016-03-19 Thread Jan Kundrát
On Wednesday, 16 March 2016 15:07:30 CET, Nikos Chantziaras wrote: QApplication app = new QApplication(/* ... */); app->exec(); delete app; There's no point to use heap allocation in this context. You can simply create a QApplication instance on stack in your main. Cheers,

Re: [Interest] bug with # in URL when using setUrl?

2016-03-19 Thread Konstantin Tokarev
17.03.2016, 07:13, "Larry Martell" : > On Wed, Mar 16, 2016 at 12:04 PM, Konstantin Tokarev > wrote: >>  16.03.2016, 18:39, "Larry Martell" : >>>   On Wed, Mar 16, 2016 at 6:29 AM, Konstantin Tokarev >>>

Re: [Interest] How to properly delete qApp?

2016-03-19 Thread Nikos Chantziaras
On 16/03/16 14:01, Till Oliver Knoll wrote: I don't think you're supposed to delete qApp Actually you do need to delete it. Most people don't because after qApp->exec() returns, the program ends anyway. But if you want to have 0 leaks, you need to delete your QApplication instance. Usually

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Scott Aron Bloom
From: Interest [mailto:interest-bounces+scott=towel42@qt-project.org] On Behalf Of Bob Hood Sent: Wednesday, March 16, 2016 3:42 PM To: interest@qt-project.org Subject: Re: [Interest] Are slots even needed these days? On 3/16/2016 3:37 PM, André Pönitz wrote: On Wed, Mar 16, 2016 at

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Yves Bailly
A use case for "old-style" slots is when you have dynamic connections, established at runtime from some config file: you get the names of the signals and the slots as strings. With the old style, your code can be as simple as QObject::connect(foo, signal_name_string, bar, slot_name_string);

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread André Somers
Op 17/03/2016 om 00:46 schreef Bob Hood: On 3/16/2016 5:02 PM, Scott Aron Bloom wrote: I find them both pretty bad L… I have spent too much time, looking at other people’s code trying to figure out “why” it wont connect, only to realize someone had snuck in a “private:” second so moc

Re: [Interest] [OS X] Qt 5.6.0 minimal build configuration (error compiling qlatincodec.cpp)

2016-03-19 Thread René J . V . Bertin
Thiago Macieira wrote: > The proper way of adding options is to modify the mkspec's qmake.conf file qmake.conf or .qmake.conf? >> Checking my build scripts, I can confirm that CFLAGS and CXXFLAGS are set >> *through the environment*, not by any direct action of mine. > > Yeah, not tested. This

Re: [Interest] How to properly delete qApp?

2016-03-19 Thread Till Oliver Knoll
> Am 16.03.2016 um 13:01 schrieb Till Oliver Knoll > : > > > ... > > Oh, and somewhat related: just make double-sure on OS X that your Qt plugin - > specifically all GUI and paint operations - happen in the /main/ thread of > the host application (if that's

Re: [Interest] How to properly delete qApp?

2016-03-19 Thread Till Oliver Knoll
> Am 16.03.2016 um 11:51 schrieb Nuno Santos : > > Hi, > > My application is targeted to run as a software plugin inside another third > party application. When a instance of my plugin is instanciated I check if > qApp exists. If so, I will use that pointer,

Re: [Interest] [OS X] Qt 5.6.0 minimal build configuration (error compiling qlatincodec.cpp)

2016-03-19 Thread Samuel Gaist
On 17 mars 2016, at 16:36, René J.V. Bertin wrote: > Hi, > > I'm running into an issue building Qt 5.6.0 on OS X 10.9.5 : > > gmake[3]: Entering directory > '/.../qt5-kde-devel/work/build/qtbase/src/tools/bootstrap' > /usr/bin/clang++ -c -O3 -march=native -g

Re: [Interest] [OS X] Qt 5.6.0 minimal build configuration (error compiling qlatincodec.cpp)

2016-03-19 Thread René J . V . Bertin
Thiago Macieira wrote: > The hint is in that "-O3 -march=native" in the command-line. The only place > where "-march=native" shows up in the Qt sources is part of ANGLE [*], which > is never compiled on OS X. > > So I conclude that René has overwritten QMAKE_CXXFLAGS. Couple observations: - I

[Interest] Gettings signals to be emitted during keyPressEvent

2016-03-19 Thread Murphy, Sean
In my application, I've got a popup table that pops up when the user presses a key (in this case CTRL), and goes away when the user releases the key. While the table is visible, the user can click on rows to highlight a row. When the user highlights an item, a signal should be emitted from the

Re: [Interest] [OS X] Qt 5.6.0 minimal build configuration (error compiling qlatincodec.cpp)

2016-03-19 Thread René J . V . Bertin
Thiago Macieira wrote: >> No, that's not true. AFAICR there were plenty of other Makefiles that did >> have the option. > > Which ones? The ones that scrolled off my history ;) Seriously, to answer that question I'd have to restart a build without my fix, so are you truly interested to

Re: [Interest] [OS X] next Qt 5.6.0 question : Freetype (building with -fontconfig)?

2016-03-19 Thread René J . V . Bertin
> See https://codereview.qt-project.org/124643. > > That's supposed to fix the issue, but reviewers found problems with it. I > don't know enough about OS X so the change was left in limbo. Thanks, I'll try to test it tomorrow. As I mentioned on the ticket it may be the fix wasn't helping

[Interest] Qt3D : Crash after loading few mesh

2016-03-19 Thread Xavier Bigand
Hi, I have successfully integrated a Qt3D view in our project. I can load few of our models with Qt3D but at a certain moment it make the application crash. When I use Nsight to try to understand the issue, my PC completely freeze and I need reboot, so I suspect a wrong OpenGL command from Qt3D

Re: [Interest] QML Image

2016-03-19 Thread Jani Tykka
Source size was already set as the original image size. When mipmap is set colors seems to be even more distorted. On Wed, Mar 16, 2016 at 10:45 PM, Jason H wrote: > Since you mention gradients, try setting source size or the mipmap > properties. I wonder if you're getting some

Re: [Interest] Qt Maintenance Tool mirror selection

2016-03-19 Thread Samuel Gaist
On 18 mars 2016, at 08:57, BOUCARD Olivier wrote: > Hi, > > Is it possible to manually select a mirror and to force the Maintenance Tool > to use it? > Because I'm in Cyprus which for dumb reason is considered in Asia??? So I'm > connected to some mirror in China

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread charleyb123 .
> Since in modern Qt you connect signals to functions/lambdas, is there a reason to declare slots anymore? Interesting question, I've thought about this also. IMHO, deep consideration is important: "slot": A "slot" is a non-coupling thread-safe execution bridge. It's already been mentioned

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Giuseppe D'Angelo
Il 16/03/2016 15:24, Nikos Chantziaras ha scritto: I can connect to Foo::bar either way. If I don't intend to ever use the old-style connect syntax, is there a reason to have "public slots:" anymore? It's still needed if you want to expose those methods to QML / scripting, use

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread André Pönitz
On Thu, Mar 17, 2016 at 08:35:39AM +0100, Till Oliver Knoll wrote: > > Am 16.03.2016 um 22:37 schrieb André Pönitz : > > > > On Wed, Mar 16, 2016 at 02:31:33PM +, Gian Maxera wrote: > >>> I can connect to Foo::bar either way. If I don't intend to ever > >>> use the

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread John Weeks
Nobody's mentioned the fact that an overridden virtual slot requires an absolutely horrid cast in order to use the new PMF syntax. -John Weeks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] bug with # in URL when using setUrl?

2016-03-19 Thread Konstantin Tokarev
16.03.2016, 18:39, "Larry Martell" : >  On Wed, Mar 16, 2016 at 6:29 AM, Konstantin Tokarev > wrote: >>   16.03.2016, 02:15, "Larry Martell" : >>>   -How can I debug the Angular code? >> >>   QtWebKit has developer tools. You

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Gian Maxera
> On 16 Mar 2016, at 14:24, Nikos Chantziaras wrote: > > Since in modern Qt you connect signals to functions/lambdas, is there a > reason to declare slots anymore? > > In other words, is there any difference between: > > class Foo: public QObject { > Q_OBJECT > >

Re: [Interest] How to properly delete qApp?

2016-03-19 Thread Nikos Chantziaras
I doubt you can get out of this issue. QApplication wants to be in control of the main loop, and it wants to do so from the main thread. Failing that, you'd need to integrate the host application's event loop into Qt's event loop, and still have a way to cal QApplication::exec() on the main

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Henry Skoglund
Hi, I thought I was the only one disliking the PMF syntax. But there's hope, to aid my feeble brain I wrote some macros, so that the new syntax resembles the old, but still catching errors in compile time: #define COMPOSEPMF(QOBJPTR,FUNC) \ ::decay::type::FUNC #define

Re: [Interest] [OS X] Qt 5.6.0 minimal build configuration (error compiling qlatincodec.cpp)

2016-03-19 Thread Thiago Macieira
On quinta-feira, 17 de março de 2016 22:06:09 PDT René J. V. Bertin wrote: > > That is an answer by itself. The fact that only the src/tools Makefiles > > are > > affected is a red herring: you only have those Makefiles to look into. > > No, that's not true. AFAICR there were plenty of other

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Giuseppe D'Angelo
Il 17/03/2016 06:23, Constantin Makshin ha scritto: Another thing I personally don't like in the new connection syntax is that it forces signals to be public, making it possible to do all type of wonders by faking/simulating events on behalf of other objects. For example: QLineEdit* edit = new

[Interest] CFLAGS, CXXFLAGS etc. env. variables, qmake and building Qt

2016-03-19 Thread René J . V . Bertin
Continuing this discussion under a more appropriate topic so others may chime in. >>> Shouldn't be too hard to generate that file using += instead of a simple = ? >> >> It would just as equally break people's expectations. >> Autoconf-based configure scripts override the default settings. > >

Re: [Interest] Qt Maintenance Tool mirror selection

2016-03-19 Thread Shantanu Tushar
On Fri, Mar 18, 2016 at 2:30 PM, BOUCARD Olivier wrote: > I did not knew it was existing. > Thanks, I'll try this. > > > Le Vendredi 18 mars 2016 10h54, Samuel Gaist a > écrit : > > > On 18 mars 2016, at 08:57, BOUCARD Olivier

Re: [Interest] QML Image

2016-03-19 Thread Jani Tykka
Attached original image + comparison. On Thu, Mar 17, 2016 at 4:28 PM, Jason H wrote: > A picture would help > > *Sent:* Thursday, March 17, 2016 at 1:15 AM > *From:* "Jani Tykka" > *To:* "Jason H" > *Cc:* "interest@qt-project.org Interest"

[Interest] User Auth Confirmation on account.qt.io

2016-03-19 Thread Jason H
Just curious why this is always happening to me. I'm not seeing why I need to confirm it every time? I do have multiple qt.io accounts, but I use incognito mode to maintain seperate logins when needed. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] QML Image

2016-03-19 Thread Jason H
A picture would help   Sent: Thursday, March 17, 2016 at 1:15 AM From: "Jani Tykka" To: "Jason H" Cc: "interest@qt-project.org Interest" Subject: Re: [Interest] QML Image Source size was already set as the original image size.

Re: [Interest] [OS X] Qt 5.6.0 minimal build configuration (error compiling qlatincodec.cpp)

2016-03-19 Thread René J . V . Bertin
On Thursday March 17 2016 17:14:45 Samuel Gaist wrote: > Hi, > > Looks like it's not using > > QMAKE_CXXFLAGS+= -stdlib=libc++ > QMAKE_LFLAGS += -stdlib=libc++ > > However, why, I don't know. Good eye, that's it! At least the compile command cited completes OK with that additional

Re: [Interest] How to properly delete qApp?

2016-03-19 Thread Nikos Chantziaras
On 16/03/16 16:12, Jan Kundrát wrote: On Wednesday, 16 March 2016 15:07:30 CET, Nikos Chantziaras wrote: QApplication app = new QApplication(/* ... */); app->exec(); delete app; There's no point to use heap allocation in this context. You can simply create a QApplication

Re: [Interest] Qt Maintenance Tool mirror selection

2016-03-19 Thread BOUCARD Olivier
There is one here https://bugreports.qt.io/browse/QTIFW-441Existing for more than 2 years. Le Vendredi 18 mars 2016 11h39, Rutledge Shawn a écrit : Please write a bug about this if you haven’t yet. On 18 Mar 2016, at 10:36, BOUCARD Olivier

Re: [Interest] QML Image

2016-03-19 Thread Jason H
Since you mention gradients, try setting source size or the mipmap properties. I wonder if you're getting some subsampling issue.     Sent: Wednesday, March 16, 2016 at 8:26 AM From: "Jani Tykka" To: "interest@qt-project.org Interest" Subject: 

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Nikos Chantziaras
On 16/03/16 16:24, Nikos Chantziaras wrote: Since in modern Qt you connect signals to functions/lambdas, is there a reason to declare slots anymore? [...] Good replies here. So, to sum it up, it seems that slot/signal declarations and old-style connect() syntax will continue to have a place

Re: [Interest] [OS X] Qt 5.6.0 minimal build configuration (error compiling qlatincodec.cpp)

2016-03-19 Thread Thiago Macieira
On quinta-feira, 17 de março de 2016 18:38:40 PDT René J. V. Bertin wrote: > Couple observations: > - I am doing nothing different from what I'm doing while building Qt 5.5.1 > - -stdlib=libc++ appear to be missing only from CXXFLAGS in the Makefiles > under qtbase/src/tools Hmm... those are

Re: [Interest] bug with # in URL when using setUrl?

2016-03-19 Thread Larry Martell
On Wed, Mar 16, 2016 at 12:04 PM, Konstantin Tokarev wrote: > > > 16.03.2016, 18:39, "Larry Martell" : >> On Wed, Mar 16, 2016 at 6:29 AM, Konstantin Tokarev >> wrote: >>> 16.03.2016, 02:15, "Larry Martell"