[Interest] QtCreator crash on wayland

2021-02-10 Thread Manner Róbert
Hi, I have tried a workday with wayland (sway) and am using QtCreator. I observe, after running it for 1-2 hours QtCreator crashes. (I had 3-4 crashes today.) When it happens, I am using its GUI to do something in its text editor, and then it suddenly disappears. I mean, I am not switching mo

[Interest] custom string encoder/decoder

2022-06-20 Thread Manner Róbert
Hi, previously we used QTextCodec to implement our custom (ebcdic) text codecs. We mainly used these for iterating through the available codecs and as an abstraction for doing an actual conversion from codec -> utf-8. As far as I see, there is no similar API in Qt6 (except from qt5compatib

[Interest] crash saving image from multiple threads

2016-05-09 Thread Manner Róbert
Hi, we are porting a library from Qt4 -> Qt5 and we have an interesting crash which seems to occur if our code does image saving on multiple threads. It seems not crash if run on one thread, and also seems not crash if the first call to the save image is done before starting the threads. We see t

[Interest] strange behaviour of QRegion::contains(QRect)

2018-08-28 Thread Manner Róbert
Hi, Works, as it is documented, but I think QRegion::contains(QRect) is a bit confusing. Example:   QRect bigRect(0, 0, 10, 10);   QRegion smallRegion;   smallRegion += QRect(0, 0, 1, 1);   smallRegion.contains(bigRect.bottomRight())  --> returns false of course, bigRect is bigger   smallRegio

[Interest] QDir::entry(Info)List on macos

2018-11-14 Thread Manner Róbert
Hi, I would like to list all files and directories in a folder on macos (High Sierra). Unfortunately everything seems to miss filenames with accented letters, eg éáűúőóüí. If the filename contains at least one of these, it is silently ignored from the list. Here is a test program to reproduce: #

Re: [Interest] QDir::entry(Info)List on macos

2018-11-14 Thread Manner Róbert
On 11/14/18 5:34 PM, Thiago Macieira wrote: > On Wednesday, 14 November 2018 01:34:17 PST Manner Róbert wrote: >> int main() { >> qDebug() << QDir(".").entryList(); > QCoreApplication missing. Try again with it. > Tried, without success, still does not

Re: [Interest] QDir::entry(Info)List on macos

2018-11-15 Thread Manner Róbert
ed for > QFile constructor will have a wrong unicode storage of your wanted > filename, then will try to convert what it thinks is UTF into your > local encoding to pass the filename to the system calls. Maybe the mac > explorer can work around this and adjust the displayed name, but

Re: [Interest] QDir::entry(Info)List on macos

2018-12-12 Thread Manner Róbert
missing something, but this seems weird to me. Robert 2018. nov. 16., P 0:40 dátummal Henry Skoglund ezt írta: > On 2018-11-15 17:07, Thiago Macieira wrote: > > On Thursday, 15 November 2018 05:54:22 PST Manner Róbert wrote: > >> Hope it is useful for someone. To be honest, I al

[Interest] quick test does not log to standard output

2017-01-30 Thread Manner Róbert
Hi, I am using "qmltestcase" to write some unit test for out application. I have noticed that when I am checking the windows version with wine, it does not show any output (if the tests have passed or failed). I did sevaral trials to fix: - CONFIG += console - supplying the argument to the test r

[Interest] qt installer fatal success

2017-02-20 Thread Manner Róbert
Hi, I am trying to ship a software using qt installer. All is fine, installs correctly, but when the install "successfully" finishes, it pops up a windows warning dialog about that it has failed. Running the installer in verbose mode shows this problem: [40770] create Error-Exception: "Could not

[Interest] state of qttranslations

2017-09-05 Thread Manner Róbert
Hi, I am trying to use qttranslations in my application to make common widgets (like open dialog) have their translations. I am compiling it by myself, standard way: qmake && make I am trying to load the full translations qt_.qm Some of them works nearly fine like "hu", but most dont eg "en", "fr

Re: [Interest] state of qttranslations

2017-09-06 Thread Manner Róbert
, 2017 at 4:39 PM, Manner Róbert wrote: > Hi, > > I am trying to use qttranslations in my application to make common widgets > (like open dialog) have their translations. > I am compiling it by myself, standard way: qmake && make > I am trying to load the full translatio

Re: [Interest] Linux Deployment Question

2017-09-06 Thread Manner Róbert
Hi, not sure if it is the same problem, but for us shipping the libxcb* libX11* did not work across linux distros. If you are not shipping those, then basically you are not able to ship such as libc, because then you will not be able to load these libraries from the system. Which worked is, that y

[Interest] represent QHostAddress as locale dependent string

2017-09-20 Thread Manner Róbert
Hi, is there a way convert an ip address locale dependent as string? I mean, similarly as QLocale().toString() does for numbers or dates: for eg arabic locale it gives back arabic "hieroglyphs". I have tried QHostAddress::toString(), but it still returns european numbers for eg arabic. Thanks fo

Re: [Interest] represent QHostAddress as locale dependent string

2017-09-21 Thread Manner Róbert
On Wed, Sep 20, 2017 at 5:49 PM, Thiago Macieira wrote: > On quarta-feira, 20 de setembro de 2017 05:16:51 PDT Manner Róbert wrote: > > Hi, > > > > is there a way convert an ip address locale dependent as string? I mean, > > similarly as QLocale().toString() does f

Re: [Interest] represent QHostAddress as locale dependent string

2017-09-21 Thread Manner Róbert
On Wed, Sep 20, 2017 at 2:35 PM, Konstantin Tokarev wrote: > > > 20.09.2017, 15:17, "Manner Róbert" : > > Hi, > > > > is there a way convert an ip address locale dependent as string? I mean, > similarly as QLocale().toString() does for numbers or dat

Re: [Interest] represent QHostAddress as locale dependent string

2017-09-21 Thread Manner Róbert
On Thu, Sep 21, 2017 at 11:13 AM, Konrad Rosenbaum wrote: > Hi, > > On Thu, September 21, 2017 09:42, Manner Róbert wrote: > > On Wed, Sep 20, 2017 at 5:49 PM, Thiago Macieira > > > > wrote: > >> IP addresses are not localiseable. > >> > > > > I understand your point, and most probably there ar

[Interest] QFileInfo not working inside non privileged docker container

2018-02-16 Thread Manner Róbert
Hi, We have an issue at our company where Qt gets crosscompiled inside a docker. Suddenly it stopped building after trying to upgrade to Qt 5.10.0 (5.9.2 worked for sure). It fails at the last step of configure: running qmake with a dummy qt.conf to generate the makefile. Same build goes fine outs

Re: [Interest] QFileInfo not working inside non privileged docker container

2018-02-16 Thread Manner Róbert
QT_FEATURE_systemsemaphore -1 Br, Robert On Fri, Feb 16, 2018 at 5:00 PM, Manner Róbert wrote: > Hi, > > We have an issue at our company where Qt gets crosscompiled inside a > docker. Suddenly it stopped building after trying to upgrade to Qt 5.10.0 > (5.9.2 worked for sure).

[Interest] QBackingStore::endPaint dumps lots of warnings in software mode

2018-02-19 Thread Manner Róbert
Hi, When I run an example/default qml project I get a lot of warnings about active painters: > QT_QUICK_BACKEND="software" ./example QBackingStore::endPaint() called with active painter on backingstore paint device QBackingStore::endPaint() called with active painter on backingstore paint device

[Interest] QtGui/QList include

2018-07-04 Thread Manner Róbert
Hi, I have found a strange issue also present in Qt 5.11 with including QList header. In such circumstance when QtGui include path is in priority of QtCore, the #include includes QEvent, not QList. This is because of a bad include present under QtGui: $ cat /usr/include/qt/QtGui/QList #include