Re: [Interest] QFile::write(const QByteArray&) does not write all data?

2018-05-09 Thread Helmut Mülner
Are you sure your QByteArray has the correct size? If your constructed it from a const char* and did not give the size, it may contain only data up to the first zero byte. helmut -Ursprüngliche Nachricht- Von: Interest [mailto:interest-bounces+helmut.muelner=gmail@qt-project.org] Im

[Interest] Qt3D, QtQuick, Windows 10, VS-2017 64 bit, Qt-5.10.0: Program not working

2017-12-11 Thread Helmut Mülner
Hi all, I have a program with a QtQuick UI, a backend in C++ including a custom Entity derived from Qt3DCore::QEntity that is display in a Scene3D. The program works with Qt-5.9.3. But with precompiled Qt-5.10.0 (“Using Qt version 5.10.0 in C:/Qt/5.10.0/msvc2017_64/lib”) I get the same

Re: [Interest] Strange visibility problem after updating entities in Qt3D

2017-10-05 Thread Helmut Mülner
namespace problems since 5.9. I hope to be able to attend the Qt world summit next year, so I can buy you a beer etc. Big Thanks, Helmut Von: paul.lemire [mailto:paul.lemire] Im Auftrag von Paul Lemire Gesendet: Donnerstag, 5. Oktober 2017 11:46 An: Helmut Mülner <helmut.m

Re: [Interest] Strange visibility problem after updating entities in Qt3D

2017-10-04 Thread Helmut Mülner
Re: undefined entry error with createNodeCreationChange This came from mixing Qt versions (I had tried 5.10-alpha before and forgot to re-run cmake). Cheers, Helmut ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Strange visibility problem after updating entities in Qt3D

2017-10-04 Thread Helmut Mülner
Hi Paul, thank you for your tips, I think you diagnosed the problem correctly. Von: paul.lemire [mailto:paul.lemire] Im Auftrag von Paul Lemire Gesendet: Mittwoch, 4. Oktober 2017 07:05 […] Now I want to show another rail (it may have fewer or more parts) and another set of defects.

Re: [Interest] Qt3D: Create custom meshes and textures in C++, use in QML

2017-07-07 Thread Helmut Mülner
] Gesendet: Freitag, 7. Juli 2017 09:49 An: "Helmut Mülner" <helmut.muel...@gmail.com> Cc: interest@qt-project.org Betreff: Aw: Re: [Interest] Qt3D: Create custom meshes and textures in C++, use in QML Hi Helmut, >The approach with qmlRegisterType has the prob

Re: [Interest] Qt3D: Create custom meshes and textures in C++, use in QML

2017-07-06 Thread Helmut Mülner
Hi Oleg, > This is basically the same approach as in the Stackoverflow answer That's why I wrote "I'm not sure I understand your problem in a right way" before. Why is this approach not suitable for you? (just in case, in difference with StackOverflow approach in my example camera and render

Re: [Interest] Qt3D: Create custom meshes and textures in C++, use in QML

2017-07-06 Thread Helmut Mülner
> I think you misunderstood me: MY GUI is in QML, only the backend is in C++ This is certainly what I mean. Take a look my setData example from https://bugreports.qt.io/browse/QTBUG-60429 it uses Scene3D in QML and C++ backend. Sorry, my

Re: [Interest] Qt3D: Create custom meshes and textures in C++, use in QML

2017-07-06 Thread Helmut Mülner
Hi Oleg, > Or is it possible to construct some of these in C++ and use them in QML via > setContextProperty: Buffer, Geometry, GeometryRenderer or other classes from > the Qt3D modules? >From my point of view it would be better to construct them (Buffer, Geometry, >GeometryRenderer, Textures

[Interest] Qt3D: Create custom meshes and textures in C++, use in QML

2017-07-06 Thread Helmut Mülner
After studying the (spare) Qt3d documentation and examples and researching almost all Web resources, I am still not sure how to best solve the following task: I have to create custom meshes and textures in C++ (the data come from a database) and I want to use these items in a QML GUI. At

Re: [Interest] Issue with ComboBox style properties in QtQuick.Controls 2.1

2017-05-18 Thread Helmut Mülner
Hi, Von: Interest [mailto:interest-bounces+helmut.muelner=gmail@qt-project.org] Im Auftrag von Nibedit Dey Gesendet: Donnerstag, 18. Mai 2017 16:11 An: interest@qt-project.org Betreff: [Interest] Issue with ComboBox style properties in QtQuick.Controls 2.1 Hello Everyone, I am

Re: [Interest] Qt3D, custom mesh and materials

2017-04-10 Thread Helmut Mülner
Sean Harmer helped me with my little problem, thank you very much. There were two problems: > I created a custom mesh by defining the following attributes: position, normal, index, texCoord. > If I use a PhongMaterial, the mesh displays nicely: > [...} > If I use a

[Interest] Qt3D, custom mesh and materials

2017-04-05 Thread Helmut Mülner
Another question for the Qt3D experts: I created a custom mesh by defining the following attributes: position, normal, index, texCoord. If I use a PhongMaterial, the mesh displays nicely: auto material = new Qt3DExtras::QPhongMaterial(); material->setAmbient(QColor(85, 85, 128));

[Interest] Qt 5.9 Beta snapshot #423 Qt3d paintedtexture-cpp

2017-04-05 Thread Helmut Mülner
I played a little with Src\qt3d\tests\manual\paintedtexture-cpp in the current 5.9 Beta snapshot (on Windows 10, using VS2017 with the precompiled msvc2015 32-bit binary). I was surprised that the text with the current time is upside down. Qt 5.8.0 on Windows 10 using VS2013 and the precompiled

Re: [Interest] Qt 5.5.0 Compile Time Hash Example

2015-08-23 Thread Helmut Mülner
This will not work in every case because you cannot guarantee that your hash function generates a unique value for every string. In hash based containers you still have to compare against the valueof the string. Am 24.08.2015 01:27 schrieb mark diener rpzrpz...@gmail.com: Hello List: Have you

[Interest] QtQuick not usable on Windows tablet computers? (Was: Virtual keyboard)

2014-12-18 Thread Helmut Mülner
It looks like QtQuick on Windows table computers is severly broken: Automatic popup of the virtual keyboard does not work. But it works with QWidgets and QML System Dialogs. I tried to hack around the issue by calling C++-Code to show/hide the keyboard (using FindWindow and PostMessage) in

[Interest] Virtual keyboard

2014-12-17 Thread Helmut Mülner
I have a virtual keyboard installed (Hot Virtual Keyboard) on Windows7. I use qt-opensource-windows-x86-msvc2013-5.4.0. In Qt Widget programs (e.g. from examples) the keyboard works as expected: When I click into an editable text field, the keyboard pops up. But this does not work in QML

Re: [Interest] Are QSql::Out and QSql::InOut used outside of calling a procedure?

2014-09-04 Thread Helmut Mülner
Hi Bernhard I asked this question in forums before. And I did not get a single response. [...] Now I noticed that bindValue() has an optional paramType parameter that can be set to QSql::Out and QSql::InOut. Is it correct that the QSql::Out and QSql::InOut arguments are useful when

[Interest] [interest] Qt 5.2 RC1: QtCreator syntax checker does not recognize the properties of the QtQuick-Control Label

2013-11-14 Thread Helmut Mülner
Hi, if I use a Label (QtQuick.Controls 1.1) the QtCreator syntax checker does not recognize its attributes, e.g.: import QtQuick 2.1 import QtQuick.Controls 1.1 ApplicationWindow { title: qsTr(Hello World) width: 640 height: 480 Label { text: