Re: [Interest] How is QT_AUTO_SCREEN_SCALE_FACTOR supposed to work?

2015-11-03 Thread Johan
>Try looking at QHighDpiScaling::initHighDpiScaling() and QHighDpiScaling::updateHighDpiScaling(). The latter should eventually make a call to QWindowsScreen:: pixelDensity() which I would expect to return 2 in your case. Debugging this I can see that pixelDensity returns 1.0. qwindowscreen.cpp

Re: [Interest] media player videowidget Qt5.4.2

2015-11-03 Thread jhihn
You have a space "_gstreamer". May be the issue? Otherwise, gstreaner is not properly configured. -Original message- Sent: Monday, 02 November 2015 at 15:39:48 From: "Stefano Gurrieri" To: openembedded-de...@lists.openembedded.org,interest@qt-project.org

Re: [Interest] Memory leak problem in a Qt App

2015-11-03 Thread Etienne Sandré-Chardonnal
I have found this blog post: https://dragotin.wordpress.com/2014/08/14/monitor-the-qobject-tree-of-a-qt-app/ I will try using these callbacks to monitor the QObject tree. They are absolutely undocumented (searching for the function name leads to the blog page as first result...), are they

Re: [Interest] Qml Flow max width

2015-11-03 Thread Rutledge Shawn
> On 30 Oct 2015, at 18:00, Jérôme Godbout wrote: > > Hi, > > is their a way to adjust the width of a flow item to limit it to a maximum > width of parent width but if content is smaller use the childrenRect.width > without binding loop or running into problem with the

[Interest] Encrypting mobile video as it is recorded

2015-11-03 Thread jhihn
On Windows I am able to write a directshow filter and out it in the filter graph . With C++/Qt, I can write an QIODevice and manually use it. But how do I hook the QIODevice into the pipeline? I want to be able to encrypt the usual MP4 output with a cypher before it ever hits the

[Interest] Qt interfacing to Android native UI ?

2015-11-03 Thread Edward Sutton
I know I can use native iOS UI by mixing Objective-C++ and C++ in the same *.mm file. I have done a little Android JNI. Are there any examples for interfacing to Android native UI elements? I need to create a UI picker for manually entering GPS latitude and longitude in degrees, or degrees,

Re: [Interest] subclassed QTimer

2015-11-03 Thread Frank Hemer
Hi René, On Tuesday 03 November 2015 14:13:46 René J.V. Bertin wrote: > Hi, > > I wanted to add a quick timer to an editor class to check the state of the > various items that editor can handle. It'd be cumbersome to subclass the > edit items to add a timeout slot to them, or to extend the

Re: [Interest] subclassed QTimer

2015-11-03 Thread Daniel França
If still don't work with the Q_OBJECT macro, maybe trying with setTimerType (Qt::PreciseTimer)? Em ter, 3 de nov de 2015 às 14:20, Frank Hemer escreveu: > Hi René, > > On Tuesday 03 November 2015 14:13:46 René J.V. Bertin wrote: > > Hi, > > > > I wanted to add a quick timer to

Re: [Interest] subclassed QTimer

2015-11-03 Thread André Somers
Op 3-11-2015 om 14:13 schreef René J.V. Bertin: Hi, I wanted to add a quick timer to an editor class to check the state of the various items that editor can handle. It'd be cumbersome to subclass the edit items to add a timeout slot to them, or to extend the editor class so a timeout slot

Re: [Interest] subclassed QTimer

2015-11-03 Thread Gian Maxera
Sorry … your code seems weird from my point of view. Why are you subclassing QTimer and not just use it as it is ?? > On 3 Nov 2015, at 13:24, Daniel França wrote: > > If still don't work with the Q_OBJECT macro, maybe trying with > setTimerType(Qt::PreciseTimer)? >

Re: [Interest] Memory leak problem in a Qt App

2015-11-03 Thread Richard Moore
On 3 November 2015 at 09:47, Etienne Sandré-Chardonnal < etienne.san...@m4x.org> wrote: > I have found this blog post: > > https://dragotin.wordpress.com/2014/08/14/monitor-the-qobject-tree-of-a-qt-app/ > > I will try using these callbacks to monitor the QObject tree. They are > absolutely

[Interest] Adding OpenSSL Support to Android 6.0 - Provided instructions fail to build

2015-11-03 Thread Nuno Santos
Hi, I’m trying to cross build openssl in order to bundle it with my APK. I don’t know if the instructions are imprecise or outdated but I couldn’t manage to build openssl with the provide instructions: http://doc.qt.io/qt-5/opensslsupport.html What

Re: [Interest] Qt Android app crashing on Android 6.0 -

2015-11-03 Thread Nuno Santos
I’m trying to add shared openssl support to my Qt app. I’m currently following the instructions available on Qt documentation page and it says the following: Note: You must consider enabling/disabling the SSL features based on the legal restrictions in the region where your application is

Re: [Interest] Adding OpenSSL Support to Android 6.0 - Provided instructions fail to build

2015-11-03 Thread Nuno Santos
You were right about the export. Using export CC and export AR does the trick, however it still doesn’t find stdlib.h without passing -I/Users/nsantos/android/ndk/platforms/android-9/arch-arm/usr/include > On 03 Nov 2015, at 13:35, Elvis Stansvik wrote: > > I have no

Re: [Interest] Qml Flow max width

2015-11-03 Thread Jérôme Godbout
Thanks for the feedback, this seem to match my own observation. Regarding the what I would like to see happen, a FlowLayout where the min/max width/height could be specify would be nice. As a matter of fact, I would love to have that min/max width/height on all layout items (Grid, column, row,

[Interest] Subclassing QNetworkAccessManager not working

2015-11-03 Thread Jason H
I am experimenting with creating my own scheme. Per the documentation at http://doc.qt.io/qt-5/qnetworkaccessmanager.html#supportedSchemes I am to provide a protected slot, which will be hooked up by the MOC. However I am only ever getting the default implementation: I got: ("ftp", "file",

[Interest] nunosan...@imaginando.pt, I'm calling you out!

2015-11-03 Thread Jason H
I only ever get this message in relation to you. Are you aware of this issue? Can you fix it? It happens every time I send mail to the list. Is anyone else getting this? Message from mailer daemon below This message was created automatically by mail delivery software. A message

[Interest] A bug on QtAndroidMediaPlayer ?

2015-11-03 Thread Gian Maxera
Hello, I’m trying to use QML Video item on Android and I got this error: " No implementation found for void org.qtproject.qt5.android.multimedia.QtAndroidMediaPlayer.onStateChangedNative” It seems that JNI cannot find the implementation of that method. Is it a bug ?? Someone found already ?

[Interest] Qt 5.5.x & NVIDIA Tegra Jetson TK1 video performance issue

2015-11-03 Thread Denis Shienkov
Hi Qt developers. I have veeery slow video performance with Qt 5.5.1 and the video camera (frame rate about ~1-3 fps) on Tegra Jetson TK1 device, where the video stream writes via HDMI interface to the monitor. My stuff is: * Qt 5.5.1, cross-compiled himself. * Tegra Jetson TK1 board [1] *

Re: [Interest] Qt interfacing to Android native UI ?

2015-11-03 Thread Federico Buti
On 3 November 2015 at 22:30, Edward Sutton wrote: > > > On Nov 3, 2015, at 2:11 PM, Jason H wrote: > > > > > > > >> Sent: Tuesday, November 03, 2015 at 10:12 AM > >> From: "Edward Sutton" > >> To: "Qt Interest"

Re: [Interest] Qt interfacing to Android native UI ?

2015-11-03 Thread Edward Sutton
> On Nov 3, 2015, at 2:11 PM, Jason H wrote: > > > >> Sent: Tuesday, November 03, 2015 at 10:12 AM >> From: "Edward Sutton" >> To: "Qt Interest" >> Subject: [Interest] Qt interfacing to Android native UI ? >> >> I know I can

Re: [Interest] Qt interfacing to Android native UI ?

2015-11-03 Thread Edward Sutton
On Nov 3, 2015, at 4:24 PM, Federico Buti > wrote: On 3 November 2015 at 22:30, Edward Sutton > wrote: > On Nov 3, 2015, at 2:11 PM, Jason H > >

Re: [Interest] Qt 5.5.x & NVIDIA Tegra Jetson TK1 video performance issue

2015-11-03 Thread Jason H
I didn't use that confguration, but I have compiled Qt on an Atom with a Tegra chipset. I vaguely remember optimizing the video stack. By default it was using a CPU renderer, but I beulve the trick was re-compiling GStreamer to use the proper hardware acceleration. There may have been an

Re: [Interest] Qt interfacing to Android native UI ?

2015-11-03 Thread Jason H
> Sent: Tuesday, November 03, 2015 at 10:12 AM > From: "Edward Sutton" > To: "Qt Interest" > Subject: [Interest] Qt interfacing to Android native UI ? > > I know I can use native iOS UI by mixing Objective-C++ and C++ in the same > *.mm

Re: [Interest] Qt interfacing to Android native UI ?

2015-11-03 Thread Sze Howe Koh
On 4 November 2015 at 06:47, Edward Sutton wrote: > On Nov 3, 2015, at 4:24 PM, Federico Buti wrote: > > On 3 November 2015 at 22:30, Edward Sutton > wrote: >> >> > On Nov 3, 2015, at 2:11 PM, Jason H

Re: [Interest] Qt interfacing to Android native UI ?

2015-11-03 Thread Federico Buti
On 3 November 2015 at 23:47, Edward Sutton wrote: > On Nov 3, 2015, at 4:24 PM, Federico Buti wrote: > > > > > On 3 November 2015 at 22:30, Edward Sutton > wrote: > >> >> > On Nov 3, 2015, at 2:11 PM, Jason H

Re: [Interest] Adding OpenSSL Support to Android 6.0 - Provided instructions fail to build

2015-11-03 Thread Robert Iakobashvili
Hi Nuno, The cross-compiler collection all should be taken from this arch. Maybe ld, objdump or ldd tools were not redefined to be taken from cross? Be sure they are defined and used like arm-linux-androideabi-objdump, arm-linux-androideabi-ldd and so on could be more various tools. jm2c to add

[Interest] QOpenGLWidget as a viewport of QGraphicsview

2015-11-03 Thread Pascal Henze | i-NOVATiON GmbH
Are there any plans that QOpenGLWidget will be supported as viewport of QGraphicsview in near future. (operating System OS X) In Qt 5.3.2 i could use setViewport(new QGLWidget(QGLFormat(QGL::SampleBuffers))); to set an OpenGL viewport. Since Qt 5.4 this is no longer possible because of the

Re: [Interest] subclassed QTimer

2015-11-03 Thread Thiago Macieira
On Tuesday 03 November 2015 13:24:38 Daniel França wrote: > If still don't work with the Q_OBJECT macro, maybe trying with setTimerType > (Qt::PreciseTimer)? Please don't set it to PreciseTimer unless you really need millisecond resolution or better (if the 5% error is not acceptable). --

Re: [Interest] nunosan...@imaginando.pt, I'm calling you out!

2015-11-03 Thread Mike Chinander
On Tue, Nov 3, 2015 at 9:57 AM, Jason H wrote: > I only ever get this message in relation to you. > Are you aware of this issue? Can you fix it? It happens every time I send > mail to the list. > Is anyone else getting this? > > Just reply to the list and don't include Nuno's

Re: [Interest] nunosan...@imaginando.pt, I'm calling you out!

2015-11-03 Thread Nuno Santos
Thx Thiago! ;) Nuno > On 03 Nov 2015, at 16:22, Thiago Macieira wrote: > > On Tuesday 03 November 2015 16:01:42 Nuno Santos wrote: >> Weird… >> >> Don’t have a clue on how to sort this out. Ideas? > > The domain is misconfigured. > > $ host -t mx imaginando.pt >

Re: [Interest] Subclassing QNetworkAccessManager not working

2015-11-03 Thread Samuel Gaist
On 3 nov. 2015, at 16:51, "Jason H" wrote: > I am experimenting with creating my own scheme. Per the documentation at > http://doc.qt.io/qt-5/qnetworkaccessmanager.html#supportedSchemes I am to > provide a protected slot, which will be hooked up by the MOC. However I am > only

Re: [Interest] nunosan...@imaginando.pt, I'm calling you out!

2015-11-03 Thread Nuno Santos
Weird… Don’t have a clue on how to sort this out. Ideas? Nuno > On 03 Nov 2015, at 15:57, Jason H wrote: > > I only ever get this message in relation to you. > Are you aware of this issue? Can you fix it? It happens every time I send > mail to the list. > Is anyone else

Re: [Interest] Subclassing QNetworkAccessManager not working

2015-11-03 Thread Jason H
> Sent: Tuesday, November 03, 2015 at 11:01 AM > From: "Samuel Gaist" > To: "Jason H" > Cc: "interest@qt-project.org" > Subject: Re: [Interest] Subclassing QNetworkAccessManager not working > > > On 3 nov. 2015, at 16:51,

Re: [Interest] Subclassing QNetworkAccessManager not working

2015-11-03 Thread Thiago Macieira
On Tuesday 03 November 2015 16:51:48 Jason H wrote: > I am experimenting with creating my own scheme. Per the documentation at > http://doc.qt.io/qt-5/qnetworkaccessmanager.html#supportedSchemes I am to > provide a protected slot, which will be hooked up by the MOC. However I am > only ever

Re: [Interest] nunosan...@imaginando.pt, I'm calling you out!

2015-11-03 Thread Thiago Macieira
On Tuesday 03 November 2015 16:01:42 Nuno Santos wrote: > Weird… > > Don’t have a clue on how to sort this out. Ideas? The domain is misconfigured. $ host -t mx imaginando.pt imaginando.pt mail is handled by 10 mail.imaginando.net. $ host mail.imaginando.net mail.imaginando.net is an alias for

Re: [Interest] Subclassing QNetworkAccessManager not working

2015-11-03 Thread Jason H
> Sent: Tuesday, November 03, 2015 at 11:18 AM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] Subclassing QNetworkAccessManager not working > > On Tuesday 03 November 2015 16:51:48 Jason H wrote: > > I am experimenting with creating my

Re: [Interest] Adding OpenSSL Support to Android 6.0 - Provided instructions fail to build

2015-11-03 Thread Nuno Santos
I’m having issues compiling openssl on Mac OSX El Capitain. The following command always terminates with “Malformed archive” /tmp/openssl/android-toolchain-arm/bin/arm-linux-androideabi-ar r ../libcrypto.a cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o cpt_err.o ebcdic.o uid.o o_time.o

Re: [Interest] QtMultimedia how to crosscompile with GStreamer

2015-11-03 Thread Thiago Macieira
On Tuesday 03 November 2015 13:54:12 Denis Shienkov wrote: > Hi all, > > I have Ubuntu 14.04 i386 as host OS and I want to cross-compile Qt 5.5.1 > for embedded ARM target. > I already have a cross-compiled Qt 5.5.1, but with incomplete QtMultimedia > module (without GStreamer 1.0). > > The

Re: [Interest] QtMultimedia how to crosscompile with GStreamer

2015-11-03 Thread Thiago Macieira
On Tuesday 03 November 2015 09:27:44 Thiago Macieira wrote: > On Tuesday 03 November 2015 13:54:12 Denis Shienkov wrote: > > Hi all, > > > > I have Ubuntu 14.04 i386 as host OS and I want to cross-compile Qt 5.5.1 > > for embedded ARM target. > > I already have a cross-compiled Qt 5.5.1, but with

Re: [Interest] Adding OpenSSL Support to Android 6.0 - Provided instructions fail to build

2015-11-03 Thread Elvis Stansvik
Den 3 nov 2015 1:30 em skrev "Nuno Santos" : > > Hi, > > I’m trying to cross build openssl in order to bundle it with my APK. I don’t know if the instructions are imprecise or outdated but I couldn’t manage to build openssl with the provide instructions:

[Interest] QtMultimedia how to crosscompile with GStreamer

2015-11-03 Thread Denis Shienkov
Hi all, I have Ubuntu 14.04 i386 as host OS and I want to cross-compile Qt 5.5.1 for embedded ARM target. I already have a cross-compiled Qt 5.5.1, but with incomplete QtMultimedia module (without GStreamer 1.0). The problem is that pkg-config utility does not resolved the installed GStreamer

Re: [Interest] QtMultimedia how to crosscompile with GStreamer

2015-11-03 Thread Denis Shienkov
I'm sorry, the problem was on my side.. need to fix some of symlinks, like: $ sudo ln -sf /home/builder/Projects/tegra/rootfs/lib/arm-linux-gnueabihf/libglib-2.0.so.0 /home/builder/Projects/tegra/rootfs/usr/lib/arm-linux-gnueabihf/ libglib-2.0.so BR, Denis 2015-11-03 13:54 GMT+03:00 Denis

Re: [Interest] QtMultimedia how to crosscompile with GStreamer

2015-11-03 Thread Denis Shienkov
Hi Thiago, A problem was on my side: > I'm sorry, the problem was on my side.. need to fix some of symlinks, like: > $ sudo ln -sf /home/builder/Projects/tegra/rootfs/lib/arm-linux-gnueabihf/libglib-2.0.so.0 /home/builder/Projects/tegra/rootfs/usr/lib/arm-linux-gnueabihf/libglib-2.0.so

Re: [Interest] Adding OpenSSL Support to Android 6.0 - Provided instructions fail to build

2015-11-03 Thread Elvis Stansvik
Den 3 nov 2015 4:51 em skrev "Nuno Santos" : > > You were right about the export. > > Using export CC and export AR does the trick, however it still doesn’t find stdlib.h without passing -I/Users/nsantos/android/ndk/platforms/android-9/arch-arm/usr/include Not sure if

Re: [Interest] Subclassing QNetworkAccessManager not working

2015-11-03 Thread Thiago Macieira
On Tuesday 03 November 2015 17:23:04 Jason H wrote: > Didn't I already do that? Here it is again: Sorry, you did. > class EncryptingNetworkManager: public QNetworkAccessManager { > public: > EncryptingNetworkManager(QObject *parent = 0) : > QNetworkAccessManager(parent){} > > protected

Re: [Interest] Adding OpenSSL Support to Android 6.0 - Provided instructions fail to build

2015-11-03 Thread Nuno Santos
My greatest problem right now is actually the “malformed archive” error when creating the lib: /tmp/openssl/android-toolchain-arm/bin/arm-linux-androideabi-ar r ../libcrypto.a cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o cpt_err.o ebcdic.o uid.o o_time.o o_str.o o_dir.o thr_id.o lock.o

Re: [Interest] Subclassing QNetworkAccessManager not working

2015-11-03 Thread Jason H
> Sent: Tuesday, November 03, 2015 at 11:43 AM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] Subclassing QNetworkAccessManager not working > > On Tuesday 03 November 2015 17:23:04 Jason H wrote: > > Didn't I already do that? Here it

Re: [Interest] Adding OpenSSL Support to Android 6.0 - Provided instructions fail to build

2015-11-03 Thread Elvis Stansvik
Den 3 nov 2015 5:31 em skrev "Nuno Santos" : > > I’m having issues compiling openssl on Mac OSX El Capitain. > > The following command always terminates with “Malformed archive” > > /tmp/openssl/android-toolchain-arm/bin/arm-linux-androideabi-ar r ../libcrypto.a

Re: [Interest] Adding OpenSSL Support to Android 6.0 - Provided instructions fail to build

2015-11-03 Thread Nuno Santos
I’m using this script to do the job. alexbbb has made an https://github.com/alexbbb/pjsip-android-builder/blob/master/openssl-build This is the full output MACKIE:workspace nsantos$ ./openssl-build.sh ~/android/ndk