Search found 260 matches
- Mon Dec 21 2020 6:07 pm
- Forum: Developers
- Topic: storageLocation
- Replies: 2
- Views: 5516
storageLocation
All, From Qt 4.4 forward QDesktopServices provided storageLocation() https://doc.qt.io/archives/qt-4.8/qdesktopservices.html#storageLocation This was supposed to make cross platform good. It certainly helped. We now had a list of standard locations we could relegate to Qt. QDesktopServices::DesktopL...
- Thu Dec 17 2020 6:01 pm
- Forum: Developers
- Topic: -Wzero-as-null-pointer-constant issues
- Replies: 3
- Views: 5871
-Wzero-as-null-pointer-constant issues
All, I really wanted to clean up the use of NULL in my gede port. I honestly think it is causing a problem under CopperSpice that Qt simply ignores. Don't know for absolute certainty because I can't examine a string . . . that would be the reason for the port in the first place. At any rate, when th...
- Thu Dec 17 2020 5:54 pm
- Forum: Developers
- Topic: CopperSpice License Question
- Replies: 23
- Views: 23323
Re: CopperSpice License Question
What about BSD? Gede released under BSD. If at some point I want to merge Diamond and Gede into something of an IDE I'm not allowed to change from BSD license. The real problem with OpenSource is all of the projects seem to spin a roulette wheel in isolation when choosing a license. Makes for a larg...
- Thu Dec 17 2020 5:49 pm
- Forum: Developers
- Topic: QString::lastNIdexOf( QRegularExpression)
- Replies: 2
- Views: 4874
Re: QString::lastNIdexOf( QRegularExpression)
That's what I will end up having to do, but one should consider the potential size of an object which may or may not be in memory. If the object is memory mapped to disk one could have to parse many gigs to obtain something that is less than twenty bytes in from the end. The proposed solution works ...
- Wed Dec 16 2020 2:33 pm
- Forum: User Support
- Topic: Can't convert const *char to QChar32
- Replies: 2
- Views: 9285
Re: Can't convert const *char to QChar32
I know nothing about Object Pascal. What I can tell you about is C++, at least a bit. inline void copyPWideStringToQString(PWideString ps, QString &qs) { qs.setUtf16((ushort *)unicodeOfPWideString(ps), lengthOfPWideString(ps)); } The first thing you have to do is look at the doc. https://www.cop...
- Wed Dec 16 2020 2:11 pm
- Forum: User Support
- Topic: Proper method of appending QChar to QByteArray
- Replies: 2
- Views: 7697
Re: Proper method of appending QChar to QByteArray
Thank you for your response. We strongly suggest you do use PepperMill and then fix any code you decide should be improved. This will save you a good deal of time and energy. This is OpenSource. Saving time wasn't really the goal. I still have to look at everything. Having one black box magically co...
- Sun Dec 13 2020 7:57 pm
- Forum: Developers
- Topic: QString::lastNIdexOf( QRegularExpression)
- Replies: 2
- Views: 4874
QString::lastNIdexOf( QRegularExpression)
All, Stumbled into this today. Qt 4.8 had int lastIndexOf(const QRegExp & rx, int from = -1) const int lastIndexOf(QRegExp & rx, int from = -1) const In porting some code I believed the method existed in CopperSpice but now used QRegularExpression. The compiler quickly proved that wrong. The...
- Sat Dec 12 2020 6:03 pm
- Forum: User Support
- Topic: Proper method of appending QChar to QByteArray
- Replies: 2
- Views: 7697
Proper method of appending QChar to QByteArray
I'm having brain spasm porting (someone else's) debugger code to CopperSpice so I can have a debugger that lets me look at a CopperSpice QString. Porting by hand, not using the tool, because I don't want to be riding in that car if it goes off the rails. Well, that and this needs some restructuring,...
- Wed Dec 09 2020 2:56 pm
- Forum: User Support
- Topic: If CopperSpice is/was really really ready now . . .
- Replies: 0
- Views: 11322
If CopperSpice is/was really really ready now . . .
The big stinky chunks have officially hit the fan in the Qt world. Commercial customers of Qt 5 have to buy a subscription license for Qt 6. Last time I looked at anything related to the "subscription license" the gist of it was "if you stop paying you have to pull your product from m...
- Thu Nov 12 2020 1:57 pm
- Forum: Enhancements
- Topic: OS/2 Back from the grave
- Replies: 0
- Views: 11201
OS/2 Back from the grave
Just stumbled into this and passing along. https://www.theregister.com/2017/05/19/new_version_of_os_2_arca_os_5/ Qt 3.x and Zinc used to be big on OS/2. https://www.arcanoae.com/arcaos/ I haven't dug in to see how current the C++ compiler is nor did I dig in to see if CopperSpice could be built 32-b...