Search found 13 matches

by DerAlbi
Sat Oct 17 2020 10:15 am
Forum: User Support
Topic: Building an application with gcc 10
Replies: 4
Views: 6135

Re: Building an application with gcc 10

I can unfortunately neither confirm nor deny that my GCC10.1 is broken. I have successfully used GCC10.1 on x64 and had no issues outside of CopperSpice. Yet, CS brings a whole lot of dependencies in the mix - which is a situation that does not occur in my small helper applications. Therefore 10.1 c...
by DerAlbi
Fri Oct 16 2020 6:45 am
Forum: User Support
Topic: Building an application with gcc 10
Replies: 4
Views: 6135

Re: Building an application with gcc 10

I compiled / installed 10.2 now and that works. It is likely that my 10.1 gcc is not properly installed or configured or paths are not as they should be. The likely cause of this issue maybe a wrongly loaded dependency. Even i have had a very knowledgeable guy look over the problem (we manually chec...
by DerAlbi
Thu Oct 15 2020 8:01 pm
Forum: User Support
Topic: Building an application with gcc 10
Replies: 4
Views: 6135

Building an application with gcc 10

I am currently trying to switch the compiler to GCC 10.1. Everything builds, but my application crashes. To clarify: CS (built with GCC10.1) + Application (built with GCC7.5.0) is fine CS (built with GCC10.1) + Application (built with GCC10.1) crashes. It crashes here: std::_Deque_iterator<QString8,...
by DerAlbi
Tue Oct 13 2020 6:02 pm
Forum: User Support
Topic: My Struggle with Qwt
Replies: 20
Views: 32181

Re: My Struggle with Qwt

Ok, Barabra, I can understand the issue. Not every code path is testable, not every library version can be accounted for. I would like to offer you guys support - i can have a look at the problem but i need a workable debug environment. My skillset with build system is "+epsilon"... But de...
by DerAlbi
Tue Oct 13 2020 3:56 pm
Forum: User Support
Topic: My Struggle with Qwt
Replies: 20
Views: 32181

Re: My Struggle with Qwt

here you go. Link expires in one week. Save it for later. So far i have nothing found wrong with the lib except the problems within CS. https://filebin.net/e7fsvomby0wd7r9p I (clearly) have no idea what i am doing with CMake, so excuse the crudity of my soulution. There is surely a lot missing, but ...
by DerAlbi
Tue Oct 13 2020 8:32 am
Forum: User Support
Topic: My Struggle with Qwt
Replies: 20
Views: 32181

Re: My Struggle with Qwt

Well, to be totally honest, i have no mental capacity to look into yet another tool. I, personally, find it strange that with C++, which is standardized, is behaving system dependent with memory leaks and errors. I could get my head behind it that file access or graphics-driver interface or whatever...
by DerAlbi
Sun Oct 11 2020 8:49 pm
Forum: User Support
Topic: My Struggle with Qwt
Replies: 20
Views: 32181

Re: My Struggle with Qwt

The build fails with memory leaks.. have a look: https://pastebin.com/iV7UA5Zz ..i just realized that this is output generated from uic? Ok, so 1) you build a tool, 2) that tool is used in the continued build process, but because it is built with libasan, some uncleanliness in the tool is prohibitin...
by DerAlbi
Sun Oct 11 2020 1:53 pm
Forum: User Support
Topic: My Struggle with Qwt
Replies: 20
Views: 32181

Re: My Struggle with Qwt

Ok, that was satisfying :-) Minimal code: 48 Lines. This text drawing: void drawText(QPainter *qp) { QTransform Rotation; qp->setTransform(Rotation.rotate(10.2)); qp->drawText(50, 50, "Hello World"); qp->setTransform(Rotation.rotate(20.2)); qp->drawText(150, 50, "Hello World"); q...
by DerAlbi
Sun Oct 11 2020 12:12 pm
Forum: User Support
Topic: My Struggle with Qwt
Replies: 20
Views: 32181

Re: My Struggle with Qwt

KitchenSink runs like a charm! But it does not have rotated text (that i can see). I am not sure that this is really a case of bad data input.. "My" code is clean as per AddressSanitizer and the only way i can see having a heap corruption would be free(ptr); ExternalLibraryCall(ptr); or so...
by DerAlbi
Sun Oct 11 2020 2:38 am
Forum: User Support
Topic: My Struggle with Qwt
Replies: 20
Views: 32181

Re: My Struggle with Qwt

Ok, i think i have narrowed it down a little bit. I have compiled different example applications of Qwt. Actually some examples work. My observation so far is, that there is an incompatibility when text appears rotated. Have a look: https://imgur.com/J2FwZuA After redraw: https://imgur.com/a/gpJfhY3...