Re: [Interest] QtHttpServer License

2024-10-23 Thread Dmitriy Purgin
Hello André, judging by marketing changes coming from The Qt Company [1] since at least 2020, I would generally not expect a GPL to LGPL switch in any foreseeable future. If this is an important component in your software that you rather implement with Qt, you can look into Qt commercial licensing

Re: [Interest] Installer problems

2023-07-04 Thread Dmitriy Purgin
To be honest, I've been experiencing a similar issue for the past several weeks, but the timeouts were mainly during repo refresh. After a couple of retries, it worked again, and visiting download.qt.io in the browser also worked without timeouts, so I always thought this was some problem on my end

Re: [Interest] can't dump QStringList with qDebug()

2023-03-07 Thread Dmitriy Purgin
Hi, I'm sure you have already tried it, but just a wild guess: do you have #include in this .cpp file? Cheers Dmitriy On Tue, Mar 7, 2023 at 11:04 AM Hamish Moffatt via Interest < interest@qt-project.org> wrote: > On 7/3/23 20:11, Kai Köhne wrote: > > Hi, > > > > This looks like a compiler iss

Re: [Interest] Windows installer for Qt programs

2020-04-21 Thread Dmitriy Purgin
Hello Alexander, you could try Qt Installer Framework: https://doc.qt.io/qtinstallerframework/index.html Cheers Dmitriy On Tue, Apr 21, 2020 at 9:20 AM "Alexander Carôt" wrote: > Hello all, > > I consider shipping my Qt built software with a conventional installer on > Windows. > > Can anyone

Re: [Interest] Stepping into Qt sources (Qt 5.14, MinGW 64-bit)

2020-01-27 Thread Dmitriy Purgin
I agree with Ulf, sometimes stepping into release sources gives you a rough idea of what is going on, assess whether you can fix it and if it is reasonable to go through the whole process of building/debugging your own Qt version. That's not what I usually do in my work, so it takes an effort. Che

Re: [Interest] Stepping into Qt sources (Qt 5.14, MinGW 64-bit)

2020-01-26 Thread Dmitriy Purgin
Hi Thiago, thanks for clarifying! Will do Cheers Dmitriy On Sun, Jan 26, 2020 at 12:23 AM Thiago Macieira wrote: > On Saturday, 25 January 2020 10:53:23 PST Dmitriy Purgin wrote: > > With version 5.14 I can't debug into the Qt sources anymore, although > I've >

[Interest] Stepping into Qt sources (Qt 5.14, MinGW 64-bit)

2020-01-25 Thread Dmitriy Purgin
Hi all, Since 5.14 the MinGW version of Qt does not include debug libraries. With the previous versions of Qt, if I wanted to step into the Qt sources, I used to install the sources with the online installer, pointed to the sources directory in Debugger Options in Qt Creator, and it just worked.

Re: [Interest] Tricks to improve moc performance?

2019-12-06 Thread Dmitriy Purgin
Hi Giuseppe, > This trick is used in several places in Qt itself (look for "includemoc" > in commits). Not only it helps build times but also it produces slightly > better code overall. Could you please elaborate what exactly do you mean under 'better code'? How does including the xxx_moc.cpp aff

Re: [Interest] Android: can QCoreApplication::exec() be terminated unexpectedly?

2019-11-30 Thread Dmitriy Purgin
Hi Alexander, I'm not an Android expert nor have I written a Qt/Android application other than small demos but what I remember from Java/Android application lifecycle, an application consists of "activities" that may be paused/unloaded/terminated by the operating system at any time due to various

[Interest] Fwd: windeployqt

2019-11-27 Thread Dmitriy Purgin
Sorry, forwarding this back to the mailing list -- Forwarded message - From: Dmitriy Purgin Date: Wed, Nov 27, 2019 at 8:12 PM Subject: Re: [Interest] windeployqt To: Jason H Hi Jason, which command line arguments did you use in windeployqt, which directory structure does

Re: [Interest] qtcreator cpu usage

2019-02-06 Thread Dmitriy Purgin
Hi, try turning off the Clang Code Model plugin and see if it helps Cheers Dmitriy On Wed, Feb 6, 2019 at 8:41 PM jlk wrote: > Every once in a while Qt Creator (5.12.0 linux, and also previous > version) revs my laptops fans up to maximum speed for about a minute > when nothing is going on (no

Re: [Interest] clang-tidy version in Qt Creator

2019-02-05 Thread Dmitriy Purgin
Well, try turning on more clang-tidy and clazy checks than the default shipment of Qt Creator has! ;-) With a project of a decent size your PC's fans will be blowing all the time like mining is still a thing! Cheers On Tue, Feb 5, 2019 at 1:04 PM Nikos Chantziaras wrote: > On 05/02/2019 09:34,

Re: [Interest] Weird sizing in Qt Designer 5.12.0 with hi-res screen

2019-01-23 Thread Dmitriy Purgin
Off topic but out of curiosity: what is the software you have on your screenshot? A harmony learning helper or some kind of a harmony progression generator? Cheers Dmitriy On Wed, Jan 23, 2019 at 2:52 AM Tony Rietwyk wrote: > Hi Everybody, > > I have recently installed a hi-res screen 3840 x 21

Re: [Interest] How to deal with database specific syntax

2015-02-11 Thread Dmitriy Purgin
m Thu, 12 Feb 2015 08:59:18 +0600 > schrieb Dmitriy Purgin : > > > Hi, > > > > Actually I don't think it's a Qt-related question but here's my approach > to > > it. > > > > Since you struggle with both syntaxes, you may want to try and >

Re: [Interest] How to deal with database specific syntax

2015-02-11 Thread Dmitriy Purgin
ta as it can be. Regards Dmitriy Purgin 2015-02-11 18:54 GMT+06:00 pmqt71 : > Hi all, > > in my Qt application I've to duplicate sql instructions for MySql and > Postgres due to different sql syntax. > Most problems are on date types. For instance, MySql has DATEDIFF, > Postgres

Re: [Interest] QtConcurrent and event-driven objects

2015-01-27 Thread Dmitriy Purgin
cted, the thing is I want to refactor my code to utilize more library facilities which seem to be less error-prone, more maintainable and unified. Thanks again for joining the discussion. Cheers Dmitriy 2015-01-27 14:28 GMT+06:00 Bo Thorsen : > On 01/26/2015 11:56 AM, Dmitriy Purgin wrote: &g

[Interest] QtConcurrent and event-driven objects

2015-01-26 Thread Dmitriy Purgin
Hi, I'm using Qt to power an application server with multithreaded TCP listener and maintenence tasks running in separate threads. The TCP listener runs in main thread and spawns a separate thread to handle socket operation. The socket is being created when the thread is running using a socket des

Re: [Interest] Best practices for making a Qt facade for a C library

2015-01-14 Thread Dmitriy Purgin
GMT+01:00 Ian Monroe : > > On Tue, Jan 13, 2015 at 10:57 AM, Dmitriy Purgin > wrote: > >> > >> Hello all, > >> > >> I'm developing a small Qt project for SailfishOS (a Linux distribution, > >> Meego descendant, Qt 5 based) and had to use som

Re: [Interest] Best practices for making a Qt facade for a C library

2015-01-14 Thread Dmitriy Purgin
roe : > On Tue, Jan 13, 2015 at 10:57 AM, Dmitriy Purgin > wrote: > >> Hello all, >> >> I'm developing a small Qt project for SailfishOS (a Linux distribution, >> Meego descendant, Qt 5 based) and had to use some of PulseAudio (a sound >> server for PO

[Interest] Best practices for making a Qt facade for a C library

2015-01-13 Thread Dmitriy Purgin
Hello all, I'm developing a small Qt project for SailfishOS (a Linux distribution, Meego descendant, Qt 5 based) and had to use some of PulseAudio (a sound server for POSIX OSes) API functions which are pure C. I've wrapped them in a couple of classes but it's evolving to something bigger now and

Re: [Interest] QThreadPool & writing to the DB

2014-08-19 Thread Dmitriy Purgin
situation where the query threads are queued for running instead of actual running [2]. [1] http://qt-project.org/doc/qt-4.8/qthreadpool.html#maxThreadCount-prop [2] http://qt-project.org/doc/qt-4.8/qthreadpool.html#start 2014-08-19 17:46 GMT+06:00 Dmitriy Purgin : > Hi, > > In additi

Re: [Interest] QThreadPool & writing to the DB

2014-08-19 Thread Dmitriy Purgin
Hi, In addition to what Sze-Howe told, you should consider the backend used by the Qt database driver. In your case of SQLite you could end up in a situtation where multiple simultaneous INSERT queries seriously degrade the performance of SQLite engine which uses file locks to isolate transactions

Re: [Interest] QHash memory management

2014-08-05 Thread Dmitriy Purgin
Hi, take a look at qDeleteAll() function: http://qt-project.org/doc/qt-5/qtalgorithms.html Cheers 2014-08-06 3:50 GMT+06:00 Giuseppe D'Angelo : > On 5 August 2014 23:24, preeteesh kakkar wrote: >> Yes, you do need to delete them. You can keep them as scoped_ptr instead of >> raw pointer. > > Y

Re: [Interest] Preventing QUrl from encoding query parameters

2014-08-02 Thread Dmitriy Purgin
Hi, If you pass this raw QString or QByteArray somewhere, why use QUrl then? Anyway, try QUrl::fromPercentEncoding(): QUrl url("http://example.com?query=[{\"name\":\"value\"}]";); qDebug() << QUrl::fromPercentEncoding(url.toEncoded()); // produces: "http://example.com?query=[{"name":"

Re: [Interest] Server application is crashing.

2014-07-07 Thread Dmitriy Purgin
;t use Qt3-compatibility classes. Our server application uses QtCore, QtNetwork, QtSql and QtXml and performs mostly SQL quering, serving static content and proxying some requests to other servers. Cheers Dmitriy Purgin 2014-07-07 16:11 GMT+06:00 william.croc...@analog.com : > On 07/06/2014 10:19 PM, Th

[Interest] Qt 5.2.1 on Linux: QAudioInput::bytesReady() behaviour

2014-07-06 Thread Dmitriy Purgin
ll() whenever QIODevice::readyRead() is emitted, although it doesn't seem to be efficient due to repeated remove() calls after the samples are processed by the encoder. Could someone please tell if there is a way of "peeking" available bytes in QIODevice without actually reading from