OK I just thought it was deprecated because starting my Qt Widgets-based application gives me the following errors:
FATAL [0] - Cannot create window: no screens available
Uncaught RuntimeError: Aborted(native code called abort())
at abort (custoservicecenter.js:844:41)
at __abort_js (custoservicecenter.js:6355:3)
at custoservicecenter.wasm.abort (custoservicecenter.wasm:0x3f81359)
at custoservicecenter.wasm.qAbort() (http://localhost:6931/custoservicecenter.wasm)
at invoke_v (custoservicecenter.js:15156:29)
at custoservicecenter.wasm.qt_message(QtMsgType, QMessageLogContext const&, char const*, void*) (http://localhost:6931/custoservicecenter.wasm)
at invoke_viiii (custoservicecenter.js:15011:29)
at custoservicecenter.wasm.QMessageLogger::fatal(char const*, ...) const (http://localhost:6931/custoservicecenter.wasm)
at custoservicecenter.wasm.QWindowPrivate::init(QWindow*, QScreen*) (http://localhost:6931/custoservicecenter.wasm)
at custoservicecenter.wasm.QWindow::QWindow(QWindowPrivate&, QWindow*) (http://localhost:6931/custoservicecenter.wasm)