Re: [Interest] Outdated documentation detail
Hi Nuo, thanks for the heads up! This will get fixed in the next releases ( https://codereview.qt-project.org/c/qt/qtdeclarative/+/556227 ). Just FYI, the more reliable process for also documentation bugs is to go to https://bugreports.qt.io, and file a bug for the 'Documentation' component. Regards Kai From: Interest on behalf of Nuno Santos via Interest Sent: Wednesday, April 17, 2024 9:18 To: interestqt-project. org Subject: [Interest] Outdated documentation detail Hi, I just wanted to share that the following documentation is outdated: https://doc.qt.io/qt-6/qtquick-scenegraph-metaltextureimport-example.html It makes references to QQuickWindow::createTextureFromNativeObject() but this method is now found under: QNativeInterface::QSGOpenGLTexture::fromNative(…) I’ve only found this actually looking at the example rendercontrol_opengl Regards, Nuno ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] Embedded Font in PDF
Hi Zander, > For some reason the font “chosen” by Qt is Tahoma, nowhere in my code do > I specify a font. Tahoma is indeed the default font Qt uses on Windows. > When viewing the pdf in Adobe reader I noticed that Qt embedded a subset of > Tahoma [...] Is this legal? IANAL. Anyhow, Qt does seem to respect the flags that indicate the usage permissions of a font in the font metadata (fsType). If you have doubts, you can always just disable the embedding of fonts at all, see QPrintEngine::PPK_FontEmbedding . Kai ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] can't dump QStringList with qDebug()
Hi, This looks like a compiler issue to me. > const auto connections = QSqlDatabase::connectionNames(); > qDebug() << "Closing open connections:" << connections; > > claiming that > ../../../src/server/server_database.cpp:691:45: error: invalid operands to > binary expression ('QDebug' and> > 'const QList') I think this is the place where it goes wrong: > ../../../../Qt6.4.2/6.4.2/gcc_64/include/QtCore/qdebug.h:217:53: note: > candidate template ignored: requirement > 'std::conjunction_v, > QString>, QTypeTraits::has_ostream_operator>>' was not > satisfied [with T = QString] > inline QDebugIfHasDebugStreamContainer, T> operator<<(QDebug debug, > const QList &vec) > ^ Anyhow, I couldn't reproduce this in a minimal example (and apparently you didn't manage either?). At minimum we need the exact compiler + compiler options passed on command line. I also suggest to move this to bugreports.qt.io. Regards Kai ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest