16, 2024 at 2:50 PM Ulf Hermann via Interest <
interest@qt-project.org> wrote:
> Hi Stefan,
>
>
> > I'd like to be able to replace that singleton instance over the course
> > of the application's workflow, but I couldn't find any indication in the
> > docs for w
Hello,
as per the Qt documentation (
https://doc.qt.io/qt-6/qqmlengine.html#QML_SINGLETON), I'm using a static
`create()` function to inject an existing C++ object as singleton into the
QML runtime.
I'd like to be able to replace that singleton instance over the course of
the application's
elated issue outstanding:
> https://bugreports.qt.io/browse/QTBUG-115166
>
> As a workaround, use Ninja instead of Makefiles, since Ninja wasn't
> affected by these issues.
>
>
> Regards,
> Sze-Howe
>
>
> On Sun, Oct 29, 2023, 06:04 Stefan Seefeld wrote:
>
>> H
Hello,
I just started using the `at_add_qml_model()` function, where the "backing
target" is a (shared) library. I notice that each time I call `make`, the
target is rebuilt. Specifically, the sequence
```
Running moc --collect-json for target XXX
Automatic QML type registration for target XXX
_POP \
> QT_ANNOTATE_CLASS(qt_qgadget, "") \
> /*end*/
>
> /* qmake ignore Q_GADGET */
> #define Q_GADGET Q_GADGET_EXPORT()
>
> On 10/28/23 00:05, Stefan Seefeld wrote:
> > Hi Uli,
> >
> > thank you for sharing that document, that's indeed very helpful.
Hi Uli,
thank you for sharing that document, that's indeed very helpful.
Following its examples, I was able to set up my singleton such that both
runtimes (C++, QML) would share the same instance.
Doing that I bumped into what I would consider a bug, probably in the MOC
infrastructure:
The
On Thu, Oct 26, 2023 at 2:53 AM Ulf Hermann via Interest <
interest@qt-project.org> wrote:
> The very common misconception I keep reading over and over is that C++
> singletons should be the same as QML singletons. They generally aren't.
> You can shoehorn a C++ singleton into a QML one, but if
Hello,
I'm trying to "modernize" a large code base that just migrated from Qt5 to
Qt6.
Our code is using a few singleton objects that used to be exported into the
QML runtime via `qmlRegisterSingletonInstance()`. But as it is now
recommended to move away from `qmlRegisterType()` (in favour of
k, or am I still fundamentally
misunderstanding how to use QML with Qt6 ?
Thanks,
On Tue, Oct 24, 2023 at 2:50 PM Stefan Seefeld wrote:
>
>
> On Tue, Oct 24, 2023 at 10:47 AM Ulf Hermann wrote:
>
>> > In our existing code we call `qmlRegisterType<...>(...)` in our regular
lets me explore the
various aspects that are still unclear (e.g. C++ -> QML type name mapping
etc.)
Thanks,
On Tue, Oct 24, 2023 at 11:22 AM Nils Jeisecke
wrote:
> Hi,
>
> On Tue, Oct 24, 2023 at 4:35 PM Stefan Seefeld
> wrote:
> > So it sounds like I still
On Tue, Oct 24, 2023 at 10:47 AM Ulf Hermann wrote:
> > In our existing code we call `qmlRegisterType<...>(...)` in our regular
> > C++ code (e.g., some shared libraries that the main application links
> to).
> > I thought that, to be able to use those types in stand-alone QML code,
> > I'd need
On Tue, Oct 24, 2023 at 10:11 AM Ulf Hermann wrote:
> > Most of the context would be injected into the QML runtime from C++ via
> > calls to `setContextProperty()`, as well as by defining additional QML
> > modules from C++ (via `qmlRegister...()`).
>
> This is where your architecture fails. By
Hi Ulf,
thank you for following up !
Yes, it's entirely possible I'm missing something fundamental, trying to
approach a problem from the wrong side, so let me give some context:
We are developing an application that's written mostly in C++ with a GUI
done in QML. The application architecture
Hello,
I'm trying to create a QML extension module using CMake, and I've run into
some road blocks.
I want to create a QML module including a "plugin", based on my own code
rather than an auto-generated plugin stub.
I assume I'll have to define my own plugin target and then use
Hi Jeremy,
thank you very much for following up !
On Fri, Sep 22, 2023 at 6:36 PM Jeremy Katz wrote:
>
> I went searching for Qt 6 references to QCoreApplication.quit, as this
> has changed from Qt 5. Qt 5 makes no promises.
> https://doc.qt.io/qt-6/qcoreapplication.html#quit says:
>
Hi Jeremy,
thanks for the quick reply !
On Fri, Sep 22, 2023 at 1:16 PM Jeremy Katz wrote:
>
> On 9/22/23 09:35, Stefan Seefeld wrote:
>
> > 1. run the above command, but click the "quit" button immediately. Thus
> > results in the error message `QObject::killTime
Hello,
I'm trying to establish a Python test methodology whereby a QApplication is
launched (and its event loop executed) in a secondary thread, while the
primary thread performs some "test scenario".
Summary: I'm unable to set this up, and it isn't clear why this isn't
working.
Details: please
into the function the warning goes away.
Does this suggest that PyQt5 itself instantiates a QApplication as a global
object ?
On Tue, Mar 28, 2023 at 4:16 PM Thiago Macieira
wrote:
> On Tuesday, 28 March 2023 06:16:52 PDT Stefan Seefeld wrote:
> > First I see
> > the error /
Hi again,
It looks like the problem is that pyqt5 creates some hidden Qt objects very
early (i.e. upon importing some modules). If I move the imports as well as
the `MainWindow` definition into the secondary thread, everything appears
to be working fine.
On Tue, Mar 28, 2023 at 9:16 AM Stefan
On Tue, Mar 28, 2023 at 3:04 AM Samuel Gaist wrote:
>
> Did you consider the use of pytest-qt[0] ?
>
I did indeed, but it seems its functionality isn't entirely suitable for my
needs: I really do need to run the event loop continuously in the
background (rather than occasionally running
Thanks all for the quick follow-up !
It's good to hear that what I have in mind *should* work. However, I'm
actually struggling a bit with the implementation. I have attached a very
simple test-case creating a simple (pyqt5) app. If I call the `main()`
function rather than `run_app()` directly,
Hello,
I'm working on some Python tests that interact with a Qt application. I
would like to run the application's event loop in a secondary thread, so
the primary thread can perform the test itself.
I read in the past that such a use-case wasn't supported by Qt, but I can't
find that
Hi Volker,
On Wed, Feb 8, 2023 at 11:20 AM Volker Hilsheimer
wrote:
>
> Hi Stefan,
>
>
> Where do you see the advantages of synchronously waiting for a state to be
> reached, when instead you can connect to the respective state’s entered()
> signal? The former might mak
Hi Roland,
thanks for your feedback !
I partially agree with your analysis. In particular, I'm not entirely sure
why the entire application logic needs to gravitate around a single event
loop. For user-input events this of course makes sense, as they are
naturally ordered and so conceptually we
Hello,
I haven't got any response to my question, but as the answer may really
help us simplify our code I'm sending it again.
Thanks for any help !
On Tue, Nov 22, 2022 at 9:02 AM Stefan Seefeld wrote:
> Hello,
> we are using Qt State Machines in a number of places in our applic
On Mon, Jan 9, 2023 at 7:10 PM Thiago Macieira
wrote:
The reason is what I stated: the qt-everywhere package is not as
> well-tested
> as the individual modules that compose it. The modules are tested on a
> daily
> basis by the CI. The everywhere package is not.
>
Yes, I understand what you
package.
On Mon, Jan 9, 2023 at 3:00 PM Thiago Macieira
wrote:
>
> On Monday, 9 January 2023 09:14:16 CST Stefan Seefeld wrote:
> > lrelease error: cannot create
> > '/home/user/srcdir/qt-build/build/qtbase/share/qt5/translations/qtwebsockets
> > _en.qm': No such file
Hi Axel,
I don't think I'll need web sockets (for now). Still, I tried configuring
with and without "-skip qtwebsockets", and both variants failed the same
way.
In fact, the configure step (even with using "-skip qtwebsockets" !) yields
-- Could NOT find Qt6WebSockets (missing:
-qtwebsockets_en.ts] Error 1
On Mon, Jan 9, 2023 at 9:51 AM Axel Spoerl via Interest <
interest@qt-project.org> wrote:
> We're testing Ubuntu 22.04 at present.
> Can't confirm a date though.
> --
> *Von:* Stefan Seefeld
> *Gesendet:* Montag,
Thanks. Is there a plan for any other LTS release that will work with
Ubuntu 22.04 ?
On Mon, Jan 9, 2023 at 9:29 AM Axel Spoerl via Interest <
interest@qt-project.org> wrote:
> Hi Stefan,
> pls note that Ubuntu 20.04 is supported on 6.2. Ubuntu 22.04 is known to
> have is
, 2023 at 1:02 AM Axel Spoerl via Interest <
interest@qt-project.org> wrote:
> Good morning Stefan,
> provided the build is on Linux, this is a known issue (
> https://bugreports.qt.io/browse/QTBUG-109046), fixed in 6.4.2.
> A workaround is downgrading to CMake 3.24 (3.24.2 work
I'm trying to compile Qt 6.2.6 from source (using the
qt-everywhere-src-6.2.6.tar.xz
source package) following instructions from
https://doc.qt.io/qt-6.2/build-sources.html, and I get the following error:
-- Could NOT find Qt6WebSockets (missing: Qt6WebSockets_DIR)
> CMake Warning at
>
I'm trying to compile Qt 6.2.6 following the instructions in
https://doc.qt.io/qt-6.2/build-sources.html, with cmake version 3.25.1
The `configure` step fails with
Unknown CMake command "check_for_ulimit".
Is this a known issue ? I can get a little further commenting out line 63
in
Hello,
we are using Qt State Machines in a number of places in our applications to
manage object states for certain types of objects. Occasionally I would
like to use and manipulate such objects in a non-event-driven context, i.e.
without a running event loop.
Short of a StateMachine function that
ith
PDBs while turning off PDB generation for QtWebEngine?
If not, can anyone give me a hint where to look to patch it myself?
Or has anyone some other idea/solution?
Best regards,
Stefan
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
Hi Shawn and Michal,
thank you very much, this is what we´re looking for. Looking at the commit log,
it seems our question was just in time.
Regards Stefan
-Ursprüngliche Nachricht-
Von: Shawn Rutledge
Gesendet: Dienstag, 11. Februar 2020 15:55
An: Neubert Stefan
Cc: interest@qt
le.
The qt blog about qtpdf in 2017 said something about adding QtQuick support,
but there has not been any work on it.
Any suggestion on how to properly implement qtpdf in QQuick or how to extend an
image provider with additional
meta data is welcome.
Rega
n on QML.
After the first Mails about the Klocwork error, I was wondering, when Roland would drip in.
To share my strategy: When I feel that the goal of an email is to get attention and the author is known to
attach more importance to showmanship than to make a contribution, my solution is to
JUST IGNORE IT!
Stefan
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
it as an unsigned integer (as one would expect) or with a fixed in-memory
order.
Von: Jason H
Gesendet: Freitag, 15. November 2019 00:42
An: Stefan Fabian
Cc: interest@qt-project.org
Betreff: Re: [Interest] QVideoFrame 32 bit formats byte order
Maybe you should use qRgb
memory is interpreted (consecutive
bytes [big-endian] or one 4 byte word per pixel [cpu dependent]).
Von: David M. Cotter
Gesendet: Donnerstag, 14. November 2019 21:04
An: interest@qt-project.org
Cc: Stefan Fabian
Betreff: Re: [Interest] QVideoFrame 32 bit formats
bug in the
docs/implementation or am I missing something?
Best regards,
Stefan Fabian
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
rmance impact possible (Downloading the texture and uploading it to
the native context would come to my mind but that'd be horrible with regards to
performance)?
Qt Version: 5.5.1
Desktop: NVidia GTX 1080 with OpenGL version 4.6 (GSLS 4.6)
Notebook: i7 8550U with OpenGL version 3 (GLSL 1.3)
Best,
) to ~1ms.
Thanks for the help and the links to Giuseppe.
Best,
Stefan
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
native OpenGL texture.
The alternative might be to create a QOpenGLFramebufferObject on OGRE's
underlying OpenGL texture (I can get the GLID) and blit the FBO's but I
couldn't see any way of attaching a QOpenGLFramebufferObject to an existing
texture if that's even possible.
Best,
Stefan
Cod
).
Best regards and thank you for taking your time to read until here, Stefan
Texture generation:
//
Ogre::OverlayManager _manager = Ogre::OverlayManager::getSingleton();
ogre_overlay_ = overlay_manager.create( "overlay" );
Okay, thanks. This could have been written more clear on the webpage
From: Jean-Michaël Celerier [mailto:jeanmichael.celer...@gmail.com]
Sent: Montag, 29. Jänner 2018 19:57
To: Walter Stefan <stefan.wal...@lisec.com>
Cc: Konstantin Tokarev <annu...@yandex.ru>; interest@qt-project
Stefan <stefan.wal...@lisec.com>; interest@qt-project.org
Subject: Re: [Interest] QWebView vs. QWebEngine
29.01.2018, 17:08, "Walter Stefan" <stefan.wal...@lisec.com>:
> Thanks for the quick response.
>
> Is there a web-link that supports this, or where can I seen th
Thanks for the quick response.
Is there a web-link that supports this, or where can I seen the licenses to the
Qt modules?
Best Regards,
Stefan
-Original Message-
From: Konstantin Tokarev [mailto:annu...@yandex.ru]
Sent: Montag, 29. Jänner 2018 18:05
To: Walter Stefan <stefan.
a
QQuickRenderControl to handle focus by itself?
Qt version is 5.5.1
Best,
Stefan
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Hi.
I need to do something very simple - use OpenGL extensions in my Qt
code. For this, I've found this link [1] which says the best way is
the QtOpenGLExtensions module. But this module doesn't exist in the
documentation. Does anyone know why?
TIA,
Stefan
[1] http://www.kdab.com/opengl-in-qt-5
t;
destructor: "test.pdf:1"
destructor: "test.pdf:2"
run finished: "test.pdf:2"
run finished: "test.pdf:1"
bash: line 1: 14884 Segmentation fault DISPLAY=':0.0'
QT_QPA_EGLFS_PHYSICAL_HEIGHT='268.11' QT_QPA_EGLFS_PHYSICAL_WIDTH='476.64'
/home/pi/t
, if someone knows if there´s already a working
toolchain for a linux x86 host supporting armv8-a+crc.
Regards
Stefan
HEKATRON Technik GmbH
Bruehlmatten 3a - 9
D-79295 Sulzburg
Reg.-Ger. Freiburg HRB 300243
Geschaeftsfuehrer:
Michael Roth, Armin Berchtold
Telefon +49 7634 500-0
Telefax +49 7634 500-316
ay. I can use it then in the script:
value = sqrt(4);
I actually don't want to map a whole QObject, because that would require a call
like this:
value = MyMath.sqrt(4);
Is there any way to achive in QJSEngine the same result as I do within the
QScriptEngine?
Best Regards,
Stefan
_
e-dir for https QNetworkRequest and CONFIG += openssl-linked
Start unified installer with the created user repository.
Von: Carel Combrink [mailto:carel.combr...@gmail.com]
Gesendet: Freitag, 13. Mai 2016 12:06
An: Neubert Stefan
Cc: interest@qt-project.org
Betreff: Re: [Interest] Qt unified installer b
Hi everyone,
for a long time now I used the online installer to download and update the open
source version of qt and creator behind our companies proxy. Lately we got a
new proxy and the download of the meta.7z files now causes an icap error
because of our antivirus unable to decompress the
qrt() method without the
instance.
i.e. sqrt(4);
Thanks for your suggestion.
Best Regards,
Stefan
-Original Message-
From: Interest [mailto:interest-bounces+stefan.walter=lisec@qt-project.org]
On Behalf Of Stephen Bryant
Sent: Dienstag, 23. Februar 2016 15:12
To: interest@qt-
ay. I can use it then in the script:
value = sqrt(4);
I actually don't want to map a whole QObject, because that would require a call
like this:
value = MyMath.sqrt(4);
Is there any way to achive in QJSEngine the same result as I do within the
QScriptEngine?
Best Regards,
Stefan
_
Hi,
I would like to upgrade to Qt 5.4, but I am thinking to wait as it
seems that 5.4.1 is around the corner.
Can someone give me an expected release date for 5.4.1?
Thanks Regards,
Stefan
__
The content of this e-mail is confidential and restricted for the use
and friends, but do not see how I can apply it with
multiple themes. Or should I write my own QIconEnginePlugin?
BTW: Ease of use is more important than ease of implementation.
Any tip is appreciated.
Thanks,
Stefan
___
Interest mailing list
Interest
The qmake variable PRE_TARGETDEPS might be what you are looking for.
By using this variable in your project file, you should be able to
specify the dependencies to the static library.
Von: Vincent Cai w...@cypress.com
An:Thiago Macieira thiago.macie...@intel.com,
interest@qt-project.org
Hi Vincent,
please post also your .pro file content with the PRE_TARGETDEPS
specification of yours.
Thanks,
Stefan
Von: Vincent Cai w...@cypress.com
An:Stefan Walter stefan.wal...@lisec.com, interest@qt-project.org
interest@qt-project.org
Datum: 23.1.2013 11:31
Betreff: Re: [Interest] How
Hi,
has anyone noticed a change in the project dependencies since
Qt-Creator 2.5.0?
We are facing the issue that the build system is not building anymore
projects which are selected as dependent projects.
Any input will be helpfull.
Cheers,
Stefan
Me too, it gets more and more important to use x64 applications.
I hope Digia considers this.
Von: techabc tech...@gmail.com
An:interest@qt-project.org
Datum: 12.9.2012 9:56
Betreff: Re: [Interest] Does Digia plan to ship Qt5.0 64bit library for Windows
64bit OS?
I also Hope that Digia
Thanks for this information - you are right.
By the way - the x86 is really totaly confusing.
Von: leonard@nokia.com
An:interest@qt-project.org
Datum: 12.9.2012 12:25
Betreff: Re: [Interest] Does Digia plan to ship Qt5.0 64bit library for Windows
64bit OS?
Am 09.08.2012 um 21:49 schrieb BRM bm_witn...@yahoo.com
bm_witn...@yahoo.com:
From: Lorn Potter lorn.pot...@gmail.com
To: Till Oliver Knoll till.oliver.kn...@gmail.com
Cc: Qt Project interest@qt-project.org
Sent: Thursday, August 9, 2012 7:54 AM
Subject: Re: [Interest] Digia to acquire Qt
, but i am not lucky at all.
I need this in a Windows application.
What would be the right approach of implementation in this case?
Thanks, Stefan
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
the existence of the Qt project.
Regards,
Stefan
Am 16.06.2012 um 12:17 schrieb Lorn Potter lorn.pot...@gmail.com
lorn.pot...@gmail.com:
On 16/06/2012, at 5:37 PM, d3fault wrote:
Now that all the Nokia devs live in trash cans, I guess it's up to us to
further [the?] QThe Project
Sorry, we're
respect since a very long time!!!
Regards,
Stefan
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
On 10.06.2012, at 17:06, Till Oliver Knoll till.oliver.kn...@gmail.com
till.oliver.kn...@gmail.com wrote:
Am 09.06.12 12:54, schrieb jason.mcdon...@nokia.com:
...There is not yet a Qt SDK that includes Qt 4.8.2 (the wiki is wrong and
I'll attempt to get that corrected).
Ah well :) I was
.
Thank you for your input
Stefan
From: Diego Schulz dsch...@gmail.com
To: interest@qt-project.org interest@qt-project.org
Sent: Thursday, May 24, 2012 12:41 AM
Subject: Re: [Interest] submit policy
On Mon, May 21, 2012 at 9:15 AM, Stefan noho...@yahoo.com
Hello,
this question is about the submit policy in QDataWidgetMapper.
There is an AutoSubmit, which submits to the itemModel on focus lost.
Also, there is a ManualSubmit, submitting only when called programatically.
I prefer to use the auto submit policy, since I don't want to have an ok
button
,
the quick answer should be
set(CMAKE_AUTOMOC TRUE)
Probably before add_library(). Have not tried it though, see the
linked article for details.
So, does anyone know how to setup cmake to churn out a static library from
Qt code?
add_library(foobar STATIC ${foobar_SOURCES})
Greetings
Stefan
72 matches
Mail list logo