Re: [Interest] Continued past failed assertions with MSVC

2023-05-09 Thread Scott Bloom
Macieira Sent: Tuesday, May 9, 2023 7:54 AM To: interest@qt-project.org Subject: Re: [Interest] Continued past failed assertions with MSVC On Monday, 8 May 2023 16:50:51 PDT Scott Bloom wrote: > I do on a regular basis. Not sure why you say it’s a horrible dialog, > it’s a messa

Re: [Interest] Continued past failed assertions with MSVC

2023-05-08 Thread Scott Bloom
I do on a regular basis. Not sure why you say it’s a horrible dialog, it’s a message box  with the assertion information. -Original Message- From: Interest On Behalf Of Thiago Macieira Sent: Monday, May 8, 2023 9:25 AM To: Qt Interest Subject: [Interest] Continued past failed

Re: [Interest] Need some help tracking down an issue

2023-04-14 Thread Scott Bloom
Nordheim Sent: Friday, April 14, 2023 11:02 AM To: Scott Bloom ; interest@qt-project.org Subject: RE: Need some help tracking down an issue Hey! It’s likely similar to the issue seen here: https://bugreports.qt.io/browse/QTBUG-109511 Qt itself may use the global thread pool for certain parallelization

[Interest] Need some help tracking down an issue

2023-04-14 Thread Scott Bloom
I have an opensource project that is Qt based, to find duplicate files. It started as a learning experience for working with thread pools. Its pretty much 100% functional, however, I have issues where the GUI is non-responsive to user activity. If anyone has the time, and willingness to do a

Re: [Interest] QProcess unbuffered

2023-03-18 Thread Scott Bloom
:00:54 PDT Scott Bloom wrote: > Maybe I missed it. But I don’t see where you use the > InheritableHandleInfo template. WTF? Ah, it ended up in the wrong commit in the series during rebase. Fixed. -- Thiago Macieira - thiago.macieira (AT) intel.com Cloud Software Architect - Intel DCAI

Re: [Interest] QProcess unbuffered

2023-03-17 Thread Scott Bloom
18:18:53 PDT Scott Bloom wrote: > I really want to thank Björn > > With his starting point, I was able to tweak his changes, and seem to > have it working  I have more testing to do. But it was actually > pretty straight forward. > > * I use VS (2022) so the

Re: [Interest] QProcess unbuffered

2023-03-08 Thread Scott Bloom
From: Björn Schäpers Sent: Wednesday, March 8, 2023 11:45 AM To: Scott Bloom ; interest@qt-project.org Subject: Re: [Interest] QProcess unbuffered Am 08.03.2023 um 03:18 schrieb Scott Bloom: > I really want to thank Björn > > With his starting point, I was able to tweak his changes,

Re: [Interest] QProcess unbuffered

2023-03-07 Thread Scott Bloom
/DirModel.cpp Thanks again. Scott -Original Message----- From: Scott Bloom Sent: Tuesday, March 7, 2023 5:34 PM To: Scott Bloom ; Björn Schäpers ; interest@qt-project.org Subject: RE: [Interest] QProcess unbuffered Yeah, Im being dense.. its from the existing startupinfo.. I read that pa

Re: [Interest] QProcess unbuffered

2023-03-07 Thread Scott Bloom
Yeah, Im being dense.. its from the existing startupinfo.. I read that paragraph a dozen times and missed it each time -Original Message- From: Interest On Behalf Of Scott Bloom Sent: Tuesday, March 7, 2023 5:28 PM To: Björn Schäpers ; interest@qt-project.org Subject: Re: [Interest

Re: [Interest] QProcess unbuffered

2023-03-07 Thread Scott Bloom
Maybe Im being dense (its been a long day) But where is pipe defined ? std::memcpy([1], , 4); std::memcpy([2], , 4); -- Scott -Original Message- From: Björn Schäpers Sent: Tuesday, March 7, 2023 12:58 PM To: Scott Bloom ; interest@qt-project.org Subject: Re: [Interest

Re: [Interest] QProcess unbuffered

2023-03-07 Thread Scott Bloom
-Original Message- From: Interest On Behalf Of Thiago Macieira Sent: Tuesday, March 7, 2023 2:40 PM To: interest@qt-project.org Subject: Re: [Interest] QProcess unbuffered On Tuesday, 7 March 2023 14:23:00 PST Björn Schäpers wrote: > From the code I reviewed back then (and remember

Re: [Interest] QProcess unbuffered

2023-03-07 Thread Scott Bloom
Thanks. Ill take a look and see what I can workup, including the testing of 64 bit (I no longer build 32 bit windows, so any changes will have the opposite of your issues) Scott -Original Message- From: Björn Schäpers Sent: Tuesday, March 7, 2023 12:58 PM To: Scott Bloom ; interest

Re: [Interest] QProcess unbuffered

2023-03-06 Thread 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 (mkvalidator from https://www.matroska.org/downloads/mkvalidator.html

Re: [Interest] QProcess unbuffered

2023-03-05 Thread Scott Bloom
On Sunday, 5 March 2023 17:11:13 PST Scott Bloom wrote: > I have an external executable (mkvalidator from > https://www.matroska.org/downloads/mkvalidator.html > > It never flushes the output, and it uses linefeed without carriage > returns to overwrite existing text on the

[Interest] QProcess unbuffered

2023-03-05 Thread Scott Bloom
I have an external executable (mkvalidator from https://www.matroska.org/downloads/mkvalidator.html It never flushes the output, and it uses linefeed without carriage returns to overwrite existing text on the output. The problem is, when I run it via QProcess (on windows, Qt 5.15.10), I get

Re: [Interest] Weird assert, how to debug?

2023-03-04 Thread Scott Bloom
/MainWindow.qrc Maybe the issue is triggered by / results from its content. => You could try moving that file in and out. => If the issue persists, please file a bug at https://bugreports.qt.io and include a complete reproducer. Brgds Axel Von: Scott Bloom mai

Re: [Interest] Weird assert, how to debug?

2023-03-03 Thread Scott Bloom
] Weird assert, how to debug? Hi Scot, Please try running the executable from outside Qt Creator to eliminate its debugger as the troublemaker. Cheers Axel On 3 Mar 2023, at 18:33, Scott Bloom mailto:sc...@towel42.com>> wrote:  As you can see by the sample, Im not doing anything s

Re: [Interest] Weird assert, how to debug?

2023-03-03 Thread Scott Bloom
f it doesn't please file a bugreport in https://bugreports.qt.io, upload the reproducer, specify the Qt and (Qt Creator if used for debugging) versions used. Cheers Axel Von: Interest mailto:interest-boun...@qt-project.org>> im Auftrag von Scott Bloom mailto:sc

[Interest] Weird assert, how to debug?

2023-03-02 Thread Scott Bloom
Im getting an assertion in qwidget.cpp "d->focus_prev->d_func()->focus_next == this" in Qwidget.cpp line 1443 (Qt 5.15.10) I realize the response is going to be, create a minimal example, I created a repo on github with it, it's a simple cmake based project. Any help figuring this out would be

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

2023-01-23 Thread Scott Bloom
-Original Message- From: Interest On Behalf Of Thiago Macieira Sent: Sunday, January 22, 2023 9:32 AM To: interest@qt-project.org Subject: Re: [Interest] MSVC not-the-latest: are you using it? why? On Sunday, 22 January 2023 08:33:43 PST coroberti wrote: > On some update of MSVC-2017 to

Re: [Interest] QRegularExpression for replace

2022-12-05 Thread Scott Bloom
regular expression replacement. https://learn.microsoft.com/en-us/dotnet/standard/base-types/substitutions-in-regular-expressions?redirectedfrom=MSDN#substituting-a-numbered-group Yes, it can be done, but I think it should be built into QRegularExpression -Original Message- Fro

Re: [Interest] QRegularExpression for replace

2022-12-04 Thread Scott Bloom
PST Scott Bloom wrote: > That is basically what I did for the non problematic replacements. > The ones that not only need the captured text, but also need the rest > of the text I didn't bother implementing The point is that you may do it programmatically, instead of having

Re: [Interest] QRegularExpression for replace

2022-12-03 Thread Scott Bloom
:14 PM To: interest@qt-project.org Subject: Re: [Interest] QRegularExpression for replace On Thursday, 1 December 2022 11:43:39 PST Scott Bloom wrote: > Im looking for a way using QRE to do something like the following > > auto regEx = QRegularExpression( "(?.*)" ); if ( reg

[Interest] QRegularExpression for replace

2022-12-01 Thread 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}" ); Using the standard set of regex subsitutions Is this something anyone is looking at?

Re: [Interest] Qt Sql BLOB data converting

2022-11-28 Thread Scott Bloom
-Original Message- From: Interest On Behalf Of Thiago Macieira Sent: Monday, November 28, 2022 1:41 PM To: interest@qt-project.org Subject: Re: [Interest] Qt Sql BLOB data converting On Monday, 28 November 2022 12:39:05 PST Scott Bloom wrote: > Strict tables were only added in Sql

Re: [Interest] Qt Sql BLOB data converting

2022-11-28 Thread Scott Bloom
-Original Message- From: Interest On Behalf Of Thiago Macieira Sent: Monday, November 28, 2022 12:21 PM To: interest@qt-project.org Subject: Re: [Interest] Qt Sql BLOB data converting On Monday, 28 November 2022 12:07:22 PST Scott Bloom wrote: > but if they did a create XXX as str

Re: [Interest] Qt Sql BLOB data converting

2022-11-28 Thread Scott Bloom
-Original Message- From: Interest On Behalf Of Christian Ehrlicher Sent: Monday, November 28, 2022 11:54 AM To: interest@qt-project.org Subject: Re: [Interest] Qt Sql BLOB data converting Am 28.11.2022 um 20:31 schrieb Scott Bloom: > -Original Message- > From: In

Re: [Interest] Qt Sql BLOB data converting

2022-11-28 Thread Scott Bloom
-Original Message- From: Interest On Behalf Of Thiago Macieira Sent: Monday, November 28, 2022 11:21 AM To: interest@qt-project.org Subject: Re: [Interest] Qt Sql BLOB data converting On Monday, 28 November 2022 10:59:47 PST Christian Ehrlicher wrote: > It's because of the dynamic typing

Re: [Interest] Qt Sql BLOB data converting

2022-11-28 Thread Scott Bloom
string that has the value 1234 being automatically converted to an integer, and then the value.toString() returning “1234”) Scott From: Yauheni Pervenenka Sent: Monday, November 28, 2022 11:16 AM To: Scott Bloom Cc: Christian Ehrlicher ; interest@qt-project.org Subject: Re: [Interest] Qt Sql

Re: [Interest] Qt Sql BLOB data converting

2022-11-28 Thread Scott Bloom
@Christian Ehrlicher you beat me to the punch. If you dump out the value (not the size) you will see the QVariant is a of type QString not QByteArray const auto value = query.value(0); qDebug() << "value = " << value; auto tmp = QVariant( value.toByteArray() );

Re: [Interest] Is 6.x finally there ??

2022-10-21 Thread Scott Bloom
@Bill Jones<mailto:jo...@synergy.com>, Thanks. That would have been a major issue for my group Scott From: Bill Jones Sent: Friday, October 21, 2022 2:18 PM To: interest@qt-project.org Cc: Scott Bloom ; Volker Hilsheimer Subject: Re: [Interest] Is 6.x finally there ?? Hi Volker, A

Re: [Interest] Is 6.x finally there ??

2022-10-21 Thread Scott Bloom
Thanks for the reply! Ill let the team know -Original Message- From: Volker Hilsheimer Sent: Friday, October 21, 2022 7:01 AM To: Scott Bloom Cc: interest@qt-project.org Subject: Re: [Interest] Is 6.x finally there ?? > On 20 Oct 2022, at 22:35, Scott Bloom wrote: > >

[Interest] Is 6.x finally there ??

2022-10-20 Thread Scott Bloom
I haven't been following the 6.x progress very much. Only because it was clear 6.0 and 6.1 were not ready to replace all the functionality of 5.x However, with 6.4 it appears that all functionality that is going to be brought forward, has been completed. Is that true? Or is there sill chunks

[Interest] Convert to QMetaMethod from QObject + const char *

2022-08-16 Thread Scott Bloom
I have a function that takes in a QObject and const char * signal/slot void func( ..., QObject * target, const char * member ) { logic QObject::connect( ., target, member ) ... more logic { So I can call it via func( , m_target, SLOT( ) ... it works fine I would like

Re: [Interest] Proper way to track mouse leaving a widgets boundary

2022-08-16 Thread Scott Bloom
Hey Scott, This should be a job for a QWidget::leaveEvent override: https://doc.qt.io/qt-6/qwidget.html#leaveEvent Volker == How did I miss that in the 20 years of Qt coding??? dang ___ Interest mailing list Interest@qt-project.org

[Interest] Proper way to track mouse leaving a widgets boundary

2022-08-16 Thread Scott Bloom
I have a QTextEdit derived class, that sets setMouseTracking( true ) in the constructor. Note, this isn't about QTextEdit and should I use QTextBrowser. Ive had this issue multiple times over the last 20 years of Qt development, and the solution has always been the same and I am not convinced

Re: [Interest] Official linuxdeployqt ?

2022-08-08 Thread Scott Bloom
From: Benjamin TERRIER Sent: Monday, August 8, 2022 9:20 AM To: Qt Interest Cc: Scott Bloom Subject: Re: [Interest] Official linuxdeployqt ? On Mon, 8 Aug 2022 at 18:10, Scott Bloom mailto:sc...@towel42.com>> wrote: On Mon, 8 Aug 2022 at 08:10, Jörg Bornemann mailto:joerg.

Re: [Interest] Official linuxdeployqt ?

2022-08-08 Thread Scott Bloom
On Mon, 8 Aug 2022 at 08:10, Jörg Bornemann mailto:joerg.bornem...@qt.io>> wrote: On 8/4/22 19:42, Scott Bloom wrote: > Is there a Qt supported linuxdeployqt comparable to the windeployqt? > > I found the 3^rd party version, but the command line args are very > differe

Re: [Interest] Official linuxdeployqt ?

2022-08-04 Thread Scott Bloom
I already have a cmake fuction I use for Qt deployment for windows and mac, but without the linux deploy application, I have nothing for linux Scott -Original Message- From: Samuel Gaist Sent: Thursday, August 4, 2022 12:05 PM To: Scott Bloom Cc: interest@qt-project.org Subject: Re

[Interest] Official linuxdeployqt ?

2022-08-04 Thread Scott Bloom
Is there a Qt supported linuxdeployqt comparable to the windeployqt? I found the 3rd party version, but the command line args are very different. Also, is anyone on the Qt side, create a CMake function for this? Where inside CMake, you could call "DeployQt( )" and it would find all the

Re: [Interest] Anyway to tell if a QModelIndex's data will be displayed with an elide?

2022-06-03 Thread Scott Bloom
, it will still elide, but it comes up without. Scott -Original Message- From: Volker Hilsheimer Sent: Friday, June 3, 2022 5:12 AM To: Scott Bloom Cc: interest@qt-project.org Subject: Re: [Interest] Anyway to tell if a QModelIndex's data will be displayed with an elide? > On 2 Jun 2

[Interest] Anyway to tell if a QModelIndex's data will be displayed with an elide?

2022-06-02 Thread Scott Bloom
I have a request, to open a dialog without out any eliding, which is easy enough to do via the views textElideMode. So I can resize all the columns to fit, pretty straight forward, if I don't set the textElideMode However, they also want no the data to be full visible, and not have to resize

[Interest] Adding external style to Qt Designer

2022-05-26 Thread Scott Bloom
We have a custom Style shared plugin, however, I cant figure out how to have Qt Designer pick it up. Im currently on windows, but the custom style's shared library also is available on linux. I see the "Preview in" Windows vista, windows, or fusion. I would like to see the "Scott's Style"

Re: [Interest] QColumnView and QTreeView using same model

2022-05-03 Thread Scott Bloom
I have found when I use a custom model, most issues using views, are tied to an issue of some corner case condition in the model not being handled correctly. ~~Scott Original message From: Michael Jackson Date: 5/3/22 3:05 PM (GMT-08:00) To: Scott Bloom , Qt Interest List

Re: [Interest] QColumnView and QTreeView using same model

2022-05-03 Thread Scott Bloom
Have you run the modeltest on it? Scott From: Interest On Behalf Of Michael Jackson Sent: Tuesday, May 3, 2022 12:57 PM To: Qt Interest List Subject: [Interest] QColumnView and QTreeView using same model I have a custom QAbstractItemModel implementation that works correctly when using a

Re: [Interest] Windows: "loadlibrary failed with error 87" on a configuration with a fake video card?

2022-03-18 Thread Scott Bloom
If there is an error in LoadLibrary, qt will get the error message from the windows system, and then print it out. -Original Message- From: Interest On Behalf Of Alexander Dyagilev Sent: Thursday, March 17, 2022 9:20 PM To: fro...@tungware.se; interest@qt-project.org Subject: Re:

[Interest] QStandardPaths on windows

2022-03-01 Thread Scott Bloom
On linux, you can overwrite most of the QStandardPaths using the XDG_ environment variables. However, I don't see anyway to do the same for Windows. Windows appears always goes to the systems SHGetKnownFolderPath. In a similar manner to QSettings being able to set a specific directory, I

Re: [Interest] Individual developer license is too expensive

2022-02-22 Thread Scott Bloom
Why do you have to statically link? Why not use the lgpl license and the dynamically bound libs? Scott -Original Message- From: Interest On Behalf Of Ben Cottrell Sent: Tuesday, February 22, 2022 1:45 PM To: interest@qt-project.org Subject: [Interest] Individual developer license is

Re: [Interest] QProcess when ^Z is called

2022-02-10 Thread Scott Bloom
day, February 10, 2022 5:58 PM To: interest@qt-project.org Cc: Scott Bloom Subject: Re: [Interest] QProcess when ^Z is called On Thursday, 10 February 2022 16:41:48 PST Scott Bloom wrote: > I have an issue, that if the customer hits Ctrl-Z after the executable > is running, but has spawned a s

[Interest] QProcess when ^Z is called

2022-02-10 Thread Scott Bloom
I have an issue, that if the customer hits Ctrl-Z after the executable is running, but has spawned a subprocess via QProcess, when the system is restarted (either in the background or foreground), the QProcess finished signal is lost. Im assuming the OS level signal of sleep/wake cant be

Re: [Interest] [External]Re: How to get QtConcurrent to do what I want?

2022-02-01 Thread Scott Bloom
Depending on your QFuture setup, you could monitor each tile, and when it completes, update the min max... Passing the manager to each tile, and when the tile is finished update the manager with the tiles value. Then a simple mutex should allow you to not collide. No signals, just a simple

Re: [Interest] [External]Re: How to get QtConcurrent to do what I want?

2022-02-01 Thread Scott Bloom
 that definitely does. Of course I wonder if you had removed that, but left in the QObject etc etc, what would it have been. Likely, not much worse than 15ms. Why? IMO, Qt wouldn’t be what it is today, if simply allocating 60k QObjects and connecting a signal to them too that long. But

Re: [Interest] [External]Re: How to get QtConcurrent to do what I want?

2022-02-01 Thread Scott Bloom
Something seems off. But without looking at the actual code that is allocation 60k tiles and the constructor itself, it just seems like a very expensive construction if the "new" + "moving a pointer" is taking 3ms each. Scott -Original Message- From: Interest On Behalf Of Murphy,

Re: [Interest] [External]Re: How to get QtConcurrent to do what I want?

2022-01-31 Thread Scott Bloom
urewatcher on the results of the mapped call, would be my approach QFutureWatcher< XXX > watcher; connect( , , manager, ); auto future = QtConcurrent::mapReduced(tiles, processTile, mergeFunction) watcher.setFuture( future ); -Original Message----- From: Scott Bloom Sent: Monday, January 3

Re: [Interest] [External]Re: How to get QtConcurrent to do what I want?

2022-01-31 Thread Scott Bloom
Ahh that does fill in a bunch of holes  I would definitely scrap using QSharedPointer as well as QObject, and instead monitoring of the QObject, montor the QFuture that is returned from your map call. Scott -Original Message- From: Interest On Behalf Of Murphy, Sean Sent: Monday,

Re: [Interest] [External]Re: How to get QtConcurrent to do what I want?

2022-01-30 Thread Scott Bloom
Couple things I would try. First, preallocate the size of the vector, or use a list if you don't need random access into it. Second, just send, pos, size into the tile. Only save the values in the constrctor. When the worker thread kicks off on a tile, then initialize it and do any

Re: [Interest] Qthread from QFuture?

2022-01-05 Thread Scott Bloom
Thanks for the info ~~Scott Original message From: Thiago Macieira Date: 1/5/22 4:31 AM (GMT-08:00) To: interest@qt-project.org Cc: Scott Bloom Subject: Re: [Interest] Qthread from QFuture? On Tuesday, 4 January 2022 22:01:20 -03 Scott Bloom wrote: > I appreci

Re: [Interest] Qthread from QFuture?

2022-01-04 Thread Scott Bloom
, but possible. No need for that. Honestly, its mostly when running in the debugger and it "hangs" on exit. Other questions answered inline below -Original Message- From: Thiago Macieira Sent: Tuesday, January 4, 2022 4:28 PM To: interest@qt-project.org Cc: Scott Bloom S

[Interest] Qthread from QFuture?

2022-01-04 Thread Scott Bloom
Is there anyway to get (if it even exists) a QThread from a QFuture/QFutureWatcher? The main issue, and I know this going to sound horrible, I would like to kill/terminate the thread, I know its safe  (famous last words).. Here is what im doing, maybe someone has a better solution (Im sure of

Re: [Interest] QImageIOWriter for multi-framed images

2022-01-03 Thread Scott Bloom
, January 3, 2022 3:43 AM To: Scott Bloom ; interest@qt-project.org Subject: RE: QImageIOWriter for multi-framed images For what it's worth, there is a task in Jira for being able to write GIFs: https://bugreports.qt.io/browse/QTBUG-64889 From: Interest mailto:interest-boun...@qt-project.org

[Interest] QImageIOWriter for multi-framed images

2021-12-20 Thread Scott Bloom
QImageIOReader supports multi-framed images for QMovie. However, there doesn't seem to be any support in the writer for supporting such images. I checked 5.15.7 and the docs in Qt6 as well. Is there a plan for this in the works in the future? Most of the read relies on the IO Handler

[Interest] HighDPI/Scaling windows 10

2021-11-24 Thread Scott Bloom
99% of the time, Im working on a large high resolution high dpi monitor. Where the physical size me to run at a 100% scaling factor. However, when working on the laptop screen itself, Qt 5.15.6 apps look like garbage Here are some example pics. Everything but the window icons are straight Qt,

Re: [Interest] QFileDevice::fileTime and QFileDevice::setFielTime

2021-11-11 Thread Scott Bloom
::setFielTime On Wednesday, 10 November 2021 17:17:50 PST Scott Bloom wrote: > I have a non qfile based solution working. The problem i see, is the > qt file device is too file centric for this bit of functionality. IMO > it should be in qfileinfo, or on qdir as well as qfile We can add i

Re: [Interest] QFileDevice::fileTime and QFileDevice::setFielTime

2021-11-10 Thread Scott Bloom
:00) To: interest@qt-project.org Cc: Scott Bloom Subject: Re: [Interest] QFileDevice::fileTime and QFileDevice::setFielTime On Wednesday, 10 November 2021 14:33:05 PST Scott Bloom wrote: > Is there anyway (besides fixing QFSFileEngine::setFileTime) to support > setting the time

[Interest] QFileDevice::fileTime and QFileDevice::setFielTime

2021-11-10 Thread Scott Bloom
While QFileDevice::fileTime works on files and directories, however it doesn't appear it is possible to use setFileTime on a directory. For a given paths the following works great for two files QFile file1( path1 ); auto dt = file1.fileTime( QFileDevice::FileBirthTime ); QFile file2( path2 );

Re: [Interest] win: can't trap WM_ENTER/EXITMENULOOP?

2021-10-25 Thread Scott Bloom
Ok.. here is what I came up with  https://github.com/scottaronbloom/SABUtils/blob/master/MenuBarEx.cpp and https://github.com/scottaronbloom/SABUtils/blob/master/MenuBarEx.h Simply promote your menuBar in QtDesigner to CMenuBarEx or instantiate it rather than QMenuBa if you create the

Re: [Interest] win: can't trap WM_ENTER/EXITMENULOOP?

2021-10-25 Thread Scott Bloom
Ill poke around, Its definitely doable, but I don’t know any "trivial" about to engage, or disengage with the menubar. Since its always visible and doesn’t close, that’s clearly not what you want. Can I ask, what is the goal? As in, what do you do when its activated? What about when its

Re: [Interest] win: can't trap WM_ENTER/EXITMENULOOP?

2021-10-25 Thread Scott Bloom
Ok.. So you want to know when the user "engages" the menubar and sometime later when the user "disengages" it. Engagement can come from the keyboard alt key, or the alt-XXX shortcut for an individual menu. As well as menu hovering or clicking into any of the menu items. Is this correct

Re: [Interest] win: can't trap WM_ENTER/EXITMENULOOP?

2021-10-25 Thread Scott Bloom
You are mixing and confusing windows native Win32 messages with Qt signals. am I? the doc here for "nativeEvent()" specifically states that this is intended to give you windows messages (WM_*) (on windows) to wit: "receive native platform

Re: [Interest] win: can't trap WM_ENTER/EXITMENULOOP?

2021-10-25 Thread Scott Bloom
You are mixing and confusing windows native Win32 messages with Qt signals. You are making the incorrect assumption that the Qt core internals are based on Windows native widgets. That is your mistake. Instead look into QMenu::aboutToShow and QWidget::closeEvent Your solution (if it worked)

Re: [Interest] qt and Windows tolerance heap

2021-09-07 Thread Scott Bloom
You shouldn’t need it for a read of the registry, however it is possible that the IT dept of the user, or the user themselves has escalated the default privileges required to read from HKLM You might want to code your check to allow for a security violation, so the is it enabled would be yes,

Re: [Interest] QThreadPool wait until all queued threads are finished

2021-08-17 Thread Scott Bloom
Thanks ill give it a go  -Original Message- From: Interest On Behalf Of Thiago Macieira Sent: Tuesday, August 17, 2021 13:14 To: interest@qt-project.org Subject: Re: [Interest] QThreadPool wait until all queued threads are finished On Tuesday, 17 August 2021 12:01:25 PDT Scott Bloom

Re: [Interest] QThreadPool wait until all queued threads are finished

2021-08-17 Thread Scott Bloom
Im really trying to avoid making my own thread pool. QTHreadPool works great except there is nothing I can do to wait for all queued to finish as well. Scott From: Jérôme Godbout Sent: Tuesday, August 17, 2021 12:13 To: Scott Bloom ; interest@qt-project.org Subject: Re: QThreadPool wait until

[Interest] QThreadPool wait until all queued threads are finished

2021-08-17 Thread Scott Bloom
Here is the problem Im having. I have background task, that is small enough to use a lambda on a given string. std::list< yyy > xxx; for( auto && ii : xxx ) { QThreadPool::globalInstance()->start( [ii]() { doSomething( ii ); } ); } Works great for

[Interest] QColor( Qt::black ).lighter() == QColor( Qt::black )

2021-08-02 Thread Scott Bloom
While I understand the logic in the "lighter" (and darker) code, which basically converts to a HSV then uses the value sent into lighter (or darker) on the HSV value to compute the new value, then convert to RGB and return. It fails when the color being lightened is black, is the HSV V = 0,

Re: [Interest] semi-modal dialog

2021-07-29 Thread Scott Bloom
This is the current path we are going down. The problem is also the titlebar differences between windows and linux ~~Scott Original message From: John Weeks Date: 7/29/21 4:34 PM (GMT-08:00) To: Giuseppe D'Angelo via Interest Cc: Scott Bloom Subject: Re: [Interest] semi

[Interest] semi-modal dialog

2021-07-29 Thread Scott Bloom
Here is my problem. I have a progress dialog, that I need to be able to use as a modal dialog with respect to the main window (a QMainWindow class, which is also its parent widget). But, I need to still be able to minimize the main application and even move it. Any ideas on the best way to

Re: [Interest] make check not working (macOS)

2021-06-23 Thread Scott Bloom
> Sent: Wednesday, June 23, 2021 at 11:45 AM > From: "Kai Köhne" > To: "Jason H" , "interestqt-project.org" > > Subject: RE: [Interest] make check not working (macOS) > > HI Jason, > > It looks to me like you're trying to add a test case into your normal > application executable. Is that

Re: [Interest] QNetwork classes for submitting google forms

2021-06-14 Thread Scott Bloom
This has come up a couple times for me through the years (essentially make a network request and don’t return until the request has finished). Is there an example anywhere of the "Thiago" (proper..  ) way to code this? I see this issue in a similar vane to using QThread, when the

Re: [Interest] L Word

2021-04-30 Thread Scott Bloom
In all seriousness, Roland does bring up many valid points, however they are often lost due to the demeanor use to present them. I do think if qt had a qt-med-interest or qt-fusa-interest where the needs of medical device deverlopers or functional safety developers was the primary concern, his

Re: [Interest] Interest Digest, Vol 114, Issue 38

2021-04-01 Thread Scott Bloom
> I would expect Qt to query the version of X being used, say > multi-touch isn’t supported so the app cant support it. If my customer > complained that multi-touch works on the Windows, and CentOS 7 boxes, but not > CentOS 6. > The reasoning is clear, the default X for CentOS 6 doesn’t support

Re: [Interest] Interest Digest, Vol 114, Issue 38

2021-03-31 Thread Scott Bloom
> The response of, its fully supported on CentOS 7 with zero issues. > Worked until they had other tools that were working fine (not Qt > based) Now suppose the issue wasn't HiDPI but something else that required a different component to be updated (like if you needed to update the Xorg

Re: [Interest] Interest Digest, Vol 114, Issue 38

2021-03-28 Thread Scott Bloom
Here is why upgrading to Qt would be important. The monitor on a perfectly working machine, dies. They put in a new monitor for the engineer. IT dept has decided the 4k monitor for 300 bucks is the standard. Now the application which LOOKED and worked great, now looks like crap, because the

Re: [Interest] Interest Digest, Vol 114, Issue 39

2021-03-28 Thread Scott Bloom
Short answer from the customer (yep commercial version here) is no. We were told by support, here is what YOU will have to get working. Scott -Original Message- From: Interest On Behalf Of Roland Hughes Sent: Saturday, March 27, 2021 3:24 AM To: interest@qt-project.org Subject: Re:

Re: [Interest] Interest Digest, Vol 114, Issue 38

2021-03-28 Thread Scott Bloom
This is correct. They are stuck on the OS, if we are not in of the internet mode (ie once a product has shipped, they create a machine with a given OS, and all software necessary to re-produce the produce, and its then taken off the internet and put in a black box, sneakernet only room. But,

Re: [Interest] the path forward - that 7 year thing - was willy-nilly

2021-03-26 Thread Scott Bloom
han the new one, that the same Qt code needs a #ifdef XXX version, so be it. Yes, its more work. Scott -Original Message- From: Hamish Moffatt Sent: Friday, March 26, 2021 17:40 To: Scott Bloom ; interest@qt-project.org Subject: Re: [Interest] the path forward - that 7 year th

Re: [Interest] the path forward - that 7 year thing - was willy-nilly

2021-03-26 Thread Scott Bloom
- From: Interest On Behalf Of Scott Bloom Sent: Friday, March 26, 2021 17:24 To: Hamish Moffatt ; interest@qt-project.org Subject: Re: [Interest] the path forward - that 7 year thing - was willy-nilly To be clear. Roland and I are talking about very different issues. To me, Qt should continue

Re: [Interest] the path forward - that 7 year thing - was, willy-nilly

2021-03-26 Thread Scott Bloom
From the Qt blog post https://www.qt.io/blog/qt-offering-changes-2020 "These changes will not have any effect on existing commercial licensing or services agreements." Now, it doesn’t talk about the notion that if you built and produced your code against a commercial license, it has to remain

Re: [Interest] the path forward - that 7 year thing - was willy-nilly

2021-03-26 Thread Scott Bloom
To be clear. Roland and I are talking about very different issues. To me, Qt should continue to support OS's/Compilers for the life of a Major version of Qt. if it built on Qt 5.0 it should build on that OS/Compiler in 5.15 If Qt decides that modern C++ was more important in 5.13, and the

Re: [Interest] The willy-nilly deletion of convenience,, methods

2021-03-24 Thread Scott Bloom
-Original Message- From: Interest On Behalf Of Thiago Macieira Sent: Wednesday, March 24, 2021 15:44 To: interest@qt-project.org Subject: Re: [Interest] The willy-nilly deletion of convenience,, methods On Wednesday, 24 March 2021 04:48:08 PDT Roland Hughes wrote: > On 3/24/21 6:00 AM,

Re: [Interest] SQLite: mystic bug: No query Unable to fetch row error

2021-01-14 Thread Scott Bloom
, often return "no connection" or "unable to fetch" for a multitude of issues Scott -Original Message- From: Alexander Dyagilev [mailto:alervd...@gmail.com] Sent: Thursday, January 14, 2021 08:41 To: Scott Bloom ; interest@qt-project.org Subject: Re: [Interest

Re: [Interest] SQLite: mystic bug: No query Unable to fetch row error

2021-01-14 Thread Scott Bloom
Did the prepare fail? Do you check to see that the "m_db" database is valid, open, and connected? Scott -Original Message- From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Alexander Dyagilev Sent: Thursday, January 14, 2021 07:19 To: interest@qt-project.org Subject:

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

2020-10-20 Thread Scott Bloom
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 exec, and launch the function then call

[Interest] question for a blocking background thread call

2020-10-20 Thread Scott Bloom
Im working with a thirdparty lib, that I have zero control over  Essentially, on a “button click” a long running blocking function call is executed. I can safely call the function into a background thread, but I don’t want the gui flow to continue. My idea is the following, a class that takes

[Interest] Problems using Qt 5.12/5.15

2020-10-20 Thread Scott Bloom
So I wanted bring up some issues the company I work for is having using 5.12 and 5.15. Our customers (IC development companies large and small) are extremely slow to move their OS. We had customers who are still using CentOS 6.X . These customers, often will NOT move OS’s once a project has

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

2020-06-13 Thread Scott Bloom
From: Interest On Behalf Of Thiago Macieira Sent: Friday, June 12, 2020 6:23 PM To: interest@qt-project.org Subject: Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6 On Friday, 12 June 2020 05:01:17 PDT Roland Hughes wrote: > You can't drop an OS as long as there are paying

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

2020-06-11 Thread Scott Bloom
One thing that I probably missed in this thread, though I have been reading it with quite a lot of interest. Why is Win7 being dropped? I (my company) has gotten burned pretty hard by the dropping of CentOS 6, similar reasons listed for win7.. Is win 7 being dropped because the Visual Studio

Re: [Interest] Handling of ~ paths

2020-06-11 Thread Scott Bloom
-Original Message- From: Matthew Woehlke Sent: Thursday, June 11, 2020 11:43 AM To: Scott Bloom ; interest@qt-project.org Subject: Re: [Interest] Handling of ~ paths On 11/06/2020 14.33, Scott Bloom wrote: > On 11/06/2020 14.24, Matthew Woehlke wrote: >> On 11/06/2020 14.03,

Re: [Interest] Handling of ~ paths

2020-06-11 Thread Scott Bloom
On 11/06/2020 14.03, Scott Bloom wrote: > If you are working with a path, for use in QDir, QFileInfo, QFile etc > etc, and the path string is using a ~, either of the form ~/foo.txt or > ~user/foo.txt, Qt seems to be treating it as a relative path of the > current user, and pre

[Interest] Handling of ~ paths

2020-06-11 Thread Scott Bloom
I’m feeling really stupid right now  Ive been a Qt user for almost 20 years, and I cant believe I have never had to deal with this before. If you are working with a path, for use in QDir, QFileInfo, QFile etc etc, and the path string is using a ~, either of the form ~/foo.txt or

  1   2   >