[Interest] color issue in linux target.

2016-05-03 Thread basha mehboob
Hi All, I am using QtQuick 1.0 with Qt 5.5.0. With LinuxFB as Windowing System. I am getting white is showing as yellow and blue is showing as green etc., Images are getting displayed properly. It is problem with Windowing System ? Thanks in Advance. Regards, Basha. __

Re: [Interest] Mapping widgets set using QTableWidget::setCellWidget() back to row, column

2016-05-03 Thread Henry Skoglund
Hi, you can use QSignalMapper to help you keep track of which spinbox got clicked on, example: - for (int r = 0; (r < ui->tableWidget->rowCount()); ++r) for (int c = 0; (c < ui->tableWidget->columnCount()); ++c)

[Interest] Mapping widgets set using QTableWidget::setCellWidget() back to row, column

2016-05-03 Thread Murphy, Sean
Does anyone have any recommendations for the Right Way to map QWidgets that are inside QTableWidget cells - populated with QTableWidget::setCellWidget() - back to the cell index that holds the widget? When populating the table, I'm putting widgets in various cells (QSpinBoxes for example). Base

Re: [Interest] Back button crashes Qt app on Android

2016-05-03 Thread Jason H
Um... that's Java code.  See http://doc.qt.io/qt-5/qtquickcontrols-touch-main-qml.html for a QML Back button mapping using stack view.   Sent: Tuesday, May 03, 2016 at 1:38 PM From: "Nuno Santos" To: "Qt Interest" Subject: Re: [Interest] Back button crashes Qt app on Android It seems that b

Re: [Interest] Compiler optimisation flags on Android

2016-05-03 Thread Nuno Santos
Thiago, Thanks for your explanation. I will try to understand if it is bringing me benefits or not. Regards, Nuno > On 03 May 2016, at 18:18, Thiago Macieira wrote: > > On terça-feira, 3 de maio de 2016 18:14:11 PDT Nuno Santos wrote: >> Because, from my experience with the code compiled f

Re: [Interest] Back button crashes Qt app on Android

2016-05-03 Thread Nuno Santos
It seems that back button by default deletes the activity. It seems that I’m not able to override the back button action and therefore, it is killing my activity. During this delete force, it is crashing the app. Any special remarks in order to override the back button function on a Qt Android

[Interest] ListView/ListModel optimization

2016-05-03 Thread Kevin Mcintyre
Given code like below where JSON data is used to populate a ListModel - I run into loading issues on mobile when the number of objects returned is greater than a couple thousand.s Once the item is rendered it performs as expected, but the time to ready is often beyond user acceptance. Any sugge

Re: [Interest] Compiler optimisation flags on Android

2016-05-03 Thread maitai
Interesting... Besides Android, is it worth considering -O3 for Linux/OS-X/Windows for a heavy-calculation application ? Philippe Lelong Le 03-05-2016 19:18, Thiago Macieira a écrit : On terça-feira, 3 de maio de 2016 18:14:11 PDT Nuno Santos wrote: Because, from my experience with the code co

Re: [Interest] Compiler optimisation flags on Android

2016-05-03 Thread Konstantin Tokarev
03.05.2016, 20:14, "Nuno Santos" : > Because, from my experience with the code compiled for Intel, putting -O3 > made a huge difference on the processing code of my audio app. But the same > might not be valid for arm. That’s why I’m asking. Note that embedded CPUs usually have small caches, s

Re: [Interest] Compiler optimisation flags on Android

2016-05-03 Thread Thiago Macieira
On terça-feira, 3 de maio de 2016 18:14:11 PDT Nuno Santos wrote: > Because, from my experience with the code compiled for Intel, putting -O3 > made a huge difference on the processing code of my audio app. But the same > might not be valid for arm. That’s why I’m asking. -O3 not only enables all

Re: [Interest] Compiler optimisation flags on Android

2016-05-03 Thread Nuno Santos
Because, from my experience with the code compiled for Intel, putting -O3 made a huge difference on the processing code of my audio app. But the same might not be valid for arm. That’s why I’m asking. I’m trying to squeeze the most of the C++ code performance on Android. > On 03 May 2016, at 1

Re: [Interest] Compiler optimisation flags on Android

2016-05-03 Thread Mike Chinander
>From https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html -Os Optimize for size. -Os enables all -O2 optimizations that do not typically increase code size. It also performs further optimizations designed to reduce code size. -Os disables the following optimization flags: -falign-f

Re: [Interest] Compiler optimisation flags on Android

2016-05-03 Thread Thiago Macieira
Em terça-feira, 3 de maio de 2016, às 18:00:07 PDT, Nuno Santos escreveu: > I mean -O2, like the others You didn't answer why you think that it's important to use -O2 instead of -Os. The reason why it's using -Os instead of -O2 was probably because the maintainers of the Android port thought tha

Re: [Interest] kf5 and qt5.6 problems

2016-05-03 Thread Thiago Macieira
Em terça-feira, 3 de maio de 2016, às 18:45:23 PDT, Jerome escreveu: > from my code, #include > goes on /usr/include/deviceinterface.h > > sudo find /usr -name deviceinterface.h -type f > > /usr/include/KF5/Solid/solid/deviceinterface.h > /usr/include/solid/deviceinterface.h > > but why QT5.6 de

Re: [Interest] Compiler optimisation flags on Android

2016-05-03 Thread Nuno Santos
I mean -O2, like the others Nuno Santos Founder / CEO / CTO www.imaginando.pt +351 91 621 69 62 > On 03 May 2016, at 06:27, Thiago Macieira wrote: > > On segunda-feira, 2 de maio de 2016 22:07:03 PDT Nuno Santos wrote: >> Hi, >> >> Below are the CFLAGS for Android >> (Qt/5.6/android_armv7/mksp

Re: [Interest] Building QtCreator (2015)

2016-05-03 Thread Thomas (QbProg)
Dear Kai, thank you. Indeed, I tryed again with the correct syntax and it worked. I missed to explicitly call the nmake install with nmake install INSTALL_ROOT=C:\test and nmake deployqt INSTALL_ROOT=C:\test Now it works. deployartifacts not , but it doesn't matter. BTW, when running: - v4.0.0rc f

Re: [Interest] Qt 5.6.1

2016-05-03 Thread Thiago Macieira
On segunda-feira, 2 de maio de 2016 23:30:21 PDT Philippe wrote: > Where/How can one get an idea about the release date of Qt 5.6.1? > > I know about bugreports.qt.io, but though there are only a few issues left > for several weeks, I hardly see any progress. Please follow the releasing mailing l

Re: [Interest] Compiler optimisation flags on Android

2016-05-03 Thread Thiago Macieira
On segunda-feira, 2 de maio de 2016 22:07:03 PDT Nuno Santos wrote: > Hi, > > Below are the CFLAGS for Android > (Qt/5.6/android_armv7/mkspecs/android-g++/qmake.conf) > > I’m wondering why there are no optimisation settings for arm rather than > size. Is there any specific reason? Why should the

Re: [Interest] Back button crashes Qt app on Android

2016-05-03 Thread Jason H
Nope. WORKSFORME.   Sent: Tuesday, May 03, 2016 at 10:09 AM From: "Nuno Santos" To: "Qt Interest" Subject: [Interest] Back button crashes Qt app on Android Hi,   I have noticed the if I press the back button in a Qt Android app, it crashes.    Does anyone here had the same problem?   Rega

[Interest] Back button crashes Qt app on Android

2016-05-03 Thread Nuno Santos
Hi, I have noticed the if I press the back button in a Qt Android app, it crashes. Does anyone here had the same problem? Regards, Nuno ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Colors issue on Linux Target

2016-05-03 Thread basha mehboob
Hi All, I am using QtQuick 1.0 with Qt 5.5.0. With LinuxFB as Windowing System. I am getting white is showing as yellow and blue is showing as green etc.,If some image is rendered colors are working fine. Same UI is working fine on the Desktop. It is problem Windowing System on target? Thank

Re: [Interest] Building QtCreator (2015)

2016-05-03 Thread Kai Koehne
> -Original Message- > From: Interest [mailto:interest-bounces+kai.koehne=qt...@qt-project.org] > On Behalf Of Thomas (QbProg) > Sent: Tuesday, May 03, 2016 2:08 PM > To: interest@qt-project.org > Subject: [Interest] Building QtCreator (2015) > > Hello, > > I'm trying to build QtCreator

[Interest] Building QtCreator (2015)

2016-05-03 Thread Thomas (QbProg)
Hello, I'm trying to build QtCreator (4.0 branch), using the msvc2015 distribution from the official online installer. https://wiki.qt.io/Building-Qt-Creator-Packages I'm following the instructions so I do from a VS command prompt set path=%path%;C:\Qt\5.6\msvc2015\ set INSTALL_ROOT=C:\test\ qmake

[Interest] kf5 and qt5.6 problems

2016-05-03 Thread Jerome
from my code, #include goes on /usr/include/deviceinterface.h sudo find /usr -name deviceinterface.h -type f /usr/include/KF5/Solid/solid/deviceinterface.h /usr/include/solid/deviceinterface.h but why QT5.6 decide alone to go search this file i never ask for that. Also, what i can do for tell hi

[Interest] qt5 and kf5 direction

2016-05-03 Thread Jérôme Lanteri
from my code, #include goes on /usr/include/deviceinterface.h sudo find /usr -name deviceinterface.h -type f /usr/include/KF5/Solid/solid/deviceinterface.h /usr/include/solid/deviceinterface.h but why QT5.6 decide alone to go search this file i never ask for that. Also, what i can do for tell hi

Re: [Interest] Qt 5.x from git for commercial licensees (Windows)

2016-05-03 Thread Thiago Macieira
Em terça-feira, 3 de maio de 2016, às 09:18:29 PDT, Rainer Wiesenfarth escreveu: > LicenseeWiesenfarth Rainer > License ID.. > Product license.Enterprise Edition > Expiry Date. > > Is this the expected behavior? Sorry, I wouldn't kn

Re: [Interest] Qt 5.x from git for commercial licensees (Windows)

2016-05-03 Thread Rainer Wiesenfarth
Am 02.05.2016 um 18:11 schrieb Thiago Macieira: On segunda-feira, 2 de maio de 2016 11:24:33 PDT Rainer Wiesenfarth wrote: I would simply delete the LICENSE.PREVIEW.COMMERCIAL, but licheck.exe is not available... Hmm... the removal of LICENCE.PREVIEW.COMMERCIAL and addition of the actual comme