Re: [Interest] Packaging a Qt App for Linux/MacOSX/Windows

2016-06-17 Thread Scapegoat Sarthak
I am curious - if you have your project configured in c++/cmake style, you can (and probably should) use CPack. Lots of documentation available online. On 18 June 2016 at 01:17, Ch'Gans wrote: > On 18 June 2016 at 00:19, Ch'Gans wrote: > > Hi there, > > > > I've

Re: [Interest] Packaging a Qt App for Linux/MacOSX/Windows

2016-06-17 Thread Ch'Gans
On 18 June 2016 at 00:19, Ch'Gans wrote: > Hi there, > > I've recently added a (very basic) offline installer to my project > using the Qt installer framework and i'm looking for a multi platform > solution to detect my app dependencies and to ship (some of) them into > my

Re: [Interest] linux 64 5.7.0 WebEngine segfault

2016-06-17 Thread Kevin Mcintyre
Follow-up - segfault was the result of trying to use QWebEngineUrlRequestInterceptor - a class I haven't been able to get working. On Fri, Jun 17, 2016 at 9:23 AM, Kevin Mcintyre wrote: > When starting webengine - I get this error, > >

Re: [Interest] [qt3d] Loading textures from a custom file format

2016-06-17 Thread Xavier Bigand
I finally make it works, but I am not sure to do everything correctly. Firslty I change the way to attach the Texture to the QDiffuseMapMaterial : QDiffuseMapMaterial*material = new QDiffuseMapMaterial(); Texture*diffuseTexture = new Texture(); // Instancing our

Re: [Interest] Routing all QML file requests through a custom resource provider

2016-06-17 Thread Xavier Bigand
I share your concern about using private APIs but there is no other solution at the moment. And if it can reassure you, we are using those APIs since two year on an application in production without any issue. I think that those API wasn't pushed public since Qt5 because it have a better support

Re: [Interest] Routing all QML file requests through a custom resource provider

2016-06-17 Thread Max Savenkov
Thank you, I knew about this method, but I, as I wrote originally, I want to avoid the use of the private APIs if possible. I might vote for that bug, though - reasoning behind "privatizing" FileEngine seems a bit shaky to me. 17.06.2016 21:32, Xavier Bigand пишет: I think that we do

Re: [Interest] Routing all QML file requests through a custom resource provider

2016-06-17 Thread Xavier Bigand
I think that we do something similar that you try to achieve. I am working on an application that almost works like a game. During development our resources on the regular file system of Windows, Mac,... but when building the final release all ressources are filtered and compressed in a custom

Re: [Interest] Routing all QML file requests through a custom resource provider

2016-06-17 Thread Max Savenkov
Thank you, I've read that link already quite a few times. What I'd like to know, is how to use "External Binary Resources" if said external resources are not located on disk, but in memory. However, after a bit of thinking I decided that it's wouldn't be useful even if it is possible, as I would

Re: [Interest] QUndoStack

2016-06-17 Thread Mike Jackson
Yes, we have already executed what constitutes the command by the time we push it onto the stack. Maybe we are not using QUndoStack correctly then? we should be creating the command that _should_ get executed, place it on the stack, which will then execute the command. Still seems odd but we

Re: [Interest] QUndoStack

2016-06-17 Thread Elvis Stansvik
2016-06-17 18:18 GMT+02:00 Mike Jackson : > We are using the QUndoStack and when we "push()" onto the stack the actual > QUndoCommand is being executed. In the documentation is seems as though I > could set the "id" of the QUndoCommand to -1 and NOT have it executed but >

Re: [Interest] QUndoStack

2016-06-17 Thread Elvis Stansvik
2016-06-17 19:33 GMT+02:00 Elvis Stansvik : > 2016-06-17 18:18 GMT+02:00 Mike Jackson : >> We are using the QUndoStack and when we "push()" onto the stack the actual >> QUndoCommand is being executed. In the documentation is seems as though I >> could

Re: [Interest] Routing all QML file requests through a custom resource provider

2016-06-17 Thread Max Savenkov
OK, but if I do not use QtCreator, is there no way to make it work? What does adding a qrc file to RESOURCES actually do (besides triggering resource compiler)? I'm looking for an understanding here. 2016-06-17 19:23 GMT+03:00 Jason H : > > What Dimitry said plus: > > Add: >

Re: [Interest] Routing all QML file requests through a custom resource provider

2016-06-17 Thread Jason H
What Dimitry said plus:   Add: CONFIG += resources_big   to your .pro file, which should get around some long linking times.     -- Sent: Friday, June 17, 2016 at 5:45 AM From: "Dmitry Volosnykh" To: "Max Savenkov"

[Interest] linux 64 5.7.0 WebEngine segfault

2016-06-17 Thread Kevin Mcintyre
When starting webengine - I get this error, [0617/091642:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on. followed by this

[Interest] QUndoStack

2016-06-17 Thread Mike Jackson
We are using the QUndoStack and when we "push()" onto the stack the actual QUndoCommand is being executed. In the documentation is seems as though I could set the "id" of the QUndoCommand to -1 and NOT have it executed but after looking more close at the docs and the actual source code the

[Interest] [qt3d] Loading textures from a custom file format

2016-06-17 Thread Xavier Bigand
I am trying to understand how I have to use QAbstractTexture and QAbstractTextureImage to load textures from our custom format. Our format is pretty simple and consist in a compressed file that contains an header with all necessary informations : - texture size - precise texture format

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-17 Thread Xavier Bigand
https://bugreports.qt.io/browse/QTBUG-54184 For the leaks I need to check, but firstly it seems that textures stay in RAM even when already in VRAM. 2016-06-17 12:33 GMT+02:00 Sean Harmer : > Hi, > > On Friday 17 June 2016 12:11:56 Xavier Bigand wrote: > > I finally found

[Interest] Packaging a Qt App for Linux/MacOSX/Windows

2016-06-17 Thread Ch'Gans
Hi there, I've recently added a (very basic) offline installer to my project using the Qt installer framework and i'm looking for a multi platform solution to detect my app dependencies and to ship (some of) them into my installer. Ideally I would like to automate this... The following pages

Re: [Interest] Routing all QML file requests through a custom resource provider

2016-06-17 Thread Max Savenkov
1) I'm not using QtCreator, but Visual Studio 2) Even if I did, adding file to RESOURCES variable would not allow me to put it inside my own package. While it might be OK to have separate resource packages for the main game and Qt, I'd like to avoid it if possible. 2016-06-17 13:58 GMT+03:00

Re: [Interest] Routing all QML file requests through a custom resource provider

2016-06-17 Thread Dmitry Volosnykh
Usually, you don't need to do anything to "register" you resources file. Basically, you add .qrc filename to RESOURCES variable inside qmake's project file. After that you are able to refer to its contents via "qrc" protocol (in terms of URI) for either QFile or QUrl, etc. By the way, have you

Re: [Interest] [Qt 3D] Entities with custom meshes disappear when there are many of them in one place

2016-06-17 Thread Oleg Evseev
If suddenly somebody are interested in this case, such behavior was related to PhongAlphaMaterial (even with alpha=1.0) in scene within Scene3D qml Item inside qml Loader. When using PhongMaterial instead everything works fine. I filed a JIRA about related issues:

Re: [Interest] How to set absolute Qt3D::QCamera rotation/orientation

2016-06-17 Thread Oleg Evseev
Qt3DRender::QCamera as an QEntity has QTransform component. You can get it with help of Qt3DCore::QTransform *transform() const function and then setTranslation, setRotation or setMatrix for it as you wish. Maybe that is what are you looking for? Regards, Oleg. 2016-06-08 14:32 GMT+03:00 Ola

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-17 Thread Sean Harmer
Hi, On Friday 17 June 2016 12:11:56 Xavier Bigand wrote: > I finally found a work around to fix my crash when loading models > after few unload. > > I simply release myself all children of the delete entity with the > following recursive method : > > > voidreleaseModel(Qt3DCore::QNode&

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-17 Thread Xavier Bigand
I finally found a work around to fix my crash when loading models after few unload. I simply release myself all children of the delete entity with the following recursive method : voidreleaseModel(Qt3DCore::QNode& model) { QEntity*entity = dynamic_cast();