[Interest] Print Preview with different page orientations in one document

2022-11-02 Thread Petric Frank
Hello, i try to print a document mixed Portait/Landscape pages. Platform ist Linux Qt is at version 5.15.5 The first page should be shown in portait, the second in landscape. But here all pages are shown in landscape. The preview always uses the same page height (here: the one of landscape). Wh

Re: [Interest] qt_add_qml_module and not embedding QML files

2022-11-02 Thread Ulf Hermann via Interest
2. The app is primarily widgets, but we use QML inside QQuickView, inside container widgets. So when the app starts 3 or 4 QML engines are created. That is a problem. The preview can only handle a single QML engine so far. You should see the following error message: " QML engines available.

Re: [Interest] qt_add_qml_module and not embedding QML files

2022-11-02 Thread Benjamin TERRIER
On Wed, 2 Nov 2022 at 09:32, Ulf Hermann via Interest < interest@qt-project.org> wrote: > > Can you try to construct a minimal example that reproduces the problem > and create a bug report? > One significant difference between QML debugger and QML preview is that > the debugger uses a TCP connec

Re: [Interest] qt_add_qml_module and not embedding QML files

2022-11-02 Thread Ulf Hermann via Interest
You probably have to enable QML debugging and profiling in the build and run settings. It is already, and it works. I can set breakpoints in QML and it works as expected. Can you try to construct a minimal example that reproduces the problem and create a bug report? One significant d