On sábado, 18 de janeiro de 2020 02:03:33 PST Sze Howe Koh wrote:
> * There is no equivalent of qGuiApp for QCoreApplication and QApplication.
QCoreApplication::instance(), with suitable static_cast when you know what you
have.
> A) Update the documentation to say that qApp can change types. Lea
Hello,
I follow closely and contribute to the development of a
Qt-Graphics-View-based application, https://pgmodeler.io.
1. What is the expected overhaul work to do to adapt a CPU-based
QPainter application to the coming Qt6 Rendering Hardware Interface,
so as to benefit from GPU acceleratio
Den lör 18 jan. 2020 kl 11:05 skrev Sze Howe Koh :
>
> Currently,
>
> * The qApp macro changes type depending on which headers are included,
> and in what order. (If you #include but instantiate
> a QCoreApplication, qApp returns a QGuiApplication pointer)
> * The documentation says that the qApp
Currently,
* The qApp macro changes type depending on which headers are included,
and in what order. (If you #include but instantiate
a QCoreApplication, qApp returns a QGuiApplication pointer)
* The documentation says that the qApp macro is only valid if a
QApplication was instantiated. [1]
* Th