[Interest] Managing phone and tablet versions of the same application

2015-05-26 Thread Imaginando
Hi, I got to the point in which I need to have two different styles depending on the running device: phone or tablet. What is the best way to handle this? I’m doing it in a way that doesn’t seem the cleanest approach: First, on my main Qml file I calculate the screen size and a scaling factor

[Interest] Is it possible to simulate a bluetooth low energy device on mac or linux with Qt 5.5 Beta ?

2015-05-26 Thread Moon
Hi, to get familiar with the bluetooth libary of qt 5.5 beta on mac and linux i would like to implement a bluetooth low energy device and controller on those patforms. As far as i've understood, controller application are available in the examples but no device simulations. Does that make sense

[Interest] Random problems with QSettings on Android

2015-05-26 Thread Imaginando
Hi, Does anyone here had problems with QSettings persistence on Android device? I’m having random and occasional reports from users on Android telling me that settings don’t persist. Thanks, Regards, Nuno ___ Interest mailing list Interest@qt-proje

[Interest] App crashing in ig4icd32.dll (Intel HD Graphics 3000)

2015-05-26 Thread Imaginando Lda
Hi, As anyone here had problems with QML apps on Intel Graphic Cards on windows? I have a user saying that the app crashes when launching (however he was able to start the app a couple of times without any kind of problem). The crash occurs on ig4icd32.dll and he says there is no Windows Updat

Re: [Interest] Error when compiling Qt 5.5.0 beta for Max OS X 10.8

2015-05-26 Thread Tim Blechmann
> 5.5 Beta does support 10.8, at least CI still covers it. > > The issue must be related with "-platform macx-clang-32", that's > unsupported for a while. i'd bet, something is wrong with the CI then, as i have been building 64bit binaries. fwiw, i'm aware of 3 issues: * https://codereview.qt-p

Re: [Interest] QEvent problem

2015-05-26 Thread Berkay Elbir
Yeah. I think that is the reason. I have multiple widgets and some widgets are created in another widget. So I need to arrange these shortcuts with event filter or something like that I do not know yet. Thanks for replies. On Tue, May 26, 2015 at 8:14 PM, Matthew Woehlke < mw_tr...@users.sourcefor

Re: [Interest] Qt 5.4 and java (not Android)

2015-05-26 Thread Jean-Michaël Celerier
There is a repository on the web where different GUI toolkits are compared; Small examples for Qt5 are present. https://github.com/eugenkiss/7guis Best, Jean-Michaël --- Jean-Michaël Celerier http://www.jcelerier.name On Fri, May 22, 2015 at 9:23 AM, MONDON Daniel wrote: > Hi, > > Thank

Re: [Interest] MJPEG for HD video (was: libjpeg vs. libjpeg-turbo/mozjpeg)

2015-05-26 Thread René J . V . Bertin
On Tuesday May 26 2015 13:02:19 Matthew Woehlke wrote: > - Seeking is easy; displaying a particular frame does not need knowledge > of any other frames (unlike with other "traditional" video codecs). And you can play backwards without extra cost, which also means that scrolling through footage i

Re: [Interest] QtQuickControls tests

2015-05-26 Thread Shantanu Tushar
Well you are not really loading anything from the network so it might not make sense; but I've seen the " cannot resolve SSLv2_client_method" error when the OpenSSL libraries were missing on the system. On Tue, May 26, 2015 at 6:09 PM, Van Looy Detlev < detlev.vanl...@student.uantwerpen.be> wrote:

Re: [Interest] libjpeg vs. libjpeg-turbo/mozjpeg

2015-05-26 Thread René J . V . Bertin
On Tuesday May 26 2015 18:56:35 Konstantin Tokarev wrote: > > and write frames. We ran into problems with HD video; it worked fine on > > Linux, but had serious issues on Windows. After tracking it down to the > > time spent reading/writing the frames, we realized that on Windows, Qt MJPEG might

Re: [Interest] Let's talk about the upcoming Camera breakage in 5.4.2

2015-05-26 Thread Ben Lau
When a project is going too big, changing will become difficult. It is impossible to accept every suggestion/patch, it will just break the ecosystem. I think all of us should understand the problem. So should we think in another way, can it move some library, which is non-core, out of qt.io? Those

Re: [Interest] Let's talk about the upcoming Camera breakage in 5.4.2

2015-05-26 Thread Jason H
Have between this and earlier replies, have we made a case for keeping camera capture as it is in 5.4.1? How do we get this pushed through? How do we do this with the Qt Governance Model which states: as a goal, "Put decision power in the hands of the community, i.e. the people who contribute to

Re: [Interest] Managing phone and tablet versions of the same application

2015-05-26 Thread Jason H
  I created a function to handle per-fixel scaling.  This works in the few areas that I need a fixed-pixel size element (i.e. borders). Everything else is laid out in proportion via percentages (i.e parent.width *0.33) If you need more than that, there is a file selector prefix you can use qith Q

Re: [Interest] QEvent problem

2015-05-26 Thread Matthew Woehlke
On 2015-05-26 09:10, Berkay Elbir wrote: > I want to mention an issue that I have faced. I have an event filter of a > widget and when I press "Delete" button, event types coming to event Filter > changes. > > [...] when I press "Delete" button, it sometimes [has the event type] > KeyRelease inste

[Interest] MJPEG for HD video (was: libjpeg vs. libjpeg-turbo/mozjpeg)

2015-05-26 Thread Matthew Woehlke
On 2015-05-26 11:56, Konstantin Tokarev wrote: > FWIW, MJPEG is by far not the best codec choice for HD video. That depends on how you quantify "best". It's certainly not the best compression ratio, but it has significant advantages. First, it's stupid easy to implement, given the ability to save

Re: [Interest] libjpeg vs. libjpeg-turbo/mozjpeg

2015-05-26 Thread Konstantin Tokarev
26.05.2015, 18:47, "Matthew Woehlke" : > On 2015-05-23 13:50, René J.V. Bertin wrote: >>  On Saturday May 23 2015 19:06:47 Allan Sandfeld Jensen wrote: >>>  The bug for replacing lbjpeg with libjpeg-turbo is >>>  https://bugreports.qt.io/browse/QTBUG-40091 - Feel free to take it over :) >>  Funny

Re: [Interest] libjpeg vs. libjpeg-turbo/mozjpeg

2015-05-26 Thread Matthew Woehlke
On 2015-05-23 13:50, René J.V. Bertin wrote: > On Saturday May 23 2015 19:06:47 Allan Sandfeld Jensen wrote: >> The bug for replacing lbjpeg with libjpeg-turbo is >> https://bugreports.qt.io/browse/QTBUG-40091 - Feel free to take it over :) > > Funny how that focuses on a performance difference w

[Interest] Managing phone and tablet versions of the same application

2015-05-26 Thread Nuno Santos
Hi, I got to the point in which I need to have two different styles depending on the running device: phone or tablet. What is the best way to handle this? I’m doing it in a way that doesn’t seem the cleanest approach: First, on my main Qml file I calculate the screen size and a scaling factor

Re: [Interest] Sorting QSortFilterProxyModel with QML

2015-05-26 Thread Richard Öhlinger
You may wanna look at this: https://blog.qt.io/blog/2014/04/16/qt-weekly-6-sorting-and-filtering-a-tableview/ You could extend it with lambdas by adding QJSValue typed property sortFunction and overriding filterAcceptsRow and then call QJSValue::call on the sortFunction. Richard On 05/26/201

Re: [Interest] Sorting QSortFilterProxyModel with QML

2015-05-26 Thread Mark Gaiser
On Tue, May 26, 2015 at 12:35 PM, André Somers wrote: > I ended up writing my own class that I export to QML for this. It > subclasses QSortFilterProxyModel and exposes a nice QML-friendly API for > doing filtering and sorting. > That sounds interesting! Could you share that somewhere (preferabl

Re: [Interest] Random problems with QSettings on Android

2015-05-26 Thread Nuno Santos
5.4 since it got out (more than two months?) Nuno Santos Founder / CEO / CTO www.imaginando.pt +351 91 621 69 62 > On 26 May 2015, at 14:41, Alejandro Exojo wrote: > > El Tuesday 26 May 2015, Nuno Santos escribió: >> Does anyone here had problems with QSettings persistence on Android device? >>

Re: [Interest] Random problems with QSettings on Android

2015-05-26 Thread Alejandro Exojo
El Tuesday 26 May 2015, Nuno Santos escribió: > Does anyone here had problems with QSettings persistence on Android device? > > I’m having random and occasional reports from users on Android telling me > that settings don’t persist. There was a data loss bug in QSettings that was fixed in 5.4: h

[Interest] QEvent problem

2015-05-26 Thread Berkay Elbir
Hello all, I want to mention an issue that I have faced. I have an event filter of a widget and when I press "Delete" button, event types coming to event Filter changes. bool eventFilter(QObject *o, QEvent *e){ switch(e->type()){ case QEvent::MouseButtonPress: case QEvent::MouseMove: case QEvent

Re: [Interest] debugging: how to get meaningful QObject information in a command line session

2015-05-26 Thread René J . V . Bertin
On Tuesday May 26 2015 13:34:26 Andreas Pakulat wrote: Hi Andreas, >QObject. QString does not subclass QString and hence you cannot call those >functions on a QString. Ah, of course, and it doesn't subclass QObject either ;) >For QString debugging there's QString::toUtf8().data() which will give

[Interest] QtQuickControls tests

2015-05-26 Thread Van Looy Detlev
Hello. For a project I am doing I need a repository which has .qml tests, it seems that (from the Qt sources) QtQuickControls should fit my needs. When running tst_controls (/Qt5.4.1/5.4/Src/qtquickcontrols/tests/auto/controls), all 501 test cases pass. What I want to do now is break (make fai

Re: [Interest] debugging: how to get meaningful QObject information in a command line session

2015-05-26 Thread Andreas Pakulat
Hi Rene, Thiago pointed you to QObject functions, those only work on instances of QObject. QString does not subclass QString and hence you cannot call those functions on a QString. For QString debugging there's QString::toUtf8().data() which will give you a temporary C string that can be printed.

Re: [Interest] Random problems with QSettings on Android

2015-05-26 Thread Nuno Santos
Hum That’s an interesting tip. I will implement that and see if the complains stop. Not sure in which devices. I have never asked. Thanks for your reply. Nuno Santos Founder / CEO / CTO www.imaginando.pt +351 91 621 69 62 > On 26 May 2015, at 11:50, Robert Iakobashvili wrote: > > On Tue

Re: [Interest] Random problems with QSettings on Android

2015-05-26 Thread Robert Iakobashvili
On Tue, May 26, 2015 at 1:40 PM, Nuno Santos wrote: > Hi, > > Does anyone here had problems with QSettings persistence on Android device? > > I’m having random and occasional reports from users on Android telling me > that settings don’t persist. > > Thanks, > > Regards, > > Nuno > Hi, I had once

[Interest] Random problems with QSettings on Android

2015-05-26 Thread Nuno Santos
Hi, Does anyone here had problems with QSettings persistence on Android device? I’m having random and occasional reports from users on Android telling me that settings don’t persist. Thanks, Regards, Nuno ___ Interest mailing list Interest@qt-proje

Re: [Interest] Sorting QSortFilterProxyModel with QML

2015-05-26 Thread André Somers
I ended up writing my own class that I export to QML for this. It subclasses QSortFilterProxyModel and exposes a nice QML-friendly API for doing filtering and sorting. André Mathias Baumann schreef op 22-5-2015 om 18:16: > Hello, > > I am using a QSortFilterProxyModel with QML. I with it from

Re: [Interest] debugging: how to get meaningful QObject information in a command line session

2015-05-26 Thread René J . V . Bertin
On Monday May 25 2015 17:11:02 Thiago Macieira wrote: Thanks for the feedback: >Make the debugger call the QObject::dumpObjectInfo() and >QObject::dumpObjectTree() in the objects you want to get information from. I presume that would entail calling the actual function with the object pointer a