[Interest] Issues loading Qt's meta catalog translation files

2020-07-02 Thread Julius Bullinger
Hi, from the Qt Linguist documentation [1]: In Qt 4, there is one big, monolithic .qm file per locale. For > example, the file qt_de.qm contains the German translation of all > libraries. > > In Qt 5, the .qm files were split up by module and there is a > so-called meta catalog file which inc

Re: [Interest] Handling WM_QUIT messages when no window is shown

2020-05-07 Thread Julius Bullinger
On 06.05.2020 14:57, Henry Skoglund wrote: Hi, when running apps on Windows without a window, you'll be missing out on a lot of inter-process stuff like WM_QUIT (that's why it's common for windowless apps to create a hidden, non-interactive window just to be able to receive all those WM_XXX). S

[Interest] Handling WM_QUIT messages when no window is shown

2020-05-06 Thread Julius Bullinger
Usually, sending a WM_QUIT message to a QApplication triggers the QCoreApplication::aboutToQuit() signal, e.g. when ending the application via Windows's Task Manager, or using "taskkill /PID ". We discovered that no aboutToQuit() signal is emitted when a QApplication without windows receives a

Re: [Interest] Fwd: vs. Flutter

2019-02-21 Thread Julius Bullinger
On 21.02.2019 15:44, Christian Gagneraud wrote: Qt is free (on mobile), free as in liberty, as long as your application is free, as in liberty. That's basic (L)GPL rules. Now there's the business rules: If you want your (mobile) app to be non-free (as in proprietary), then you'll have to pay the

Re: [Interest] {macOS} Qt Installer insists on installing 5.11.2 snapshot

2018-09-19 Thread Julius Bullinger
Hi Andy, On 12.09.2018 19:50, Andy wrote: (Posted in the forum - no response - but thought I'd mention it here as well to see if others have the same problem.) macOS 10.12.6 - run maintenance tool (v 3.0.1) - choose Add or remove components - deselect all new things (Qt 5.11.2 snapshot) - des

Re: [Interest] Qt 5.6.1(-1) release for Visual Studio 2010?

2016-07-29 Thread Julius Bullinger
-Ursprüngliche Nachricht- Von: Interest [mailto:interest-bounces+julius.bullinger=asctec...@qt-project.org] Im Auftrag von Thiago Macieira Gesendet: Donnerstag, 28. Juli 2016 18:08 Uhr An: interest@qt-project.org Betreff: Re: [Interest] Qt 5.6.1(-1) release for Visual Studio 2010? > On q

Re: [Interest] Native event filter in QtService

2016-06-24 Thread Julius Bullinger
this may be Window’s fault.) Thanks for this suggestion! Best regards, Julius Von: Konstantin Shegunov [mailto:kshegu...@gmail.com] Gesendet: Freitag, 24. Juni 2016 11:36 Uhr An: Julius Bullinger Cc: Interests Qt Betreff: Re: [Interest] Native event filter in QtService Hi, If I may be so bold

Re: [Interest] Native event filter in QtService

2016-06-24 Thread Julius Bullinger
stall. Regards, Tony From: Interest [mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] On Behalf Of Julius Bullinger Sent: Friday, 24 June 2016 5:25 PM To: interest@qt-project.org<mailto:interest@qt-project.org> Interest Subject: [Interest] Native event filter in QtService I'm

[Interest] Native event filter in QtService

2016-06-24 Thread Julius Bullinger
I'm trying to write a small (windows only) service based on QtService [1] listening for some USB device events. For this, I created a NativeDeviceEventFilter class based on QAbstractNativeEventFilter. It works perfectly when used in a QCoreApplication. Now, when installing this event filter in

Re: [Interest] About Qt StyleSheet

2016-05-31 Thread Julius Bullinger
As said in the [development] thread, this is most probably https://bugreports.qt.io/browse/QTBUG-52230, which is fixed in Qt 5.6.1 (to be released in a few days). Best regards, Julius ___ Interest mailing list Interest@qt-project.org http://lists.qt-p

Re: [Interest] Failed to install Qt 5.6.0 on a headless server via install script

2016-05-10 Thread Julius Bullinger
As a workaround, you can skip installing Qt Creator via the “--no-force-installations” option. Maybe this will help with the error. Nevertheless, *if* headless installation is officially supported, this should probably not happen and be filed as a bug. Best regards, Julius _

Re: [Interest] CLion to replace QtCreator?

2016-04-05 Thread Julius Bullinger
On Monday, 4. April 2016 18:23, Thiago Macieira wrote: >>9. Multiple cursors (see the demo on SublimeText's home page - its epic, >>and Atom badly implements it), > > Explain. Sounds intriguing. It's better shown than explained, see e.g. http://i.stack.imgur.com/TMRK3.gif and https://pac

Re: [Interest] How to create local mkspec for gcc5 compiler

2016-03-10 Thread Julius Bullinger
Hello Roland, one thing I’m doing as a workaround in this situation is changing the default compiler via the alternative system: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 sudo update-alternatives --config gcc From this point

[Interest] Efficient QString construction

2015-12-15 Thread Julius Bullinger
Hello, What is the currently recommended way to concatenate several QStrings and/or string literals? Take this code as an example: QImage img; QString getProjectDir(); // ... QString basename = QFileInfo(imgPath).baseName(); QString thumbPath = getProjectDir() + "/thumb_" + basename + ".j

Re: [Interest] Changes in Qt 5.6 on Windows HiDPI

2015-11-13 Thread Julius Bullinger
Hello Adam, do you use the new environment variables QT_AUTO_SCREEN_SCALE_FACTOR=1 ? Additionally, make sure to unset the deprecated QT_DEVICE_PIXEL_RATIO. You can do this in your shell for testing, and programmatically with qputenv [1]. Best regards, Julius Von: Interest [mailto:interest-bo

Re: [Interest] How are High DPI Icons supposed to work?

2015-09-29 Thread Julius Bullinger
On Tuesday, 29 September 2015 08:32 Thiago Macieira wrote: > And QT_DEVICE_PIXEL_RATIO is deprecated -- it will print a qWarning in Qt 5.6 > now. Please don't set it. I know about the upcoming changes in 5.6, but AFAIK this the only option in 5.5 right now. But please enlighten me if there's a b

Re: [Interest] How are High DPI Icons supposed to work?

2015-09-29 Thread Julius Bullinger
On 29/09/15 08:51, Hamish Moffatt wrote: > On 29/09/15 16:27, Julius Bullinger wrote: >> They are only used where I explicitly requested the @2x icon. Maybe I >> misunderstand the whole thing, but I was under the impression that the >> i...@2x.png file should be used tran

Re: [Interest] How are High DPI Icons supposed to work?

2015-09-28 Thread Julius Bullinger
On 29/09/15 08:12, Hamish Moffatt wrote: >>> Your code looks ok. You didn't say what the problem was? >> You're right, I'm sorry for that. As you can see in the attached screenshot, >> the @2x icon is not actually used in a high DPI/DPR application: > I'm still a bit confused, as it looks like the

Re: [Interest] How are High DPI Icons supposed to work?

2015-09-28 Thread Julius Bullinger
> Your code looks ok. You didn't say what the problem was? You're right, I'm sorry for that. As you can see in the attached screenshot, the @2x icon is not actually used in a high DPI/DPR application: QPushButton* pbCustom = new QPushButton(); pbCustom->setText(tr("QPushButton w/ pixmap"

[Interest] How are High DPI Icons supposed to work?

2015-09-25 Thread Julius Bullinger
Dear List, is there any clear and concise How To for High DPI icons/pixmaps? I gathered some information from several Wiki pages, Blog posts and documentation pages [1-7], but no luck. My MNWE (minimal not working example): // from main.cpp int main(int argc, char *argv[]) { QApplication a(a

Re: [Interest] How to filter QFileSystemModel for use in QML

2015-08-17 Thread Julius Bullinger
On 17 Aug 2015, at 09:23, Rutledge Shawn < shawn.rutle...@theqtcompany.com > wrote: > Have you tried FolderListModel? Also a good suggestion which I didn't knew before. But in this case, I'm using extended QFileSystemModel and QSortFilterProxyModel classes to provide additional meta informatio

Re: [Interest] How to filter QFileSystemModel for use in QML

2015-08-13 Thread Julius Bullinger
Curtis Mitch [mailto:mitch.cur...@theqtcompany.com] wrote on Thursday, 13. August 2015 14:27 Uhr: > I'm not sure about the rest of your question, but TreeView has a rootIndex > property in 5.6: > https://codereview.qt-project.org/#/c/121991/ While I don't quite understand the reasoning for ``s

Re: [Interest] How to filter QFileSystemModel for use in QML

2015-08-13 Thread Julius Bullinger
Nikita Krupenko [mailto:krne...@gmail.com] wrote on Thursday, 13. August 2015 15:01 Uhr: > Have you tried DelegateModel? It is like a proxy and allows you to set root > index: > http://doc.qt.io/qt-5/qml-qtqml-models-delegatemodel.html#rootIndex-prop This seems like a decent solution, although

[Interest] How to filter QFileSystemModel for use in QML

2015-08-13 Thread Julius Bullinger
Dear list, I'm having problems using QFileSystemModel in QML. Take the following example code: // QQmlEngine* engine QFileSystemModel* fsm = new QFileSystemModel(engine); QModelIndex root = fsm->setRootPath("C:/Qt"); engine->rootContext()->setContextProperty("fileSystemModel", fs