Re: [Interest] New CI for Qt (and OpenSource Qt/QtC 3rd parties)

2015-12-15 Thread Fathi Boudra
On Tue, Dec 15, 2015 at 4:27 PM, Bo Thorsen wrote: > Den 11-12-2015 kl. 09:16 skrev Sarajärvi Tony: >> >> > I cannot find any reference to "Coin CI". Is this an open >> source or commercial tool? A Qt internal tool? >> >> Internal tool created from nothing. Sources aren't public as of ye

Re: [Interest] functioning link to 5.4.2 source tar?

2015-12-15 Thread Samuel Gaist
On 15 déc. 2015, at 14:31, Roland Hughes wrote: > All, > > Is there still a functioning link to a 5.4.2 source tar out there? Other than > cloning from Git I mean. If possible I would like to remain at 5.4.2 to fix > one little thing which requires me to build qt from source for MP4 support. I

Re: [Interest] How prevent "Code will never be executed" when compiling "qDebug() << enumvar" ?

2015-12-15 Thread Thiago Macieira
On Tuesday 15 December 2015 13:31:40 Edward Sutton wrote: > >We have not seen this warning. What version of Xcode is this warning > >showing > up on? > > Xcode 7.2. I don't know what any of those switches do, so I will answer in the generic: 1) if the warning is emitted by -Wall -Wextra, we'll d

[Interest] Qt iOS & 3D Touch

2015-12-15 Thread Nuno Santos
Hi, Is support for iOS 3D touch planned for Qt 5.6? Nuno Santos Founder / CEO / CTO www.imaginando.pt +351 91 621 69 62 ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Unable to determine callable overload.

2015-12-15 Thread Jason H
Whenever I give a default parameter value in C++ (where the bool=true below) I get this error: Error: Unable to determine callable overload. Candidates are: hashFile(QCryptographicHash::Algorithm,QString) hashFile(QCryptographicHash::Algorithm,QString,bool) Removing the default value re

Re: [Interest] Unable to determine callable overload.

2015-12-15 Thread Jérôme Godbout
if you provide: hashFile(QCryptographicHash::Algorithm,QString,bool=true) you must delete the hashFile(QCryptographicHash::Algorithm,QString) since the follwoing call will be confused and could be either method: hashFile(myAlgo, "my string"); handle the default case into the default value for wi

Re: [Interest] Fonts and Qt5

2015-12-15 Thread Duane
On 15/12/2015 9:16 AM, Duane wrote: On 15/12/2015 4:30 AM, Thiago Macieira wrote: On Monday 14 December 2015 23:56:30 Frank Mertens wrote: 2 ideas, here: * call QGuiApplication::setFont() in your main() * use qtconfig to setup Qt5 defaults There's no qtconfig for Qt 5. Recommendation:

Re: [Interest] Qt3D offscreen rendering

2015-12-15 Thread Harald Vistnes
I've been trying to adjust the code in scene3ditem.cpp. But I am having some problems. The first parts of my code QSurfaceFormat format; format.setVersion(4, 3); format.setProfile(QSurfaceFormat::CoreProfile); format.setDepthBufferSize( 24 ); format.setSamples( 4 ); fo

Re: [Interest] How prevent "Code will never be executed" when compiling "qDebug() << enumvar" ?

2015-12-15 Thread Koehne Kai
> -Original Message- > From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of > Edward Sutton > Sent: Monday, December 14, 2015 10:45 PM > To: Qt Interest > Subject: [Interest] How prevent "Code will never be executed" when > compiling "qDebug() << enumvar" ? > > #ifdef QT_D

Re: [Interest] New CI for Qt (and OpenSource Qt/QtC 3rd parties)

2015-12-15 Thread Bo Thorsen
Den 11-12-2015 kl. 09:16 skrev Sarajärvi Tony: > I cannot find any reference to "Coin CI". Is this an open source or commercial tool? A Qt internal tool? Internal tool created from nothing. Sources aren't public as of yet anyway I'd like to see that done. I'm also interested in hear

Re: [Interest] Fonts and Qt5

2015-12-15 Thread Duane
On 15/12/2015 4:30 AM, Thiago Macieira wrote: On Monday 14 December 2015 23:56:30 Frank Mertens wrote: 2 ideas, here: * call QGuiApplication::setFont() in your main() * use qtconfig to setup Qt5 defaults There's no qtconfig for Qt 5. Recommendation: don't do anything. Qt is supposed to

Re: [Interest] How prevent "Code will never be executed" when compiling "qDebug() << enumvar" ?

2015-12-15 Thread Edward Sutton
This hides the unreachable code warning from the compiler. Although almost as ugly as hiding it by wrapping inside "#ifdef QT_DEBUG” QString enumValue; QDebug(&enumValue) << this->d_ptr->trackerFileSend.state(); qDebug("%s", enumValue.toLatin1().data()); -Ed On Dec

[Interest] functioning link to 5.4.2 source tar?

2015-12-15 Thread Roland Hughes
All, Is there still a functioning link to a 5.4.2 source tar out there? Other than cloning from Git I mean. If possible I would like to remain at 5.4.2 to fix one little thing which requires me to build qt from source for MP4 support. I could move to 5.5.1, but...requires changing a lot of ex

Re: [Interest] How prevent "Code will never be executed" when compiling "qDebug() << enumvar" ?

2015-12-15 Thread Edward Sutton
On Dec 15, 2015, at 3:31 AM, Thiago Macieira mailto:thiago.macie...@intel.com>> wrote: On Monday 14 December 2015 21:44:47 Edward Sutton wrote: #ifdef QT_DEBUG // Fix iOS Clang warning "Code will never be executed" qDebug() << "TapAndHoldGesture: " << tapAndHold->state(); #endif >We have not

[Interest] Qt/QML fullscreen app not visible through Teamviewer on Windows

2015-12-15 Thread Cornelius Hald
Hi! I've got a Qt/QML app running in fullscreen. Unfortunately I've noticed that the app is not visible through Teamviewer which I'd like to use for remote access. This issue does only occurs if the app runs on Windows. On Linux everything is fine. Through Teamviewer I can see the target desktop

Re: [Interest] Efficient QString construction

2015-12-15 Thread Thiago Macieira
On Tuesday 15 December 2015 10:02:09 Julius Bullinger wrote: > Hello, > > What is the currently recommended way to concatenate several QStrings and/or > string literals? Take this code as an example: Using the fast operator +. DEFINES += QT_USE_FAST_OPERATOR_PLUS > QString basename = QFileInfo(

Re: [Interest] Efficient QString construction

2015-12-15 Thread Nye
Hello, I don't know about the "most efficient", but always have found the following approach the most readable and easy to manage: QString thumbPath = QStringLiteral("%1/thumb_%2.jpg").arg(getProjectDir()).arg(basename); Kind regards. On Tue, Dec 15, 2015 at 12:02 PM, Julius Bullinger < julius.bu

Re: [Interest] [Qt3D] QAxisActionHandler axis value bounds

2015-12-15 Thread Nye
Hello, I think I get it now. Thanks! On Mon, Dec 14, 2015 at 5:50 PM, Sean Harmer wrote: > Hi, > > On Monday 14 Dec 2015 17:36:55 Nye wrote: > > Hello Sean, > > Thanks, that mostly clears things up. Only one additional question: > > How are they normalized, to the window/opengl surface size that

[Interest] Efficient QString construction

2015-12-15 Thread Julius Bullinger
Hello, What is the currently recommended way to concatenate several QStrings and/or string literals? Take this code as an example: QImage img; QString getProjectDir(); // ... QString basename = QFileInfo(imgPath).baseName(); QString thumbPath = getProjectDir() + "/thumb_" + basename + ".j

Re: [Interest] How prevent "Code will never be executed" when compiling "qDebug() << enumvar" ?

2015-12-15 Thread Thiago Macieira
On Monday 14 December 2015 21:44:47 Edward Sutton wrote: > #ifdef QT_DEBUG // Fix iOS Clang warning "Code will never be executed" > > qDebug() << "TapAndHoldGesture: " << tapAndHold->state(); > > #endif We have not seen this warning. What version of Xcode is this warning showing up on? -- Thi

Re: [Interest] Fonts and Qt5

2015-12-15 Thread Thiago Macieira
On Monday 14 December 2015 23:56:30 Frank Mertens wrote: > 2 ideas, here: > * call QGuiApplication::setFont() in your main() > * use qtconfig to setup Qt5 defaults There's no qtconfig for Qt 5. Recommendation: don't do anything. Qt is supposed to select the best font for you based on system

Re: [Interest] Fonts and Qt5

2015-12-15 Thread Thiago Macieira
On Monday 14 December 2015 10:18:52 Duane wrote: > One thing that I notice is that for my Linux build, if I check the font > family using QApplciation::font(), on Qt4 I get DejaVu which exists on > my system and the point size is 12. With Qt5 this returns "Sans Serif" > which doesn't exist and the

Re: [Interest] QWebSocket flow control?

2015-12-15 Thread Thiago Macieira
On Monday 14 December 2015 16:54:53 Nesuan Taiso wrote: > How can I determine the amount of queued (unsent) data in a QWebSocket? > > Why do I want to know this? Well for example, let's say I'm trying to > send real-time video over websocket. Then you're doing it wrong. If you want to send real-t