Re: [Interest] How to deploy an app to use Qt Quick 2D Renderer?

2015-10-28 Thread Gian Maxera
For me it simple means that you have to define the environment variable into your operating system. On Mac and Linux you can change the environment variable just using export from the terminal. So, try this if your are on Mac or Linux like OS from terminal: export

Re: [Interest] building Qt 5.5: init-repository seemingly has wrongbranch names

2015-10-28 Thread Jakob Magiera
Sorry, I failed to paste the most important part of git's errormessage: fatal: Remote branch 5.5.1 not found in upstream origin Von: Interest [mailto:interest-boun...@qt-project.org] Im Auftrag von Jakob Magiera Gesendet: Mittwoch, 28. Oktober 2015 12:43 An: Interest@qt-project.org Betreff:

Re: [Interest] Qt 5.5.1 30% slower than Qt 5.5.1

2015-10-28 Thread maitai
Sounds a serious issue... What OS are you speaking about? QML ou Widget-based application? Thanks Philippe Le 24-10-2015 21:21, Bernd Müller a écrit : > Hi there, > > after further testing I'm not sure if its only an graphic issue. Because a > basic QWidget / QPainter test

Re: [Interest] building Qt 5.5: init-repository seemingly has wrongbranch names

2015-10-28 Thread Jakob Magiera
OK, I see it now. Init-repository assumes you checked out a branch and not a tag. So it seems like that part of it (working on a tag) is broken. Von: Interest [mailto:interest-boun...@qt-project.org] Im Auftrag von Jakob Magiera Gesendet: Mittwoch, 28. Oktober 2015 12:48 An:

Re: [Interest] How to deploy an app to use Qt Quick 2D Renderer?

2015-10-28 Thread Gian Maxera
From the documentation, it seems that you just need to setup the environment variable and nothing else is required during build. Did you try ? Ciao, Gianluca. > On 28 Oct 2015, at 11:34, Nuno Santos wrote: > > Hi, > > I have a simple app which in some systems

[Interest] How to set iOS deployment target ?

2015-10-28 Thread Gian Maxera
Hello, I have to set up the minimum deployment target to iOS 7.0 … how can I set up this into .pro ? Ciao, Gianluca. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt iOS without QML?

2015-10-28 Thread Edward Sutton
> QtWS15- Qt on iOS A to Z, Mike Krus, KDAB https://www.youtube.com/watch?v=8A7DPUwIcDg A very watchable KDAB video presentation. I watched the whole thing and learned some new tricks. UIFileSharingEnabled was new to me and I have added it to my app. Thank you. Mike, is the demo source code

Re: [Interest] How to set iOS deployment target ?

2015-10-28 Thread Gian Maxera
OOh … THANKS! but ... why it’s not documented ?? … and why Qt Creator does not recognize as a valid qmake variable ?? > On 28 Oct 2015, at 11:29, Samuel Gaist wrote: > > QMAKE_IOS_DEPLOYMENT_TARGET ___ Interest mailing

[Interest] How to deploy an app to use Qt Quick 2D Renderer?

2015-10-28 Thread Nuno Santos
Hi, I have a simple app which in some systems cannot run due to the lack of OpenGL support. Since the app is an utility, very simple, I don’t need computing power. I think Qt Quick 2D Renderer is great solution for this problem. The question is. What do I need to do in order to deploy the

[Interest] building Qt 5.5: init-repository seemingly has wrong branch names

2015-10-28 Thread Jakob Magiera
Hi everyone, there has been an update in the init-repository Perl script which leads to an error when cloning a submodule. I'm not sure how this can ever have worked, but I'm not a git expert. The script issues the following command git clone --branch 5.5.1 https://code.qt.io/qt/qtbase.git

Re: [Interest] How to deploy an app to use Qt Quick 2D Renderer?

2015-10-28 Thread Nuno Santos
Documentation says: "To use Qt Quick 2D Renderer add the following to your run environment” and not build environment From my understanding this seems to rely on a independent module that needs to be built. Is this valid or Windows and Mac OSX? Nuno > On 28 Oct 2015, at 11:36, Gian Maxera

Re: [Interest] How to deploy an app to use Qt Quick 2D Renderer?

2015-10-28 Thread Nuno Santos
I have just tried on Mac OSX. How can I know the software renderer is actually being used? Nuno > On 28 Oct 2015, at 11:47, Gian Maxera wrote: > > For me it simple means that you have to define the environment variable into > your operating system. > > On Mac and Linux

Re: [Interest] How to set iOS deployment target ?

2015-10-28 Thread Samuel Gaist
On 28 oct. 2015, at 12:26, Gian Maxera wrote: > Hello, > I have to set up the minimum deployment target to iOS 7.0 … how can I set up > this into .pro ? > > Ciao, > Gianluca. > > ___ > Interest mailing list >

[Interest] How to run a custom command after dSYM generation for iOS ?

2015-10-28 Thread Gian Maxera
Hello, I need to do 2 things: 1) setup the iOS compilation to always create dSYM for all configuration. The default is not to generate dSYM. 2) run a custom command after the dSYM has been created. Anyone know how to do that ? Thanks, Gianluca. ___

Re: [Interest] How to set iOS deployment target ?

2015-10-28 Thread Jason H
I've made the same complaint. Here are some bore things you might find helpful: macx { QMAKE_MAC_SDK = macosx10.10 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.10 }  ios { CONFIG += qtquickcompiler QMAKE_INFO_PLIST = ios/Info.plist QTPLUGIN += qsqlite qtsensors_ios

Re: [Interest] How to run a custom command after dSYM generation for iOS ?

2015-10-28 Thread Gian Maxera
I try QMAKE_POST_LINK … but it’s executed just one step before the generation of dSYM :-( So, I need something like QMAKE_POST_POST_LINK :-P > On 28 Oct 2015, at 14:23, Gustavsen Richard > wrote: > > Hi! > > 1. You can do: >

Re: [Interest] How to run a custom command after dSYM generation for iOS ?

2015-10-28 Thread Gustavsen Richard
Hi! 1. You can do: QMAKE_XCODE_DEBUG_INFORMATION_FORMAT = dwarf-with-dsym 2. You can try to use: QMAKE_POST_LINK="" -Richard Fra: Interest på vegne av Gian Maxera Sendt: 28. oktober 2015 13:00 Til:

[Interest] GIT / Downloading previous QtQuickControls commits

2015-10-28 Thread Van Looy Detlev
Hello all, For my master thesis I have created a tool which I now need to validate. The tool requires a project which uses QtQuicktest, I have been using QtQuickControls. I have found http://code.qt.io/cgit/qt/qtquickcontrols.git/ which contains the commit logs for QtQuickControls, but I am

Re: [Interest] GIT / Downloading previous QtQuickControls commits

2015-10-28 Thread Matthew Woehlke
On 2015-10-28 10:40, Van Looy Detlev wrote: > I have found http://code.qt.io/cgit/qt/qtquickcontrols.git/ which > contains the commit logs for QtQuickControls, but I am not sure how > to actually access the code from these commits, is this possible to > do? I am not the most experienced with GIT

Re: [Interest] QMYSQL driver not loaded!

2015-10-28 Thread HPC-TECH
On 10/28/2015 04:43 AM, Hamish Moffatt wrote: On 27/10/15 20:41, HPC-TECH via Interest wrote: On 10/27/2015 11:48 AM, Samuel Gaist wrote: Line 221: It seems you are missing

Re: [Interest] Qt iOS without QML?

2015-10-28 Thread Robert Iakobashvili
It could be interesting to learn if QML resolves all issues with nativeness of Qt on iOS and Android and the only issues remaining are memory over-taken and extra CPU used. Thanks, Regards, Robert On Wed, Oct 28, 2015 at 11:07 AM, Mike Krus wrote: > Hi > > thanks for the

Re: [Interest] QFile::size() and QTextStream::pos()

2015-10-28 Thread Thiago Macieira
On Wednesday 28 October 2015 22:37:06 Igor Mironchik wrote: > Hi, > > Can I expect that values returned by QFile::size() and > QTextStream::pos() are equal when stream at end? It should be, but... > Or pos() of text stream can be smaller then size of file because, for > example, text stream

Re: [Interest] QFile::size() and QTextStream::pos()

2015-10-28 Thread Igor Mironchik
Hi, On 28.10.2015 22:50, Thiago Macieira wrote: On Wednesday 28 October 2015 22:37:06 Igor Mironchik wrote: Hi, Can I expect that values returned by QFile::size() and QTextStream::pos() are equal when stream at end? It should be, but... Or pos() of text stream can be smaller then size of

Re: [Interest] QFile::size() and QTextStream::pos()

2015-10-28 Thread Igor Mironchik
On 28.10.2015 23:56, Thiago Macieira wrote: On Wednesday 28 October 2015 22:57:19 Igor Mironchik wrote: Because of this sentence: Separator_* categories or certain code points from Other_Control category And I don't know how to understand this, especially _* in the sentence... It's a

Re: [Interest] QFile::size() and QTextStream::pos()

2015-10-28 Thread Elvis Stansvik
2015-10-28 20:57 GMT+01:00 Igor Mironchik : > Hi, > > On 28.10.2015 22:50, Thiago Macieira wrote: >> >> On Wednesday 28 October 2015 22:37:06 Igor Mironchik wrote: >>> >>> Hi, >>> >>> Can I expect that values returned by QFile::size() and >>> QTextStream::pos() are equal

Re: [Interest] QFile::size() and QTextStream::pos()

2015-10-28 Thread Thiago Macieira
On Thursday 29 October 2015 00:36:08 Igor Mironchik wrote: > This is good, but what if I need to seek stream to the one character > back position? Can I simple write > > stream.seek( stream.pos() - 1 ); > > or I have to keep in mind codec? If so how can I seek to one character > back position

[Interest] Qt Installer Framework - test if program is running

2015-10-28 Thread Harald Vistnes
Hi! I have an application that is deployed with an online installer (Windows only). Users often try to update using the maintain tool while the application is still running. I want to detect if the application is running and if so abort the installation/update with a user friendly error message.

Re: [Interest] QFile::size() and QTextStream::pos()

2015-10-28 Thread Igor Mironchik
Hi, On 28.10.2015 23:45, Elvis Stansvik wrote: 2015-10-28 20:57 GMT+01:00 Igor Mironchik : Hi, On 28.10.2015 22:50, Thiago Macieira wrote: On Wednesday 28 October 2015 22:37:06 Igor Mironchik wrote: Hi, Can I expect that values returned by QFile::size() and

Re: [Interest] QFile::size() and QTextStream::pos()

2015-10-28 Thread Thiago Macieira
On Thursday 29 October 2015 00:12:14 Igor Mironchik wrote: > Thank you, guys. But this question doesn't matter for me more, because I > need to calculate line number in the file when reading. That mean that I > have to skip white spaces by hand... Why don't you use readLine() instead and keep

Re: [Interest] QFile::size() and QTextStream::pos()

2015-10-28 Thread Igor Mironchik
On 29.10.2015 00:17, Thiago Macieira wrote: On Thursday 29 October 2015 00:12:14 Igor Mironchik wrote: Thank you, guys. But this question doesn't matter for me more, because I need to calculate line number in the file when reading. That mean that I have to skip white spaces by hand... Why

[Interest] Configure arguments for precompiled binaries

2015-10-28 Thread Mike Jackson
We are having some issues with mis-matched OS X deployment targets among a few of our dependent libraries. In order to try to track down the issue we are trying to build our own Qt instead of installing the prebuilt binary from Qt.io of Qt 5.4.2. Is there a wiki page or configuration file that

Re: [Interest] Configure arguments for precompiled binaries

2015-10-28 Thread Thiago Macieira
On Wednesday 28 October 2015 16:17:56 Mike Jackson wrote: > We are having some issues with mis-matched OS X deployment targets among a > few of our dependent libraries. In order to try to track down the issue we > are trying to build our own Qt instead of installing the prebuilt binary > from

Re: [Interest] Qt iOS without QML?

2015-10-28 Thread Mike Krus
Hi thanks for the plug :) PDF of the slides and links to samples are here: http://www.kdab.com/kdab-at-qt-world-summit/ (along with all the other talks given by KDAB people; lots of QML related content you should look at) Mike On 27/10/2015 15:06, Kenji Sugita via Interest wrote: Hello,