Re: [Interest] QTextStream problem

2024-08-02 Thread Turtle Creek Software
Actually, the file we tried to read with QTextStream had LF line endings. What's the procedure for revising online manual pages? It really could use a mention... ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/int

Re: [Interest] QTextStream problem

2024-07-31 Thread Turtle Creek Software
interest-requ...@qt-project.org > > You can reach the person managing the list at > interest-ow...@qt-project.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Interest digest..." > Today's Topics: > >

[Interest] QTextStream problem

2024-07-30 Thread Turtle Creek Software
We ran into a weird error with QTextStream. When using it to read a text file, it removes all the line endings. That happens with readAll, read and readLine. Getting a QString direct from a QFile via readAll works properly. Is this expected behavior in QTextStream? It's not documented anywhere.

[Interest] More on Exceptions

2024-05-25 Thread Turtle Creek Software
Thiago, I'll describe what happens when our typical exception is thrown, since conditions are very different from what you describe. Before any method uses a pointer, it first does a sanity check. If nullptr it shows a dialog with file/line number and what failed, then throws an exception to avoid

Re: [Interest] Exceptions

2024-05-24 Thread Turtle Creek Software
edit your Subject line so it is more specific > than "Re: Contents of Interest digest..." > Today's Topics: > >1. Re: Exceptions (Turtle Creek Software) >2. Re: Exceptions (Thiago Macieira) >3. Undefined symbols when porting from Qt5 to Qt6 >

Re: [Interest] Exceptions

2024-05-23 Thread Turtle Creek Software
*Qt 6.7 > Best Practice Guides > Exception Safety* as currently written seems very reasonable. We'd much rather see that extended to ARM rather than abandoned. This link states that ARM fully supports C++ exception handling: https://developer.arm.com/documentation/dui0491/i/C-and-C---Implementatio

[Interest] Exception catching in event loop

2024-05-01 Thread Turtle Creek Software
Our code has thousands of sanity checks, which give an error message with file & line #, then throw an exception. The event loop swallows the non-fatal ones so users can continue work. To do that in Qt we wrap QApplication::notify in a try/catch. It works fine in Qt 5, and also in Qt 6 built for

Re: [Interest] App release

2024-04-03 Thread Turtle Creek Software
Yes, that is correct: it's a closed-source app. The plan was to have an initial free beta period using open-source Qt, then switch to a commercial Qt license when the paid version is ready. Getting bug reports is worth the loss of a few possible sales. However, if Qt Group wants to back-charge fo

[Interest] App release

2024-03-20 Thread Turtle Creek Software
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 licensing problems? How do people usually distribute QT for dynamic l

Re: [Interest] Interest Digest, Vol 146, Issue 18

2023-11-30 Thread Turtle Creek Software
n 2023-11-29 18:05, Turtle Creek Software wrote: > > We deleted build folder, fiddled with settings, and deleted Qt > > completely a couple times with fresh installs of Qt 6.6.1 for MacOS. > > None of that was successful. The fresh installs had problems > > auto-detecting the

Re: [Interest] No rule to make target. Stop.

2023-11-29 Thread Turtle Creek Software
cD On Tue, Nov 28, 2023 at 2:43 PM David M. Cotter wrote: > Also try copying your build settings from the old kit to the new kit > > > On Nov 28, 2023, at 11:43 AM, David M. Cotter wrote: > > > > Try deleting your build folder > > > >> On Nov 28,

[Interest] No rule to make target. Stop.

2023-11-28 Thread Turtle Creek Software
After updating to Qt 6.6.x, we are getting a "No rule to make target . Stop." error. Are there instructions somewhere for how to update/fix it? Google didn't produce anything. Thanks, Casey McD ___ Interest mailing list Interest@qt-project.org http

[Interest] Source code formatting

2023-07-27 Thread Turtle Creek Software
What's the best way to remove all auto-formatting in the latest QT Creator? It really seems to like spaces not tabs. Preferences--Text Editor-- Behavior tab policy seems to be ignored. Preferences--C++ -- Code Style-- Formatting Mode: Disable uses tabs, but it autoformats on save even if checkbox

Re: [Interest] Installer problems

2023-07-04 Thread Turtle Creek Software
wiki... Thanks, Casey McD On Tue, Jul 4, 2023 at 12:01 PM Sze Howe Koh wrote: > On Mon, 3 Jul 2023 at 20:49, Turtle Creek Software > wrote: > > > > To diagnose a recent problem, we needed to install Qt on several > different computers with different Qt and OS setups. > > &

[Interest] Installer problems

2023-07-03 Thread Turtle Creek Software
To diagnose a recent problem, we needed to install Qt on several different computers with different Qt and OS setups. The open source installer has about a 33% success rate. It gives several hash and socket time-out errors along the way, then often aborts completely. At that point it deletes all p

Re: [Interest] Interest Digest, Vol 141, Issue 12

2023-06-20 Thread Turtle Creek Software
.@qt-project.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Interest digest..." > Today's Topics: > >1. QDateTime::fromString does not work with Qt::RFC2822Date > (Alexander Dyagilev) >2. Re:

Re: [Interest] Void pointers for Mac ARM

2023-06-19 Thread Turtle Creek Software
compiler handle #pragma pack (2) ? Thanks, Casey McDermott TurtleSoft.com On Mon, Jun 19, 2023 at 2:50 AM coroberti wrote: > On Sat, Jun 17, 2023 at 8:12 PM Turtle Creek Software > wrote: > > > > Our app contains some old C-ish C++ code from an early 90's database >

[Interest] Void pointers for Mac ARM

2023-06-17 Thread Turtle Creek Software
Our app contains some old C-ish C++ code from an early 90's database called NeoAccess. It often uses function pointers with void pointers as parameters. Their code works OK for Mac & Windows, when built with the latest Qt5 on Intel. The code also builds OK with the latest Qt6, but running it on a

Re: [Interest] Qt 6.5 Is Irrelevant...

2022-12-19 Thread Turtle Creek Software
ally supports x86 releases) > > > > Apple started using Arm64 in 2020…. > > > > So not really a “jolt every 3 years”. You have had 3 _*total*_ jolts over > the course of 30 years. > > > > -- > > Mike Jackson > > > > *From: *Interest on behalf of

Re: [Interest] Qt 6.5 Is Irrelevant...

2022-12-18 Thread Turtle Creek Software
We sell to construction companies. They are not computer geeks, and often run the original OS until the machine dies. Given the flakiness of some Mac OS upgrades, that may be ideal policy. Apple moves far too fast with chip, OS and language changes. It's hard for small developers to keep up. We

Re: [Interest] QT Creator consistency

2022-12-03 Thread Turtle Creek Software
y, there's a lot to be said for consistency between development apps also. Casey McD On Sat, Dec 3, 2022 at 3:56 PM A. Pönitz wrote: > On Fri, Dec 02, 2022 at 07:24:56PM -0500, Turtle Creek Software wrote: > > The last few updates to QT Creator have made small changes to the user &

[Interest] QT Creator consistency

2022-12-02 Thread Turtle Creek Software
The last few updates to QT Creator have made small changes to the user interface, annoyingly. Using the latest, I weirdly kept seeing preprocessor output. Huh? Turns out Follow Symbol Under Cursor moved from #2 to #3 in the right-click menu. When using a command 50 times a day, one clicks by pos

Re: [Interest] Text Resources

2022-05-15 Thread Turtle Creek Software
It appears that the problem may be caused by GitHub. Its default is to change line endings to suit the platform. The behavior can be modified with a .gitattributes file so we are fiddling with that now. We switched to it last week because BitBucket/SourceTree became unusable on Windows. They didn

[Interest] Text resources

2022-05-14 Thread Turtle Creek Software
We just started moving a Mac project to Windows. When reading text resources into a QString, the Win version automatically replaces all /n line endings with /r/n. That screws up our line parsing. The code creates a QString from QFile:readAll(), and the change happens somewhere in that constructo

Re: [Interest] More on table problem

2021-06-11 Thread Turtle Creek Software
I tried putting the button inside a QFrame, but it has the same problem. Casey McD On Fri, Jun 11, 2021 at 10:05 AM Volker Hilsheimer wrote: > > On 11 Jun 2021, at 13:52, Turtle Creek Software > wrote: > > > > Here's more info on the weird QTableWidget problem we

Re: [Interest] More on table problem

2021-06-11 Thread Turtle Creek Software
container we can put the button into, that will act as a click barrier. Something less extreme than a dialog. Casey McD On Fri, Jun 11, 2021 at 10:05 AM Volker Hilsheimer wrote: > > On 11 Jun 2021, at 13:52, Turtle Creek Software > wrote: > > > > Here's more info on

[Interest] More on table problem

2021-06-11 Thread Turtle Creek Software
Here's more info on the weird QTableWidget problem we're seeing. One of our data entry fields uses combination of widgets: a QLineEdit subclass with a linked QToolButton subclass next to it, and a QListWidget subclass that drops down underneath. It acts kinda like a combo box, but better for rea

[Interest] Button in front of table

2021-06-10 Thread Turtle Creek Software
We have a QTableWidget with cells containing our QWidget subclasses. One of them adds a temporary popup menu button and a scrolling list when clicked. They display OK, but clicking on them falls through to the cell widget behind them. raise() didn't help. We can intercept all clicks and figure i

Re: [Interest] the path forward

2021-04-01 Thread Turtle Creek Software
>> Hi Casey, welcome to the ML. I'd like to respond to some of your comments. I hope you don't mind me addressing them out-of-order. Thanks, that is very helpful. I guess after a few years one gets to know the personalities! My definition of stability would be a platform that lets existing cod

Re: [Interest] the path forward

2021-04-01 Thread Turtle Creek Software
In general, I agree with Roland about the need for stability. The past 20 years we've spent most of our programming time just keeping up with Mac OS changes. Meanwhile the Windows competition has been adding features. We want a platform that lets our C++ code be a cash cow, without all the curren

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

2021-03-22 Thread Turtle Creek Software
Re: willy-nilly I find this discussion interesting, because we ranted on the Cocoa-dev list for a while and probably sounded a lot like Roland. That was after we spent 3 years porting our C++ desktop app from Mac Carbon to Cocoa, and barely got half done. With huge effort we might have finished