Re: [Interest] qApp macro equivalent for QApplication subclasses

2014-03-20 Thread Constantin Makshin
I don't see anything bad even in redefining the "qApp" macro itself (inclusion guards in Qt headers will protect your redefinition from being reverted) instead of inventing your "myApp" one. On 03/20/2014 10:58 PM, Andrej Kacian wrote: > Hello all, > > I was wondering, if I subclass QApplication

Re: [Interest] Problems Building Qt 5.2.1 on Mac

2014-03-20 Thread Thiago Macieira
Em qui 20 mar 2014, às 20:12:20, Eric Feigenson escreveu: > I've posted this to the forums > (https://qt-project.org/forums/viewthread/39674/) but to no avail. "Real devs" don't use forums. They prefer mailing lists. > UIProcess/API/qt/qquickwebview.cpp:1921:41: error: conversion from 'const > ui

[Interest] Problems Building Qt 5.2.1 on Mac

2014-03-20 Thread Eric Feigenson
Hello all... I've posted this to the forums (https://qt-project.org/forums/viewthread/39674/) but to no avail. I have Qt 5.3.0, though my git is very weak... if I do "git describe" I get "v5.3.0-alpha1-12-ge045c53" which is probably more accurate. Subquestion: How do I tell git to give me the

[Interest] qApp macro equivalent for QApplication subclasses

2014-03-20 Thread Andrej Kacian
Hello all, I was wondering, if I subclass QApplication for my program, is it a good idea to just copy and adjust the definition of "qApp" macro if I want to use a similar macro to refer to my subclass from anywhere? E.g.: #if defined(myApp) #undef myApp #endif #define myApp (static_cast(QCoreAppl

Re: [Interest] Problems with OpenGL in Windows and Qt5

2014-03-20 Thread Sean Harmer
Hi, On Thursday 20 March 2014 07:04:14 Carlos wrote: > Hello > > I've done a game that uses OpenGL. For Symbian, Meego and desktop I use Qt > for the device initialization and then I use raw OpenGL calls. I am using > Qt4 with no problems and now I have converted it to Qt5. The problem is > that

[Interest] Problems with OpenGL in Windows and Qt5

2014-03-20 Thread Carlos
Hello I've done a game that uses OpenGL. For Symbian, Meego and desktop I use Qt for the device initialization and then I use raw OpenGL calls. I am using Qt4 with no problems and now I have converted it to Qt5. The problem is that in Windows the rendering is displaced. A small rectangle with th

Re: [Interest] Qt5 binary overlay for the BlackBerry 10.2 Gold NDK is available for download

2014-03-20 Thread Nils Jeisecke
Hi Vladimir, thanks for letting us know. Are there any plans for a Qt5/QtQuick 2 based Cascades implementation? Nils On Wed, Mar 19, 2014 at 6:20 PM, Vladimir Minenko wrote: > Hi, > > just to let know those who are interested. > > The Qt5 (5.2.1) binary overlay for the BlackBerry 10.2 Gold NDK

Re: [Interest] Skip over disabled items in listview and gridview when navigating with up/down/left/right arrows

2014-03-20 Thread Дмитрий Козлов
On 17.03.2014 19:08, Rogers Nate wrote: I tried to override the flags function in the model but the function never gets called, it never printed out my debug statement or hit my break point. Not sure what to do here... Qt::ItemFlags MessageList::flags(const QModelIndex &index) const { qD