Hi,
with a enum class you'll need to give the type explicitly, as there is no
auto-conversion to int:
settings.setValue("report.stacking",
QVariant::fromValue(report_stacking));
The same with QVariant::value: var.value();
- Michael.
-Original Message-
From: Interest [mailto:inte
On domingo, 4 de dezembro de 2016 18:25:07 PST Jason H wrote:
> > You must create QApplication in the thread that created the first QObject.
>
> You'd think that'd be easy to do, but... This is android. I don't always get
> to have a QApplication. I only get a QAppplication after the activity is
>
On domingo, 4 de dezembro de 2016 18:17:13 PST Jason H wrote:
> I am trying a naive compile of Qt 5.7.0 (from source tarball) on a Pi zero
> (no cross compile) I've got all the dependencies installed and Jessie is up
> to date. I keep running into GCC 4.9 compiler errors. Not that the Qt code
> is
On domingo, 4 de dezembro de 2016 20:15:42 PST Bob Hood wrote:
> QVariant::save: unable to save type 'ReportStacking' (type id: 1027).
You need to call qRegisterMetaTypeStreamOperators() for your type so that
QVariant knows how to stream into a QDataStream.
--
Thiago Macieira - thiago.maci
On 5 December 2016 at 16:15, Bob Hood wrote:
> I'm trying to save a C++11 enum class value in a QSettings. In a header I
> have:
>
> #include
>
> enum class ReportStacking
> {
> Stacked,
> Intermixed
> };
> Q_DECLARE_METATYPE(ReportStacking)
>
> And then in th
I'm trying to save a C++11 enum class value in a QSettings. In a header I have:
#include
enum class ReportStacking
{
Stacked,
Intermixed
};
Q_DECLARE_METATYPE(ReportStacking)
And then in the module, using a data member of this type:
ReportStacking repo
I have a class which inherits from Qt3DWindow. (Qt 5.8 latest git)
How to I access the QPickingSettings to change them? Looks like I need to
go through QRenderSettings, but that's private in Qt3DWindow and I don't
see a way to get at it. Or is there another way for me to set them?
(I don't know
Nevermind, I figured it out. The QCamera can be accessed changed directly
through QCamera::transform()->setMatrix().
On Sun, Dec 4, 2016 at 9:54 AM Philip Schuchardt wrote:
> In the next step of porting my OpenGL application to Qt3D, I trying to use
> my existing camera and interaction code. M
04.12.2016, 20:17, "Jason H" :
> I am trying a naive compile of Qt 5.7.0 (from source tarball) on a Pi zero
> (no cross compile) I've got all the dependencies installed and Jessie is up
> to date.
> I keep running into GCC 4.9 compiler errors. Not that the Qt code is bad, but
> that the compil
> Sent: Friday, December 02, 2016 at 5:50 PM
> From: "Thiago Macieira"
> To: interest@qt-project.org
> Subject: Re: [Interest] Android: WARNING: QApplication was not created in the
> main() thread.
>
> On sexta-feira, 2 de dezembro de 2016 21:25:51 PST Jason H wrote:
> > I OpenGLRenderer: Initi
I am trying a naive compile of Qt 5.7.0 (from source tarball) on a Pi zero (no
cross compile) I've got all the dependencies installed and Jessie is up to date.
I keep running into GCC 4.9 compiler errors. Not that the Qt code is bad, but
that the compiler bombs out saying it's a bug in GCC. Origi
In the next step of porting my OpenGL application to Qt3D, I trying to use
my existing camera and interaction code. My interaction code creates and
manipulates QMatrix4x4's for projection and view matrixes. It seems like
Qt3D's camera doesn't provide direct access of ViewMatrix. My question is
how
12 matches
Mail list logo