Re: [Interest] Shadow Mapping using QOpenGLFramebufferObject

2016-02-01 Thread Prashanth Udupa
Hello, I figured out a solution to this. I thought I should post it here, because it may be of some use to others. Since using QOpenGLFrameBufferObject was out of question, I had to create the buffer by myself using gl function calls as follows. // Refer http://learnopengl.com/#!Advanced-Lightin

Re: [Interest] x-platform way to pull app version?

2016-02-01 Thread Thiago Macieira
On Monday 01 February 2016 20:20:51 André Somers wrote: > Easiest is to let your buildsystem generate some cpp code with the version > numbers in each build. We compiled in version number, git id an time & date > with a simple script called from qmake on every build. Note that it's a bad idea to e

Re: [Interest] 5.5.1 OSX BTLE compile error - UUID is deprecated

2016-02-01 Thread Thiago Macieira
On Tuesday 02 February 2016 00:26:08 Jason H wrote: > Back to my original problem, how can I compile 5.5.1 with this UUID thing > even though it is deprecated? > > I need a working copy of Qt -- with my multimedia changes. Apply the patch from the change that the bug report Alex linked to. https

Re: [Interest] 5.5.1 OSX BTLE compile error - UUID is deprecated

2016-02-01 Thread Jason H
Back to my original problem, how can I compile 5.5.1 with this UUID thing even though it is deprecated? I need a working copy of Qt -- with my multimedia changes. > Sent: Monday, February 01, 2016 at 2:53 AM > From: "Blasche Alexander" > To: "interest@qt-project.org" > Subject: Re: [Interest]

Re: [Interest] x-platform way to pull app version?

2016-02-01 Thread André Somers
Easiest is to let your buildsystem generate some cpp code with the version numbers in each build. We compiled in version number, git id an time & date with a simple script called from qmake on every build. André Verstuurd vanaf mijn iPhone > Op 1 feb. 2016 om 16:35 heeft "Jason H" het volgen

Re: [Interest] Shadow Mapping using QOpenGLFramebufferObject

2016-02-01 Thread Prashanth Udupa
Hi Guiseppe, The call "m_shadowFBO->texture();" will not return the depth texture > that you need for shadow mapping, but the (useless) color texture that > your QOpenGLFramebufferObject contains. There's currently no accessor > for the depth texture, nor a way to create a QOGLFBO without a color

Re: [Interest] Shadow Mapping using QOpenGLFramebufferObject

2016-02-01 Thread Giuseppe D'Angelo
Il 01/02/2016 16:09, Prashanth Udupa ha scritto: Can someone please point to me where I am going wrong please? The call "m_shadowFBO->texture();" will not return the depth texture that you need for shadow mapping, but the (useless) color texture that your QOpenGLFramebufferObject contains. Th

[Interest] How to construct a cubemap texture using QOpenGLTexture?

2016-02-01 Thread Prashanth Udupa
Hello there! I want to construct a cubemap texture using QOpenGLTexture using 6 images and use it to map reflections on a torus. I am using the following code to construct the cubemap const QImage posx = QImage(":/images/posx.jpg").mirrored().convertToFormat(QImage::Format_RGBA);const QImage

Re: [Interest] How to display custom data entry form on QLineEdit click ?

2016-02-01 Thread Andy
Edward: "Is the “[=]()” a place holder?" He's using C++11 lambdas. There are a couple of good explanations here: https://stackoverflow.com/questions/7627098/what-is-a-lambda-expression-in-c11 --- Andy Maloney // https://asmaloney.com twitter ~ @asmaloney O

Re: [Interest] How to display custom data entry form on QLineEdit click ?

2016-02-01 Thread Prashanth Udupa
Hi Ed, > Is the “[=]()” a place holder? > > With Qt 5, you can now use functors and lambda functions for slots: http://doc.qt.io/qt-5/qobject.html#connect-4. If you are using a recent compiler which support C++11 standard, then you should be able to use lambda functions. Event2Signal *e2s = new

Re: [Interest] x-platform way to pull app version?

2016-02-01 Thread Thiago Macieira
On Monday 01 February 2016 16:35:37 Jason H wrote: > Currently, I have a string that I have to manually maintain, is there a way > I can call some function and get my application version (that's in the > plist or manifest)? Please search the Cocoa and Win32 API. That's not a Qt question. If you

Re: [Interest] How to display custom data entry form on QLineEdit click ?

2016-02-01 Thread Edward Sutton
Hi Prashanth, I do not understand how the connect syntax example or how the signal filteredEvent is raised? Could you please elaborate on implementation of the connect? On Feb 1, 2016, at 10:28 AM, Prashanth Udupa mailto:prashanth.ud...@gmail.com>> wrote: Create a Event2Signal class as follow

Re: [Interest] How to display custom data entry form on QLineEdit click ?

2016-02-01 Thread Edward Sutton
Thank you Prashanth. Your approach could be useful in *many* situations. Thank you! -Ed On Feb 1, 2016, at 10:28 AM, Prashanth Udupa mailto:prashanth.ud...@gmail.com>> wrote: Create a Event2Signal class as follows. #include #include #include #include class Event2Signal : public QObject

Re: [Interest] How to display custom data entry form on QLineEdit click ?

2016-02-01 Thread Edward Sutton
Thank you Igor. On Feb 1, 2016, at 10:18 AM, Igor Mironchik mailto:igor.mironc...@gmail.com>> wrote: Hi, On 01.02.2016 19:11, Edward Sutton wrote: I want to display a form with a numeric touch key pad plus a decimal point when user clicks on a QLIneEdit field. I did not see any signal such as

[Interest] [Qt3D] Several Problems w/Examples

2016-02-01 Thread Andy
I am having problems with several of the examples included in Qt3D. • deferred-renderer-cpp (black screen) • deferred-renderer-qml (black screen) • enabled-qml (maybe - just flashes a bunch of random shapes?) • gltf (crash on quit) • instanced-arrays-qml (crash on quit) • planets

Re: [Interest] How to display custom data entry form on QLineEdit click ?

2016-02-01 Thread Prashanth Udupa
Create a Event2Signal class as follows. #include #include #include #include class Event2Signal : public QObject { Q_OBJECT public: Event2Signal(QObject *parent=0) : QObject(parent) { } ~Event2Signal() { } void filterEvent(QObject *o, QEvent::Type type) { if(!o) retur

Re: [Interest] How to display custom data entry form on QLineEdit click ?

2016-02-01 Thread Igor Mironchik
Hi, On 01.02.2016 19:11, Edward Sutton wrote: I want to display a form with a numeric touch key pad plus a decimal point when user clicks on a QLIneEdit field. I did not see any signal such as editingStarted. What are approaches to implementing a custom data entry? I am targeting Android and

[Interest] How to display custom data entry form on QLineEdit click ?

2016-02-01 Thread Edward Sutton
I want to display a form with a numeric touch key pad plus a decimal point when user clicks on a QLIneEdit field. I did not see any signal such as editingStarted. What are approaches to implementing a custom data entry? I am targeting Android and iOS with a QWidget app. -Ed This email and any

[Interest] x-platform way to pull app version?

2016-02-01 Thread Jason H
Currently, I have a string that I have to manually maintain, is there a way I can call some function and get my application version (that's in the plist or manifest)? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/

[Interest] qtandroidextras notification example question

2016-02-01 Thread aj
Hi, im trying to compile and run the Qt Notifier [1] example on my android 5 device. Unfortunately it doesnt work for me as there are no notifications, instead it throws a NullPointerException. When debugging the java part of it in Android Studio it seems because the m_instance from the class

[Interest] show qt application on hdmi video output

2016-02-01 Thread Stefano Gurrieri
Hi, on my system (based on iMx6) I've two video output; specifically: on /dev/fb0 I've linked a display lvds (800x600) on /dev/fb2 I/ve linked a display hdmi (1920x1080) Normally, my qml app runs on /dev/fb0. But now, I've the necessity to run this application on /dev/fb2 (hdmi output). So I set