Re: [Interest] New Qt User

2015-04-21 Thread André Somers
Scapegoat Sarthak schreef op 20-4-2015 om 18:58: Hi All, I am interested to write a front end for a few command line applications I have written (in C++). I would like to have a single front end for all the executables and specific parameter inputs for each. I did a very basic mock-up

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Thiago Macieira
On Tuesday 21 April 2015 18:16:57 Nuno Santos wrote: Thiago, Sorry for not having replied to you. I missed your email. Is that 16 MB of heap? Or are you including sharable discardable code pages?” Sorry but I really don’t know what to answer here. I’m just launching a new and empty

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Till Oliver Knoll
Am 21.04.2015 um 19:20 schrieb Till Oliver Knoll till.oliver.kn...@gmail.com: Am 21.04.2015 um 18:06 schrieb Nuno Santos nunosan...@imaginando.pt: Harri, ... With a real device I have also found the REAL problem that was causing the crashes. It was not memory!! Do you mind

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Nuno Santos
Thiago, Thanks for your explanation. Right now I don’t have a clue on how should I correctly measure occupied by one Qt app on iOS environment. I need to dig it out. Thanks, Regards, Nuno On 21 Apr 2015, at 18:30, Thiago Macieira thiago.macie...@intel.com wrote: On Tuesday 21 April

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Nuno Santos
Thiago, Sorry for not having replied to you. I missed your email. Is that 16 MB of heap? Or are you including sharable discardable code pages?” Sorry but I really don’t know what to answer here. I’m just launching a new and empty Qt Quick project on Xcode and looking to the memory usage.

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Till Oliver Knoll
Am 21.04.2015 um 18:06 schrieb Nuno Santos nunosan...@imaginando.pt: Harri, ... With a real device I have also found the REAL problem that was causing the crashes. It was not memory!! Do you mind sharing what it was then? ;) Cheers, Oliver

Re: [Interest] New Qt User

2015-04-21 Thread Shantanu Tushar
If I may suggest, using QtQuick [http://doc.qt.io/qt-5/qtquick-index.html] might make it easier for you to write new GUI apps in Qt. On Mon, Apr 20, 2015 at 10:28 PM, Scapegoat Sarthak scapegoat.sart...@gmail.com wrote: Hi All, I am interested to write a front end for a few command line

Re: [Interest] New Qt User

2015-04-21 Thread Scapegoat Sarthak
@Both: Thanks for your reply. Just for reference, I am using Qt 4.8.6 right now but I am not averse to using Qt 5 if it would make things easier. @Andre: My question is, which Qt class/method can I use to accomplish the basic mock-up GUI I have provided in the shared folder? @Shantanu: I will

Re: [Interest] New Qt User

2015-04-21 Thread Shantanu Tushar
Yes absolutely it can be used for that. I use QtQuick for the GUI for the app at sostronk.com (live screenshot https://scontent-sin.xx.fbcdn.net/hphotos-xfp1/t31.0-8/11080777_396776617163291_4451673383975873883_o.png ). From what I know, QtQuick is the preferred way to do GUI in Qt5. For your

Re: [Interest] New Qt User

2015-04-21 Thread André Somers
Scapegoat Sarthak schreef op 21-4-2015 om 15:00: @Both: Thanks for your reply. Just for reference, I am using Qt 4.8.6 right now but I am not averse to using Qt 5 if it would make things easier. @Andre: My question is, which Qt class/method can I use to accomplish the basic mock-up GUI I

[Interest] Font question

2015-04-21 Thread Harri Pasanen
I'm playing with Text.Fit, trying to see how big a number 0 can be. Text { id: countLabel anchors.fill: parent text: qsTr(0) fontSizeMode: Text.Fit minimumPointSize: 10 font.pointSize: 1000 verticalAlignment: Text.AlignVCenter

Re: [Interest] New Qt User

2015-04-21 Thread Scapegoat Sarthak
Thanks to both!! I will check your suggestions out; they provide an awesome starting point for me.. Best, Sarthak On 21 April 2015 at 09:24, André Somers an...@familiesomers.nl wrote: Scapegoat Sarthak schreef op 21-4-2015 om 15:00: @Both: Thanks for your reply. Just for reference, I am

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Harri Pasanen
I referred to used memory figures. For the same device, real vs. simulated, the simulator shows 2-2.5 times bigger memory consumption, with the sample size of 2 apps I tried with. If you suspect images are what is using the memory, you can limit that by dropping to C++ and using

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Nuno Santos
Hu, if that is true than I'm probably again looking for an unknown issue. The truth is that I don't have an iPad Air so I'm blind. I have already identified some useless memory usages. I found that rectangles and loaders can actually spend a lot of memory. If I can replace them for items

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Robert Iakobashvili
On Tue, Apr 21, 2015 at 3:12 PM, Nuno Santos nunosan...@imaginando.pt wrote: Robert, I could but it is useless. I need qml, the whole app view is written on it. Regards, -- Nuno Santos What I've seen is that all my GUI, rather complex, takes only 8 MB, but it is written all in widgets,

Re: [Interest] Font question

2015-04-21 Thread Harri Pasanen
Thanks, it looks vastly better with Text.NativeRendering. On 21/04/2015 12:11, jen...@gmail.com wrote: It is probably breaking up due to the rather limited resolution of distance field maps. Unfortunately, as far as I know this resolution is currently hardcoded and would require a recompile of

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Nuno Santos
Harri, That doesn’t make sense. Simulator is just displaying the real resolution of the device. In retina case 2048x1536. Why would it display something 2.5 times bigger for no apparent reason. I have an iPad 2 and my app was designed in a 1024x768 base. My tests on a real device were on this

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Nuno Santos
Robert, I could but it is useless. I need qml, the whole app view is written on it. Regards, -- Nuno Santos No dia 21/04/2015, às 12:53, Robert Iakobashvili corobe...@gmail.com escreveu: On Tue, Apr 21, 2015 at 2:43 PM, Nuno Santos nunosan...@imaginando.pt wrote: Harri, That doesn’t

[Interest] building Qt Creator RC1 fails on OS X

2015-04-21 Thread René J . V . Bertin
Hi, I'm trying to build QC RC1 (v3.4.0-rc1-289-g4896bb4) against Qt 5.4.1, and I get the link failure below. Any ideas why, am I missing a component from my Qt build? cd autotoolsprojectmanager/ ( test -e Makefile || /opt/local/libexec/qt5/bin/qmake

[Interest] Qt Installer Framework - Maintenance Tool - Updates only

2015-04-21 Thread Juan Navarro
Hi, is it possible to limit the default workflow of QtIFW Maintenance Tool in order to only allow updates? Given a setup in which some software will always be installed, I am looking to add an online/offline updating system, but nothing more than that. This means that the Maintenance Tool which

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Nuno Santos
Harri, My apologizes. You are completely right. Simulator reports much more memory than a really device. I have managed to find an iPad Air and I could see that the memory usage is not like I was seeing in simulator. I was in panic this morning. With a real device I have also found the REAL

Re: [Interest] Unknown crashes with Qt, iOS and iPad Air

2015-04-21 Thread Nuno Santos
Hi there, I have finally found the problem to this weird crashes. They were only happening in 64bit devices like iPad Air because their are probably faster. The problem as very subtil and did not occurred on iPad 2. See the commented line below: -

Re: [Interest] New Qt User

2015-04-21 Thread Nishant Parashar
I think you should go through the basic qt tutorials in documentation. This is just a bit too newbie question to be asked here On 21-Apr-2015 6:57 pm, Scapegoat Sarthak scapegoat.sart...@gmail.com wrote: Thanks to both!! I will check your suggestions out; they provide an awesome starting point

[Interest] QtSql database insertion issues...

2015-04-21 Thread BRM
I've been out of the Qt loop for a little bit; but I'm working to bring myself back up to speed.I'm presently working on a small project that is basically a GUI equivalent of md5sum/sha1sum where I'm attempting to store the data in a SQLite Database during run-time. I've already done a

Re: [Interest] QtSql database insertion issues...

2015-04-21 Thread Tony Rietwyk
Hi Ben, Does the prepare work? I assume the database must be open, or you would get a different message. Hope that helps, Tony From: interest-bounces+tony=rightsoft.com...@qt-project.org [mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] On Behalf Of BRM

Re: [Interest] QtSql database insertion issues...

2015-04-21 Thread BRM
The prepare(...) does seem to work. One thing that really confuses me is that even though I use the named bindings, it always lists the bindings as '?' in the error messages. Ben On Tuesday, April 21, 2015 11:20 PM, Tony Rietwyk t...@rightsoft.com.au wrote: #yiv1136875381

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Tomasz Siekierda
On 21 April 2015 at 13:43, Nuno Santos nunosan...@imaginando.pt wrote: Harri, That doesn’t make sense. Simulator is just displaying the real resolution of the device. In retina case 2048x1536. Why would it display something 2.5 times bigger for no apparent reason. I think Harri meant 2.5

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Robert Iakobashvili
On Tue, Apr 21, 2015 at 2:43 PM, Nuno Santos nunosan...@imaginando.pt wrote: Harri, That doesn’t make sense. Simulator is just displaying the real resolution of the device. In retina case 2048x1536. Why would it display something 2.5 times bigger for no apparent reason. I have an iPad 2 and

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Harri Pasanen
On 21/04/2015 10:38, Nuno Santos wrote: I have been comparing the memory usage by an empty iOS and an empty Qt project on iOS running on an iPad Air. It seems that this is not comparable. Please take a look to the following image. The iOS native project uses 16Mb of memory, while the Qt

Re: [Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

2015-04-21 Thread Thiago Macieira
On Tuesday 21 April 2015 09:38:19 Nuno Santos wrote: I have been comparing the memory usage by an empty iOS and an empty Qt project on iOS running on an iPad Air. It seems that this is not comparable. Please take a look to the following image. The iOS native project uses 16Mb of memory, while