Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-15 Thread Thiago Macieira
On domingo, 14 de junho de 2020 10:55:20 PDT Roland Hughes wrote: > Requires a C++17 compiler. > given the wide range of gcc versions I'm guessing nobody tried until > Centos 8 and you probably could get things to compile for Centos 5. Those two statements are contradictory. Getting a C++17-capa

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-15 Thread Oliver Wolff
Hi, On 13.06.2020 09:20, Konrad Rosenbaum wrote: On 2020-06-12 02:44, Hamish Moffatt wrote: On 12/6/20 10:17 am, Scott Bloom wrote: Why is Win7 being dropped?  I (my company) has gotten burned pretty hard by the dropping of CentOS 6, similar reasons listed for win7.. It's funny that there's

Re: [Interest] Getting QGraphicsView from within a mouse event

2020-06-15 Thread Giuseppe D'Angelo via Interest
Il 15/06/20 03:26, Nicholas Yue ha scritto: The return widget object does not have a viewport() method from looking at the QWidget - docs void AttributeItem::mousePressEvent(QGraphicsSceneMouseEvent* event) {     if (event->button()==Qt::LeftButton)     {

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-15 Thread Florian Bruhin
On Thu, Jun 11, 2020 at 06:02:53PM +, Jérôme Godbout wrote: > or Windows 11 by the time Qt 6 and you get your application ready "Microsoft > will release Windows 11 on July 29, 2020, and will be available to the > general public." Do you have a source for that? I'm assuming it's https://www.wi

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-15 Thread Henry Skoglund
On 2020-06-15 12:37, Florian Bruhin wrote: On Thu, Jun 11, 2020 at 06:02:53PM +, Jérôme Godbout wrote: or Windows 11 by the time Qt 6 and you get your application ready "Microsoft will release Windows 11 on July 29, 2020, and will be available to the general public." Do you have a source fo

[Interest] Connecting signal handler to Qt application - async-handler-safety

2020-06-15 Thread Bernhard Lindner
Hi! I wrote a logging application containing a signal handler that is registered using std::signal(). The handler receives signals like SIGFPE, SIGSEGV, etc. Now I would like to connect that handler to some Qt based logging code. Unfortunately I could not find a portable solution to do that. Ar

Re: [Interest] Connecting signal handler to Qt application - async-handler-safety

2020-06-15 Thread Giuseppe D'Angelo via Interest
Il 15/06/20 12:58, Bernhard Lindner ha scritto: Are there any functions in Qt that are considered async-handler-safe? No, as any of them may allocate memory. See https://doc.qt.io/qt-5/unix-signals.html for the textbook solution (self pipe trick). On Linux you can also use signalfd(2) to a

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-15 Thread Roland Hughes
On 6/15/20 5:00 AM, Thiago Macieira wrote: GCC didn't achieve a good C++17 support until GCC 7 (released in May 2017). CentOS 5 reached EOL in March 2017. So there's no official devtoolset containing GCC 7. It wasn't until gcc 8 that they got "full" C++17 support at least as I read a while ba

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-15 Thread Jérôme Godbout
I have work for medical devices for over 10 years and used Qt from 4.x to 5.8 (move out to IoT lately), designing system and software. Cie who do that, did it wrong, you have to ensure your software will run and you maintaint it, but in no way you will add any new features (you will need to cert

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-15 Thread Roland Hughes
I seriously beg to differ. In America "upgrades" and field patches have a completely different certification path than "shiny new device." What has to be certified is based on the extent of the changes and how well the FDA documentation is filled out. That OS/2 Qt3 medical device I get an em

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-15 Thread Jérôme Godbout
This is exactly my point, that device is STILL on Qt3 because you don't want to go all over that certifications/testing just for changing a Qt versions. You can enchance it, but you will need to proof the changes impacts have been cover in testings and no risk have been added. Those system, near

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-15 Thread Roland Hughes
You completely miss the point. Qt has been prone to sweeping API changes mostly due to the fact they keep chasing the iDiot phone market. If that is the market they want, fine, but they had best fess up now so everyone else can go somewhere else. You can't take someone who learned via Qt 5 an

Re: [Interest] Connecting signal handler to Qt application - async-handler-safety

2020-06-15 Thread Thiago Macieira
On segunda-feira, 15 de junho de 2020 03:58:12 PDT Bernhard Lindner wrote: > I wrote a logging application containing a signal handler that is registered > using std::signal(). The handler receives signals like SIGFPE, SIGSEGV, > etc. > > Now I would like to connect that handler to some Qt based l

Re: [Interest] Connecting signal handler to Qt application - async-handler-safety

2020-06-15 Thread Thiago Macieira
On segunda-feira, 15 de junho de 2020 04:06:28 PDT Giuseppe D'Angelo via Interest wrote: > On Linux you can also use signalfd(2) to achieve the same without the > burden of a custom signal handler. No, you can't, because you need to block the signal using pthread_sigmask in all threads, otherwis

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-15 Thread Jérôme Godbout
Yeah API between major version is going to change, because, yeah the world is evolving and better concept become available, if you thing all the API changes are for idevice only, your saying but I beg to differ. I really like where they are heading. QWidgets is hard to maintain and is one reason

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-15 Thread Matthew Woehlke
On 15/06/2020 14.26, Jérôme Godbout wrote: If your developer have hard time learning Qt3 to Qt5, I feel sorry for you You have that backwards. Kids who only learn the new stuff can't be hired to support the old because they cannot even begin to function. I suggest you hired from different s

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-15 Thread Roland Hughes
On 6/15/20 1:47 PM, Matthew Woehlke wrote: On 15/06/2020 14.26, Jérôme Godbout wrote: If your developer have hard time learning Qt3 to Qt5, I feel sorry for you You have that backwards. Kids who only learn the new stuff can't be hired to support the old because they cannot even begin to fun

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-15 Thread Roland Hughes
On 6/15/20 1:48 PM, interest-requ...@qt-project.org wrote: Wow! They also have Windows 12 https://www.window11updates.com/windows-12-lite-download-linux-iso/ (must be*even better* than Windows 11:-) Now now kids. https://answers.microsoft.com/en-us/windows/forum/windows_10-update/windows-11-