Layer visibility and Lock icons missing in compiled version 3.15.5.6 to 3.18.0 (Solved with caveats)

Use this forum for all posts and questions about the free QCAD Community Edition version 3

Moderator: andrew

Post Reply
User avatar
edvard
Junior Member
Posts: 14
Joined: Sun Jul 06, 2014 2:25 pm

Layer visibility and Lock icons missing in compiled version 3.15.5.6 to 3.18.0 (Solved with caveats)

Post by edvard » Sun Oct 16, 2016 3:40 pm

Good morning.

I am running Debian Gnu/Linux 64-bit, "Testing" distribution. I successfully compiled the latest version of Qcad from Git (3.15.5.6), but noticed something wrong with the layer list. In the previous version, there were icons next to the layer name for toggling layer visibility and locking the layer, but in this version, they are missing. However, when I click in the area of the layer list where the icons previously were, the function is still there.

3.15.3:
3.15.3_layers.png
3.15.3_layers.png (5.17 KiB) Viewed 3827 times
3.15.5.6:
3.15.5_layers.png
3.15.5_layers.png (4.78 KiB) Viewed 3827 times
In the second image, notice the icons are missing, but if I click in the area of the "E" or "x" of the layer name, I can toggle the layer visibility. If I click the "a" or "m" area, I can toggle the lock.

Because the function is still there, I suspect this is a bug rather than a removal of a feature. Should I submit this to the bugtracker, or is there something I may have missed in the compilation?
Last edited by edvard on Wed Sep 27, 2017 4:10 am, edited 1 time in total.

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 2146
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Compiled version 3.15.5.6: Layer visibility and Lock icons missing

Post by Husky » Sun Oct 16, 2016 6:13 pm

Good morning :wink:

Sorry - I can't help you with the compiling procedure but as a side note I can confirm that the Icons have been moved to the right side.

Here a screenshot from the 3.15.5 Pro
Husky-2016.10.16-03.png
Husky-2016.10.16-03.png (4.82 KiB) Viewed 3820 times
Maybe you should try the Trial version for testing - remember not to mix QCAD Versions in an already existing QCAD Directory - use always a new(?) and empty(!) directory.

http://www.qcad.org/de/qcad-downloads-trial
Work smart, not hard: QCad Pro

User avatar
edvard
Junior Member
Posts: 14
Joined: Sun Jul 06, 2014 2:25 pm

Re: Compiled version 3.15.5.6: Layer visibility and Lock icons missing

Post by edvard » Sun Oct 16, 2016 8:32 pm

Yes, I have the compiled Community version and the Trial version in two different directories and can confirm the Trial version behaves as expected. Also, the Trial version shows the layer color in a swatch to the left of the layer name, which is a nice feature I wish was in the Community version (but I can live without it).
I now realize because the GUI elements also look very different that it may be because I used plain "qmake -r" which defaults to using Qt5, and I was compiling from a Git pull, which can be touchy. I will try again with "qmake-qt4 -r" on the stable 3.15.5.0 version and report back.

User avatar
edvard
Junior Member
Posts: 14
Joined: Sun Jul 06, 2014 2:25 pm

Re: Compiled version 3.15.5.6: Layer visibility and Lock icons missing

Post by edvard » Sun Oct 16, 2016 9:52 pm

OK, turns out the problem was twofold. I tried compiling the latest Git version with Qt4, and it failed. Compiled the stable 3.15.5.0 with Qt4 and it works as expected.

User avatar
edvard
Junior Member
Posts: 14
Joined: Sun Jul 06, 2014 2:25 pm

Re: Compiled version 3.15.5.6: Layer visibility and Lock icons missing

Post by edvard » Wed Sep 27, 2017 2:47 am

UPDATE: This is still happening with QCAD 3.18.0; the layer icons don't show when QCAD is compiled with default qmake (which defaults to Qt5). Compiled with qmake-qt4 the icons are in their proper places. Am I missing some Qt5 components or compilation flags? Qmake doesn't report anything missing...

OS: Debian LInux "Testing" (Buster) 64-bit
Qt versions: 4.8.7 and 5.9.1.

Post Reply

Return to “QCAD Community Edition”