Search found 61 matches

by seasoned_geek
Sat Aug 22 2020 7:07 pm
Forum: User Support
Topic: Where are the compiler options hidden?
Replies: 3
Views: 798

Re: Where are the compiler options hidden?

Thanks for the notice. I got no messages about the missing w. I understand your philosophy, but coming from the medical device world, one is not allowed to use environment variables for compiler options. Too high a risk and cannot be verified by external auditors. I have a fork here: https://github....
by seasoned_geek
Fri Aug 21 2020 11:07 pm
Forum: Developers
Topic: QKeySequence QKeyEvent enhancement request
Replies: 1
Views: 403

Re: QKeySequence QKeyEvent enhancement request

Sorry, I just noticed I posted this in the wrong section. I'm going to sleep on it a bit tonight, but it really does look like you simply can't get there from here in any reliable manner. If I try building the string from the modifiers I can generate Ctrl+, Alt+, Delete But the user many have entere...
by seasoned_geek
Fri Aug 21 2020 9:55 pm
Forum: Developers
Topic: QKeySequence QKeyEvent enhancement request
Replies: 1
Views: 403

QKeySequence QKeyEvent enhancement request

In working on some enhancements to Diamond, notably adding EDT support, I walked right into a significant design flaw in Qt. QKeyEvent doesn't have a method that returns a QKeySequence. You can only get an int for the key and the modifiers all monkey piled into another binary field. You can't constr...
by seasoned_geek
Fri Aug 21 2020 7:17 pm
Forum: Developers
Topic: One for the to-do list compare _1 and _2
Replies: 0
Views: 255

One for the to-do list compare _1 and _2

Had a cut & paste boo boo that pointed this out :o CS_SIGNAL_1( Public, void edtCopy() ) CS_SIGNAL_2( edtCut ) That isn't caught at compile time, it hangs at run time and even the error message was a bit odd, or my brain just wasn't using all cylinders. DiamondTextEdit::edtCut Unable to register met...
by seasoned_geek
Mon Aug 17 2020 1:46 pm
Forum: Developers
Topic: rehighlight request
Replies: 0
Views: 279

rehighlight request

All, While working on changes to Diamond I have encountered another time honored Qt tradition of abusing the main event loop. When you have a source file of several thousand lines the processing time for the regular expressions locks the UI for several seconds. If you have 5 or 6 of these files open...
by seasoned_geek
Sun Aug 16 2020 3:56 pm
Forum: User Support
Topic: Failed to create xcb gl-integration
Replies: 7
Views: 1760

Re: Failed to create xcb gl-integration

It's a dependency issue.

https://www.logikalsolutions.com/wordpress/wp-content/uploads/2020/08/xcb_glx.png
by seasoned_geek
Sun Aug 16 2020 3:53 pm
Forum: User Support
Topic: Failed to create xcb gl-integration
Replies: 7
Views: 1760

Re: Failed to create xcb gl-integration

Is this a new missing dependency or or did the push miss something? roland@roland-amd-desktop:~/Projects/cs_build$ cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/lib/cs_lib ~/Projects/copperspice Configuring CMake for CopperSpice Search for required Packages -- Could NOT fin...
by seasoned_geek
Sat Aug 15 2020 6:52 pm
Forum: Developers
Topic: The eternal numlock question
Replies: 0
Views: 301

The eternal numlock question

This seems to surface in the Qt world quite often. I was wondering if CS had finally added some wrapper classes for retrieving and setting the NumLock state. Do we have to use one of these two or has a method been added? https://stackoverflow.com/questions/24822505/how-to-tell-if-shift-is-pressed-on...
by seasoned_geek
Sat Aug 15 2020 6:46 pm
Forum: Enhancements
Topic: Documentation issue
Replies: 0
Views: 294

Documentation issue

This post will be related to another post I will make shortly. It is a result of a rather significant case of head-up-butt I seem to have today making modifications to Diamond. From the head-up-butt perspective, for days now I had been using the default compilation options for Diamond and my Setting...
by seasoned_geek
Sat Aug 15 2020 6:30 pm
Forum: User Support
Topic: Where are the compiler options hidden?
Replies: 3
Views: 798

Re: Where are the compiler options hidden?

aaargh There currently are no options, just whatever the default is. I did a bunch of digging and added this for Linux elseif(CMAKE_SYSTEM_NAME MATCHES "(Linux|OpenBSD|FreeBSD|NetBSD|DragonFly)") include(GNUInstallDirs) set(CMAKE_INSTALL_RPATH "\$ORIGIN") # lots of warnings and all warnings as error...