Re: [Interest] SVG is loaded with invalid dimensions on some machines

2024-04-18 Thread Elvis Stansvik
Den tors 18 apr. 2024 17:11Alexander Dyagilev skrev: > Well, I was able to reproduce the issue. > 1. Launch app. > 2. Change system zoom settings from 100% to 125%. > 3. Done. The issue is here. After restarting app - issue is not > reproduced. > So, just a guess, on 2-monitor system this zoom

Re: [Interest] SVG is loaded with invalid dimensions on some machines

2024-04-18 Thread Elvis Stansvik
Den tors 18 apr. 2024 06:17Alexander Dyagilev skrev: > Hello, > > A few of our users have issues with UI rendering. We SVG sprite to display > some elements of our UI. This SVG has a size specified in it (93x456). And > of course we rely on it. The issue is that sometimes it's loaded with >

Re: [Interest] App release

2024-04-03 Thread Elvis Stansvik
Den tors 21 mars 2024 01:29Turtle Creek Software skrev: > We are ready to release a free alpha version of our accounting app for Mac > & Windows. The plan is to use LGPL while still in beta, then switch to a > commercial license and static Qt when it's ready to sell. > > Will the switch cause

Re: [Interest] App release

2024-04-03 Thread Elvis Stansvik
Den tors 21 mars 2024 01:44Thiago Macieira skrev: > On Wednesday, 20 March 2024 17:27:26 PDT Turtle Creek Software wrote: > > We are ready to release a free alpha version of our accounting app for > Mac > > & Windows. The plan is to use LGPL while still in beta, then switch to a > > commercial

Re: [Interest] QJsonObject memory leak?

2023-11-02 Thread Elvis Stansvik
Can you create a standalone example? (I see no calls to your create/uncreate) How are you measuring memory consumption? Elvis Den tors 2 nov. 2023 16:52Nuno Santos skrev: > Hi, > > I have realised that I cannot release all the memory allocated by a huge > QJsonObject when I don’t need it any

Re: [Interest] Per-language lupdate options not possible with qt_add_lupdate CMake helper?

2023-08-07 Thread Elvis Stansvik
Filed another suggestion about these macros relating to applications with sources spread across multiple CMake targets: https://bugreports.qt.io/browse/QTBUG-115846 Den mån 7 aug. 2023 kl 19:55 skrev Elvis Stansvik : > > Thanks Alexandru, > > => https://bugreports.qt.io/brow

Re: [Interest] Per-language lupdate options not possible with qt_add_lupdate CMake helper?

2023-08-07 Thread Elvis Stansvik
e is a good enough replacement. > > Having said that, I suggest you file a suggestion on the bug tracker, so we > can keep track of the use case. > > > > On 6. Aug 2023, at 15:21, Elvis Stansvik wrote: > > > > Hi all, > > > > Porting our application to Qt

[Interest] Per-language lupdate options not possible with qt_add_lupdate CMake helper?

2023-08-06 Thread Elvis Stansvik
Hi all, Porting our application to Qt 6 and I'm a little confused by the new qt_add_lupdate CMake helper. When we run lupdate to generate/update our English translation .ts files, since our source strings are in English, we want to pass -pluralonly to lupdate, to only have plural forms for

Re: [Interest] QSslCertificate issues on FreeBSD

2023-03-20 Thread Elvis Stansvik
Den mån 20 mars 2023 kl 01:45 skrev Alexey Rochev : > > Hi, > > I'm currently trying to add FreeBSD to my app's CI configuration and for some > reason my tests fail due to QSslCertificate::operator==() returning false. > More specifically, I compare a QSslCertificate loaded from PEM file and one

Re: [Interest] QProcess unbuffered

2023-03-06 Thread Elvis Stansvik
Den mån 6 mars 2023 kl 21:21 skrev Scott Bloom : > > > > From: Björn Schäpers > Sent: Monday, March 6, 2023 12:18 PM > To: Scott Bloom ; interest@qt-project.org > Subject: Re: [Interest] QProcess unbuffered > > > > Am 06.03.2023 um 02:11 schrieb Scott Bloom: > > I have an external executable

Re: [Interest] MSVC not-the-latest: are you using it? why?

2023-01-22 Thread Elvis Stansvik
Den sön 22 jan. 2023 kl 23:08 skrev Elvis Stansvik : > > > MSVC not-the-latest: are you using it? why? > > Yes, using VS 2019. > > I can only speak for us, but we simply haven't had any really > compelling reason to upgrade our compiler. > > Turning the questi

Re: [Interest] MSVC not-the-latest: are you using it? why?

2023-01-22 Thread Elvis Stansvik
> MSVC not-the-latest: are you using it? why? Yes, using VS 2019. I can only speak for us, but we simply haven't had any really compelling reason to upgrade our compiler. Turning the question around: If you have no need for the features/improvements that a newer compiler would bring, why would

Re: [Interest] QRegularExpression for replace

2022-12-05 Thread Elvis Stansvik
Maybe I'm dumb, but I'm still not sure what is being asked for. If it's regular expression replacement with back-references in the replacement string, I think that's possible with QString::replace like I showed. Elvis ___ Interest mailing list

Re: [Interest] QRegularExpression for replace

2022-12-04 Thread Elvis Stansvik
Den tors 1 dec. 2022 kl 20:44 skrev Scott Bloom : > > Im looking for a way using QRE to do something like the following > > > > auto regEx = QRegularExpression( “(?.*)” ); > > if ( regEx.match( string ) ) > > auto newString = regEx.replace( string, “${name}” ); It's a bit hard to

Re: [Interest] QT Creator consistency

2022-12-03 Thread Elvis Stansvik
Den lör 3 dec. 2022 kl 23:02 skrev Turtle Creek Software : > > It's good to have multiple ways to do common things. > > F2 is not great because I'm often leaned way back with right hand on mouse, > and with > left hand holding drink, snack, scratching or whatever. An extra click is > faster then

Re: [Interest] ASAN (Qt 6.4 + Glib) build shows stackoverflow in trivial Qt program

2022-11-12 Thread Elvis Stansvik
Den lör 12 nov. 2022 kl 18:08 skrev Thiago Macieira : > > On Friday, 11 November 2022 23:54:24 PST Dennis Luehring wrote: > >../qt6/qtbase/configure -debug -opensource [...] > ># ==> https://pastebin.com/JDm0p80b qt6_configure.txt > > You've only built qtbase. That means you have no

Re: [Interest] Medical device companies using Qt

2022-10-29 Thread Elvis Stansvik
Den lör 29 okt. 2022 kl 19:26 skrev Stan Morris : > > A poster (troll?) writes that few medical device companies use Qt. That is > simply incorrect. I'm sorry to say it, but I see a reply from the same in your near future... Elvis > > I know developers at 4 medical device companies of which 3

Re: [Interest] Small survey on necessary Qt Container size

2022-09-05 Thread Elvis Stansvik
Den mån 5 sep. 2022 kl 22:30 skrev Thiago Macieira : > > On Monday, 5 September 2022 10:25:59 PDT A. Pönitz wrote: > > How often do people /need/ /Qt/ containers with /more than > > 1 billion elements/ ? > > Or foresee needing them in the next 10 years. 0 times and 0 times. I've used Qt

Re: [Interest] [External] Re: How to properly terminate QtConcurrent run

2022-08-18 Thread Elvis Stansvik
Den tors 18 aug. 2022 16:44Sean Murphy via Interest skrev: > > > I'll look into this idea, but some of what my processChunk() does are > > > calls into an external library that I can't control so my options are > > > limited there. As far as I can tell, this is an issue for any code > that just

Re: [Interest] [External] Re: How to properly terminate QtConcurrent run

2022-08-18 Thread Elvis Stansvik
Den ons 17 aug. 2022 kl 17:12 skrev Sean Murphy via Interest : > > Thanks for the response! > > > You should signal processChunk to stop processing early. You can for > > example do this through an atomic variable which is periodically checked, > > e.g. > > as part of the stop condition in that

Re: [Interest] How to properly terminate QtConcurrent run

2022-08-16 Thread Elvis Stansvik
Den tis 16 aug. 2022 kl 18:23 skrev Sean Murphy via Interest : > > I've encountered a bug of mine, that is leading me to ask how to properly fix > some behavior... > > The setup: I've got a worker task that runs in a separate thread, waiting for > jobs to come over from MainWindow. When that

Re: [Interest] spurious breakpoints in Qt Creator

2022-05-16 Thread Elvis Stansvik
Den sön 15 maj 2022 21:45Matej Košík skrev: > Hi, > > While using Qt Creator, I noticed that it generates "spurious breakpoints". > > How to reproduce: > - I start Qt Creator > - I generate a new project > (Qt Widgets Application with QMainWindow as a base class) > - from the menu I choose >

Re: [Interest] Qthread from QFuture?

2022-01-04 Thread Elvis Stansvik
I don't think QFuture/QFutureWatcher would have such an API. I guess you could query what thread it is at the start of the function you run with QtConcurrent::run and communicate that to your main thread. Elvis Den tis 4 jan. 2022 kl 20:08 skrev Scott Bloom : > > Is there anyway to get (if it

Re: [Interest] Can QML compiler optimize switch into array indexing?

2021-10-15 Thread Elvis Stansvik
Den fre 15 okt. 2021 kl 09:29 skrev Ulf Hermann : > > > I now saw your nice blog post about this at [1], saying "You should > > not call qmlRegisterType() and friends procedurally anymore.". > > > > I then saw that there's no pointer in the docs for qmlRegisterType and > > friends [2] to

Re: [Interest] Can QML compiler optimize switch into array indexing?

2021-10-14 Thread Elvis Stansvik
Den tors 14 okt. 2021 kl 09:49 skrev Ulf Hermann : > > Hi, > > Let's look at the QML snippet again: > > > enabledBorders: { > > > switch (control.edge) { > > > case Qt.BottomEdge: > > > return PlasmaCore.FrameSvgItem.TopBorder; > > > case Qt.RightEdge: > > >

Re: [Interest] [External] Proxied view not updating live when source model does

2021-09-21 Thread Elvis Stansvik
Den tis 21 sep. 2021 16:00Murphy, Sean skrev: > > I'm having an issue where my proxy model and its associated view aren't > > updating live when changes are made in the source model. > > > > My proxy model simply is attempting to invert the rows of the source > model. So > > it inherits from a

Re: [Interest] Configuring Qt's built-in freetype ?

2021-08-26 Thread Elvis Stansvik
Den tors 26 aug. 2021 kl 13:39 skrev Jean-Michaël Celerier < jeanmichael.celer...@gmail.com>: > Hi, > > for consistency, I am shipping my app with freetype on all platforms. > This looks "correct", definitely better than using macOS or Win32's font > rendering, but ! Qt's built-in freetype does

Re: [Interest] Faster way of rendering QOpenGLFramebufferObject to image

2021-07-15 Thread Elvis Stansvik
by main window painting frame > rate. > > Is anyone aware of frame rate limitations of a qquickwindow painting? > > Project attached. > > Thanks, > > Best regards, > > Nuno > > > > > On 14 Jul 2021, at 23:48, Elvis Stansvik wrote: > > > >

Re: [Interest] Faster way of rendering QOpenGLFramebufferObject to image

2021-07-14 Thread Elvis Stansvik
skrev Nuno Santos : > > Elvis, > > Thanks for sharing your thoughts. It makes sense. > > I need to dive into the toImage function, try to read directly the bytes from > the FBO and see if that has any performance impact. > > Best regards, > > Nuno > > > On 1

Re: [Interest] Faster way of rendering QOpenGLFramebufferObject to image

2021-07-13 Thread Elvis Stansvik
Hi Nuno, I'm really out of my waters here, but, provided you don't need to hold on to each AVFrame after you are "done with it", you could perhaps avoid having to allocate a QImage for each frame (which toImage forces you to do) by just allocating a a single AVFrame and a single memory buffer for

Re: [Interest] [Development] Multi-Selection behavior of item views breaks drag'n'drop UX - options

2021-06-11 Thread Elvis Stansvik
d it looks like we might get away with a minimal change for > ExtendedSelection. > > > > There’s no intention to bring those changes to Qt 5. > > > > Volker > > > > > >> On 28 May 2021, at 19:01, Elvis Stansvik wrote: > >> > >> Y

Re: [Interest] [Development] Multi-Selection behavior of item views breaks drag'n'drop UX - options

2021-05-28 Thread Elvis Stansvik
Yea man, just change it. No one remembers a coward! :) Den fre 28 maj 2021 kl 17:07 skrev David M. Cotter : > > assuming your change "does the right thing in all cases" then i think it > should be the default. > > nobody WANTS the currently-bad behavior. > > -dave > > > On May 28, 2021, at 5:55

Re: [Interest] Locale detection of Qt application hosted via WASM

2021-04-28 Thread Elvis Stansvik
Den ons 28 apr. 2021 kl 22:05 skrev Thorsten Glaser : > > On Wed, 28 Apr 2021, Elvis Stansvik wrote: > > > Agree to put in an option to change language, but surely it should be > > possible to have the default be based on the language the user has set > > in the OS/

Re: [Interest] Locale detection of Qt application hosted via WASM

2021-04-28 Thread Elvis Stansvik
Den ons 28 apr. 2021 kl 18:57 skrev Thorsten Glaser : > > On Wed, 28 Apr 2021, Nicholas Yue wrote: > > > I am new to locale handling in general and definitely new to locale on the > > web browser. > > If you’re targetting a webbrowser, make the language selectable in > the software itself.

Re: [Interest] Help a unix guy on windows qmake

2021-04-21 Thread Elvis Stansvik
Den ons 21 apr. 2021 kl 20:43 skrev Elvis Stansvik : > > Den ons 21 apr. 2021 kl 19:49 skrev Jason H : > > > > > > > > > Sent: Wednesday, April 21, 2021 at 1:14 PM > > > From: "Thiago Macieira" > > > To: interest@qt-project.org &

Re: [Interest] Help a unix guy on windows qmake

2021-04-21 Thread Elvis Stansvik
Den ons 21 apr. 2021 kl 20:43 skrev Elvis Stansvik : > > Den ons 21 apr. 2021 kl 19:49 skrev Jason H : > > > > > > > > > Sent: Wednesday, April 21, 2021 at 1:14 PM > > > From: "Thiago Macieira" > > > To: interest@qt-project.org &

Re: [Interest] Help a unix guy on windows qmake

2021-04-21 Thread Elvis Stansvik
Den ons 21 apr. 2021 kl 19:49 skrev Jason H : > > > > > Sent: Wednesday, April 21, 2021 at 1:14 PM > > From: "Thiago Macieira" > > To: interest@qt-project.org > > Subject: Re: [Interest] Help a unix guy on windows qmake > > > > On Wednesday, 21 April 2021 09:54:09 PDT Jason H wrote: > > > Now,

Re: [Interest] the path forward

2021-04-01 Thread Elvis Stansvik
Den tors 1 apr. 2021 kl 15:31 skrev Nuno Santos : > > I don’t see Roland's emails anymore because I’ve blocked him. He is a kind of > hater and lover of Qt at the same time. He loves when someone gives him a > spark to set this email list on fire and then write long emails full of > bullshit

Re: [Interest] QSqlQuery bind value

2021-03-16 Thread Elvis Stansvik
ith a String with arg (I known this is bad, but the tablename is > provided by inner code only, this is not user inputs of any sort). > > On Mar 16, 2021, at 4:23 PM, Elvis Stansvik wrote: > > Den tis 16 mars 2021 kl 21:21 skrev Elvis Stansvik : > > > Den tis 16 mars 2021 kl 2

Re: [Interest] QSqlQuery bind value

2021-03-16 Thread Elvis Stansvik
Den tis 16 mars 2021 kl 21:21 skrev Elvis Stansvik : > > Den tis 16 mars 2021 kl 20:19 skrev Jérôme Godbout : > > > > Hi, > > > > I’m trying to use the Sql with Sqlite with Qt. The database seem to be > > working just fine, but I run into troubles with the bin

Re: [Interest] QSqlQuery bind value

2021-03-16 Thread Elvis Stansvik
Den tis 16 mars 2021 kl 20:19 skrev Jérôme Godbout : > > Hi, > > I’m trying to use the Sql with Sqlite with Qt. The database seem to be > working just fine, but I run into troubles with the bind value. The named > bind doesn’t seem to work (Qt 5.15.2, Mac OS): > >

Re: [Interest] QML MouseArea containsMouse is set to true even if it's not actually

2021-02-24 Thread Elvis Stansvik
Den ons 24 feb. 2021 17:09Alexander Dyagilev skrev: > It seems that HoverHandler is not affected by this bug: > https://doc.qt.io/qt-5.12/qml-qtquick-hoverhandler.html > > I've switched to it - the problem is not happening anymore. > Glad it worked out, but if you think there is a bug in

Re: [Interest] Will a Qt 5.x release support macOS 11?

2020-12-08 Thread Elvis Stansvik
I am also interested in this. We may not be able to move our application to Qt 6 in quite a while, but would be nice if we didn't have to leave macOS users who upgrade their OS in the dust. Elvis Den ons 9 dec. 2020 08:09Ben Haller via Interest skrev: > Hi all. Just wondering whether there is

Re: [Interest] question for a blocking background thread call

2020-10-21 Thread Elvis Stansvik
ample.moc" example.pro: TEMPLATE = app QT += widgets concurrent TARGET = example INCLUDEPATH += . DEFINES += QT_DEPRECATED_WARNINGS SOURCES += example.cpp HTH, Elvis > > Thanks, > > Kind regards, > Robert > > On Wed, Oct 21, 2020 at 9:51 AM Elvis Stansvik wrot

Re: [Interest] question for a blocking background thread call

2020-10-21 Thread Elvis Stansvik
Den ons 21 okt. 2020 02:39Scott Bloom skrev: > Well. I 100% totally overthought this... and was able to implement this in > about 10 lines of code using a derivation of QProgressDIalog + QtConcurrent > > The progress dialog, is run with windowModality set to Qt::WindowModal, > > I overload

Re: [Interest] how to get 3 pixel focus ring?

2020-06-10 Thread Elvis Stansvik
If you really want this, how about a proxy style? (QProxyStyle). I think that's the only way for you to get what you want. You could try to wrangle it using a QFocusFrame subclass with custom paintEvent, but you'd have to manually track widget resizes using an event filter, and I'm not sure

Re: [Interest] Crash due to missing symbol

2020-06-06 Thread Elvis Stansvik
Den lör 6 juni 2020 kl 12:33 skrev Elvis Stansvik : > > Den lör 6 juni 2020 kl 08:54 skrev Alexander Carôt : > > > > Hi Ben and all, > > > > thanks for the quick reply. In fact I am using two Qt versions - one for > > recent and one for older OSX. For the

Re: [Interest] Crash due to missing symbol

2020-06-06 Thread Elvis Stansvik
Den lör 6 juni 2020 kl 08:54 skrev Alexander Carôt : > > Hi Ben and all, > > thanks for the quick reply. In fact I am using two Qt versions - one for > recent and one for older OSX. For the older ones I am using Qt5.9.2 and so > far this had been working until now. Furthermore, I am compiling my

Re: [Interest] Models and aborting structural changes

2020-06-04 Thread Elvis Stansvik
Den tors 4 juni 2020 kl 09:00 skrev Elvis Stansvik : > > Den ons 3 juni 2020 10:38Jonathan Purol skrev: >> >> Hello everyone, >> >> I've been in a bit of a tough spot recently with `QAbstractItemModel`. >> I'll try to delineate my situation, then my problem,

Re: [Interest] Models and aborting structural changes

2020-06-04 Thread Elvis Stansvik
Den ons 3 juni 2020 10:38Jonathan Purol skrev: > Hello everyone, > > I've been in a bit of a tough spot recently with `QAbstractItemModel`. > I'll try to delineate my situation, then my problem, and then the > potential solutions and why I think they're all inferior to what I wish > to have. > >

Re: [Interest] Windows installer for Qt programs

2020-04-21 Thread Elvis Stansvik
Den tis 21 apr. 2020 kl 09:21 skrev "Alexander Carôt" : > > Hello all, > > I consider shipping my Qt built software with a conventional installer on > Windows. > > Can anyone give me a recommendation of a solid freeware for this purpose ? Just to chime in to what others have said: Our project

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-03-31 Thread Elvis Stansvik
Den tis 31 mars 2020 kl 20:46 skrev Elvis Stansvik : > > Den tis 31 mars 2020 kl 20:40 skrev Giuseppe D'Angelo via Interest > : > > > > Il 31/03/20 20:34, Elvis Stansvik ha scritto: > > > Do you see the absurdity? For me as manager at F, to be sure we're not > &g

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-03-31 Thread Elvis Stansvik
Den tis 31 mars 2020 kl 20:40 skrev Giuseppe D'Angelo via Interest : > > Il 31/03/20 20:34, Elvis Stansvik ha scritto: > > Do you see the absurdity? For me as manager at F, to be sure we're not > > breaking the contract with Frob, we would have to stipulate our > >

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-03-31 Thread Elvis Stansvik
Den tis 31 mars 2020 kl 19:32 skrev Tuukka Turunen : > > > > Hi Jérôme et al, > > > > This thread has long ago left the original question and become a discussion > about Qt licensing in general and especially about the point of not mixing > commercial Qt with open-source version of Qt. > > > >

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-03-30 Thread Elvis Stansvik
Den mån 30 mars 2020 kl 19:50 skrev Tuukka Turunen : > > > > Hi, > > > > Please read the commercial license agreement and the licensing FAQ. The > restriction has nothing to do with open-source licensing. It is about a > company, who is using a commercially licensed Qt not to use parts of the

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-03-27 Thread Elvis Stansvik
Den fre 27 mars 2020 kl 20:08 skrev : > > Hi. > > Tuuka clearly stated, that you wouldn't violate GPL of the (OS-) > QtCreator, **but** you'd violate your commercial contract with Qt. > > If the commercial contract says, you are not allowed to have a cat in > the house and you've signed that

Re: [Interest] Building strings with .arg() (arrrgh)

2020-03-05 Thread Elvis Stansvik
Den tors 5 mars 2020 kl 21:24 skrev Max Paperno : > > On 3/5/2020 3:11 PM, Elvis Stansvik wrote: > > Den tors 5 mars 2020 kl 19:26 skrev Max Paperno : > >> One thing for sure, since my benchmarks, from here on I will very much > >> prefer the "multiArg" vers

Re: [Interest] Building strings with .arg() (arrrgh)

2020-03-05 Thread Elvis Stansvik
Den tors 5 mars 2020 kl 19:26 skrev Max Paperno : > > > On 3/5/2020 10:20 AM, Benjamin TERRIER wrote: > > > > I believe Marc was saying that using QStringLiteral *inside* a .arg() > > call is an anti-pattern, > > and not that using .arg() *on* a QStringLiteral is one. > > > > Hmmm, good point,

Re: [Interest] Question about correct way to initialize HiDPI support

2020-01-13 Thread Elvis Stansvik
Den mån 13 jan. 2020 kl 10:35 skrev Christoph Cullmann : > > Hi, > > after reading https://doc.qt.io/qt-5/highdpi.html it is still a bit > unclear to me, > what is the correct sequence of attribute setting to have proper HiDPI > support on the > X11/Windows/macOS platforms (including support for

Re: [Interest] Klocwork errors in Qt

2019-12-16 Thread Elvis Stansvik
Den mån 16 dec. 2019 15:16Stefan Neubert skrev: > > On Sat, 14 Dec 2019 at 21:57, Roland Hughes > wrote: > > > On 12/14/19 2:54 PM, Massimiliano Maini wrote: > > > > > > On Sat, 14 Dec 2019 at 15:12, Roland Hughes > > mailto:rol...@logikalsolutions.com>> > wrote: > > > > On 12/9/19 5:00 AM,

Re: [Interest] QML and sensitive data

2019-09-05 Thread Elvis Stansvik
Den tors 5 sep. 2019 01:22Alexander Ivash skrev: > Thank you for fast response, but my question is purely about QML. On > C++ side I have a lot of ways for nullifying / erasing sensitive > information *after* it is not needed (let say after particular QML > screen gets' closed). But on QML / JS

Re: [Interest] Static build of Qt - debug mode and plugins

2019-08-26 Thread Elvis Stansvik
Den mån 26 aug. 2019 kl 18:49 skrev Matthew Woehlke : > > On 26/08/2019 12.18, Elvis Stansvik wrote: > > Den mån 26 aug. 2019 17:32Matthew Woehlke skrev: > >> ...or just run `make VERBOSE=1`. > > > > I didn't know if he was using ninja or make, so suggeste

Re: [Interest] Static build of Qt - debug mode and plugins

2019-08-26 Thread Elvis Stansvik
Den mån 26 aug. 2019 17:32Matthew Woehlke skrev: > On 25/08/2019 03.09, Elvis Stansvik wrote: > > Den sön 25 aug. 2019 kl 02:56 skrev Thiago Macieira: > >> On Saturday, 24 August 2019 10:53:45 PDT Jakub Narolewski wrote: > >>> [ 1%] Linking CXX executable mrserver

Re: [Interest] Static build of Qt - debug mode and plugins

2019-08-25 Thread Elvis Stansvik
Den sön 25 aug. 2019 kl 02:56 skrev Thiago Macieira : > > On Saturday, 24 August 2019 10:53:45 PDT Jakub Narolewski wrote: > > [ 1%] Linking CXX executable mrserver_debug > > Please expand this line. Jakub, to do this you can pass -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE to CMake. Elvis > Since this

Re: [Interest] notarizing builds for Mac - enabling hardened runtime

2019-07-11 Thread Elvis Stansvik
Den tors 11 juli 2019 kl 06:49 skrev Vadim Peretokin : > > Thanks for this - mind pasting it as a gist for easy access? Here it is: https://gist.github.com/estan/505cd5b4c18d80f1dd17ac2ea0f6c69e Elvis > > On Wed, Jul 10, 2019 at 9:59 PM Elvis Stansvik wrote: >> >> Den o

Re: [Interest] notarizing builds for Mac - enabling hardened runtime

2019-07-10 Thread Elvis Stansvik
Den ons 10 juli 2019 kl 21:44 skrev Elvis Stansvik : > > Den ons 10 juli 2019 kl 21:20 skrev Adam Light : > > > > > > > > On Wed, Jul 10, 2019 at 2:28 AM Elvis Stansvik wrote: > >> > >> > >> With "work around" do you mean from

Re: [Interest] notarizing builds for Mac - enabling hardened runtime

2019-07-10 Thread Elvis Stansvik
Den ons 10 juli 2019 kl 21:20 skrev Adam Light : > > > > On Wed, Jul 10, 2019 at 2:28 AM Elvis Stansvik wrote: >> >> >> With "work around" do you mean from the user POV (e.g. somehow >> disabling Gatekeeper, or Ctrl+Open, or something else) or f

Re: [Interest] notarizing builds for Mac - enabling hardened runtime

2019-07-10 Thread Elvis Stansvik
help that the notarization process is rather slow. Oh well, one only has to accept it. Elvis > > --- > Andy Maloney // https://asmaloney.com > twitter ~ @asmaloney > > > > On Wed, Jul 10, 2019 at 5:28 AM Elvis Stansvik wrote: >> >> Den tis 9 juli 2019 kl 1

Re: [Interest] notarizing builds for Mac - enabling hardened runtime

2019-07-10 Thread Elvis Stansvik
Den tis 9 juli 2019 kl 19:57 skrev Adam Light : > > > > On Fri, Jun 21, 2019 at 12:13 AM Kai Köhne wrote: >> >> >> I understand that the "hardened runtime" enabling happens at codesign time, >> so this should arguably be a feature of macdeployqt. It's not there yet >> though, >> at least

Re: [Interest] [ANNOUNCE] GammaRay 2.11.0

2019-07-05 Thread Elvis Stansvik
Den fre 5 juli 2019 kl 21:03 skrev Vadim Peretokin : > > The Ubuntu 18.04 .deb does not seem to work: > > vadi@volga:~$ lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 18.04.2 LTS > Release: 18.04 > Codename: bionic > vadi@volga:~/Downloads$ sudo dpkg

Re: [Interest] notarizing builds for Mac - enabling hardened runtime

2019-06-22 Thread Elvis Stansvik
Den lör 22 juni 2019 kl 01:14 skrev Hamish Moffatt : > > On 21/6/19 9:13 pm, Elvis Stansvik wrote: > > Den fre 21 juni 2019 09:13Kai Köhne skrev: >> >> >> For the time being, it seems you've to execute the codesign call yourself. > > > This is what

Re: [Interest] notarizing builds for Mac - enabling hardened runtime

2019-06-21 Thread Elvis Stansvik
Den fre 21 juni 2019 15:33Michael Jackson skrev: > *From: *Interest on behalf of Elvis > Stansvik > *Date: *Friday, June 21, 2019 at 7:14 AM > *To: *Kai Köhne > *Cc: *Qt Interest > *Subject: *Re: [Interest] notarizing builds for Mac - enabling hardened > runtime > &g

Re: [Interest] notarizing builds for Mac - enabling hardened runtime

2019-06-21 Thread Elvis Stansvik
Den fre 21 juni 2019 15:39Konstantin Tokarev skrev: > > > 21.06.2019, 16:36, "Michael Jackson" : > > Apple, sigh, I can understand and sympathize requiring signed builds, > but this mandatory "virus scanned by Apple" is a little silly. As a user I > trust the virus scanner I pick myself more

Re: [Interest] notarizing builds for Mac - enabling hardened runtime

2019-06-21 Thread Elvis Stansvik
Den fre 21 juni 2019 09:13Kai Köhne skrev: > > -Original Message- > > From: Interest On Behalf Of Hamish > > Moffatt > > Sent: Friday, June 21, 2019 8:42 AM > > To: Qt Interest > > Subject: [Interest] notarizing builds for Mac - enabling hardened runtime > > > > Apple says that all

Re: [Interest] Behavioural change in QFile/QDir rename

2019-06-17 Thread Elvis Stansvik
t; plain QFile intances, created inside a "source" QTemporaryDir from which > files are moved. > > Bests, > F. > > > On Mon, 17 Jun 2019 at 08:48, Elvis Stansvik wrote: >> >> Den mån 17 juni 2019 07:47Elvis Stansvik skrev: >>> >>> Den mån 17

Re: [Interest] Behavioural change in QFile/QDir rename

2019-06-17 Thread Elvis Stansvik
Den mån 17 juni 2019 07:47Elvis Stansvik skrev: > Den mån 17 juni 2019 kl 01:29 skrev Federico Buti : > > > > Hi Thiago. > > > > Thanks for the feedback. > > I'm on Fedora 29 so definitely not on an old kernel as that. My > colleague is on Ubuntu but I'm pretty sure it is a 16.xx release. I

Re: [Interest] Behavioural change in QFile/QDir rename

2019-06-16 Thread Elvis Stansvik
Den mån 17 juni 2019 kl 07:47 skrev Elvis Stansvik : > > Den mån 17 juni 2019 kl 01:29 skrev Federico Buti : > > > > Hi Thiago. > > > > Thanks for the feedback. > > I'm on Fedora 29 so definitely not on an old kernel as that. My colleague > > is on Ubuntu

Re: [Interest] Behavioural change in QFile/QDir rename

2019-06-16 Thread Elvis Stansvik
Den mån 17 juni 2019 kl 01:29 skrev Federico Buti : > > Hi Thiago. > > Thanks for the feedback. > I'm on Fedora 29 so definitely not on an old kernel as that. My colleague is > on Ubuntu but I'm pretty sure it is a 16.xx release. I guess the usage of > renameat2() is failing for some other

Re: [Interest] Behavioural change in QFile/QDir rename

2019-06-15 Thread Elvis Stansvik
Den lör 15 juni 2019 kl 18:00 skrev Federico Buti : > > Hi all. > > Recently we successfully switched from Qt 5.6 to Qt 5.12.3 after some > struggles on win. Very few unit tests failed out of hundreds. Among those one > stood out as quite strange and I'm looking for feedback on it. > > We wrote

Re: [Interest] Qt Android Crash on libQt5Purchasing

2019-06-14 Thread Elvis Stansvik
Den fre 14 juni 2019 11:36Nuno Santos skrev: > Hi, > > I’m having a real hard time find a solution to a crash that is hunting me > for a couple of months on Android systems with my Qt based Android apps. > > The crash reports on Google Play point to libQt5Purchasing but it doesn’t > happen on

Re: [Interest] Online doc URL improvement

2019-06-06 Thread Elvis Stansvik
Den tors 6 juni 2019 kl 04:09 skrev Christian Gagneraud : > > Hi there, > > I quite often read the documentation online, b/c the urls are quite > short and simple i usually type them in directly in the URL bar. One > little thing is annoying me, the '.html extension. > Wouldn't it be great if

Re: [Interest] How does one use Q_ASSUME?

2019-05-26 Thread Elvis Stansvik
Den sön 26 maj 2019 kl 17:15 skrev Thiago Macieira : > > On Saturday, 25 May 2019 02:43:11 PDT Giuseppe D'Angelo via Interest wrote: > > On the other hand, Q_ASSUME(cond) tells the compiler that cond is true, > > always. If cond is actually false at runtime, you have undefined > > behavior. And

Re: [Interest] How does one use Q_ASSUME?

2019-05-26 Thread Elvis Stansvik
Den sön 26 maj 2019 kl 12:37 skrev René J. V. Bertin : > > Giuseppe D'Angelo via Interest wrote: > > Hi, > > > On the other hand, Q_ASSUME(cond) tells the compiler that cond is true, > > After reading the MS doc I sort of understand how you can use the construct to > implement a Q_UNREACHABLE (but

Re: [Interest] How does one use Q_ASSUME?

2019-05-26 Thread Elvis Stansvik
Den sön 26 maj 2019 kl 12:37 skrev René J. V. Bertin : > > Giuseppe D'Angelo via Interest wrote: > > Hi, > > > On the other hand, Q_ASSUME(cond) tells the compiler that cond is true, > > After reading the MS doc I sort of understand how you can use the construct to > implement a Q_UNREACHABLE (but

Re: [Interest] How does one use Q_ASSUME?

2019-05-26 Thread Elvis Stansvik
Den sön 26 maj 2019 kl 12:37 skrev René J. V. Bertin : > > Giuseppe D'Angelo via Interest wrote: > > Hi, > > > On the other hand, Q_ASSUME(cond) tells the compiler that cond is true, > > After reading the MS doc I sort of understand how you can use the construct to > implement a Q_UNREACHABLE (but

Re: [Interest] How does one use Q_ASSUME?

2019-05-25 Thread Elvis Stansvik
Den lör 25 maj 2019 kl 10:13 skrev René J.V. Bertin : > > Hi, > > I can't seem to wrap my head around what one can do with Q_ASSUME, i.e. which > will be the code for which the compiler won't emit code (and how the compiler > could know not to emit code as a function of a runtime condition?!) I

Re: [Interest] QtIFW Multiple entries in Apps & features

2019-04-12 Thread Elvis Stansvik
I cannot find anything about it in the config docs at https://doc.qt.io/qtinstallerframework/ifw-globalconfig.html But looking at the patch that added a UUID to the registry uninstall key (https://codereview.qt-project.org/#/c/104183/2//ALL), it seems it checks for a "ProductUUID" config key, so

Re: [Interest] Confused about High-DPI icons...

2019-03-17 Thread Elvis Stansvik
Den fre 15 mars 2019 kl 06:07 skrev Nikos Chantziaras : > > On 14/03/2019 16:41, Matthew Woehlke wrote: > > On 13/03/2019 18.41, Sérgio Martins via Interest wrote: > >> Do you have: > >> > >> QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); > > > > Uh... *why* is that not the default?

Re: [Interest] Whole edit window closes.

2019-03-17 Thread Elvis Stansvik
Den tis 12 mars 2019 kl 21:40 skrev Bill Crocker : > > Hello: > > Sorry. A boring old desktop widget problem... Just wanted to comment on this: I'm doing 99% widgets and 1% QML, so I for one welcome some good'ol fashioned widgets posts :) Keep them coming. Elvis > > I have a QTableView. > I use

Re: [Interest] parallel asynchrone action

2019-03-04 Thread Elvis Stansvik
Den mån 4 mars 2019 16:34Sylvain Pointeau skrev: > On Sun, Mar 3, 2019 at 10:56 PM Elvis Stansvik wrote: > >> There should be no such delay in QFutureWatcher. I've never seen that, >> and I've used QtConcurrent::run/mapped + QFutureWatcher quite a lot. >> >> I

Re: [Interest] parallel asynchrone action

2019-03-03 Thread Elvis Stansvik
There should be no such delay in QFutureWatcher. I've never seen that, and I've used QtConcurrent::run/mapped + QFutureWatcher quite a lot. I would investigate that before making my own mechanism. Elvis Den lör 2 mars 2019 kl 21:13 skrev Sylvain Pointeau : > > Dear all, > > I made an action

Re: [Interest] Animating viewable rect of QGraphicsView

2019-03-01 Thread Elvis Stansvik
Den mån 25 feb. 2019 kl 19:54 skrev Patrick Stinson : > > How can I animate the viewable scene rect of a QGraphicsView using screen > coordinates? This means animating both center pos and scale. This is similar > to Google Earth where the map scrolls and zooms smoothly from one point to >

Re: [Interest] Work for hire to solve a Qt bug that's been a thorn in our side.

2019-02-16 Thread Elvis Stansvik
Den fre 15 feb. 2019 kl 21:25 skrev Paul Knopf : > > Are there any experienced Qt developers out there interested in solving this > bug that my company is experiencing? Maybe you know someone who is interested? > > https://bugreports.qt.io/browse/QTBUG-73830 > > It is easy to reproduce with any

Re: [Interest] What are you using for continuous integration?

2019-02-14 Thread Elvis Stansvik
r with GitHub > and how to setup a worker on Mac and Windows, please share. > > Thanks, > > Best regards, > > Nuno > > On 13 Feb 2019, at 19:02, Elvis Stansvik wrote: > > Den ons 13 feb. 2019 kl 00:06 skrev Nuno Santos : > > > Hi, > > I’m curious ab

Re: [Interest] What are you using for continuous integration?

2019-02-13 Thread Elvis Stansvik
Den ons 13 feb. 2019 kl 00:06 skrev Nuno Santos : > > Hi, > > I’m curious about what you Qt heads are using for continuous integration. > > I have googled a few times this for this topic and I have found a couple of > options but every time I tried to spend the minimum amount of time to setup >

Re: [Interest] 5.11.3 make install failure

2019-01-14 Thread Elvis Stansvik
Den mån 14 jan. 2019 kl 18:53 skrev : > > > Quoting Elvis Stansvik : > > > Den mån 14 jan. 2019 17:38Jason H skrev: > > > >> Applying Occam's razor, > >> I think your make is failing, make install is making the default target > >> (resuming you

Re: [Interest] 5.11.3 make install failure

2019-01-14 Thread Elvis Stansvik
Den mån 14 jan. 2019 17:38Jason H skrev: > Applying Occam's razor, > I think your make is failing, make install is making the default target > (resuming your broken build, and failing again) and not actually getting to > install? > > Can you confirm your make of the default target ended

Re: [Interest] linuxdeployqt?

2018-11-16 Thread Elvis Stansvik
Den fre 16 nov. 2018 16:55Boudewijn Rempt skrev: > On vrijdag 16 november 2018 16:53:55 CET Alexander Dyagilev wrote: > > Hello, > > > > On Windows we have windeployqt. > > > > On MAC - macdeployqt. > > > > On Linux - there is no tool for this ? Is there some convenient > > alternative way to

Re: [Interest] Updated Debian packages or ppa for Qt 5.9+

2018-11-10 Thread Elvis Stansvik
Den fre 9 nov. 2018 kl 23:23 skrev Lisandro Damián Nicanor Pérez Meyer : > > Hi Konstantin! > > El miércoles, 7 de noviembre de 2018 05:12:28 -03 Konstantin Shegunov > escribió: > > On Wed, Nov 7, 2018 at 9:59 AM Hamish Moffatt > > > > wrote: > > > Does anyone know of a repository for updated Qt

Re: [Interest] Qt API annoyances: where to log/discuss?

2018-10-31 Thread Elvis Stansvik
Den ons 31 okt. 2018 kl 18:35 skrev Jason H : > > > > > Sent: Tuesday, October 30, 2018 at 3:23 PM > > From: "Thiago Macieira" > > To: interest@qt-project.org > > Subject: Re: [Interest] Qt API annoyances: where to log/discuss? > > > > On Tuesday, 30 October 2018 08:39:22 PDT Jason H wrote: > > >

  1   2   3   4   5   >