Page 1 of 1

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

Posted: Sun Oct 16, 2016 3:40 pm
by edvard
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 9085 times
3.15.5.6:
3.15.5_layers.png
3.15.5_layers.png (4.78 KiB) Viewed 9085 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?

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

Posted: Sun Oct 16, 2016 6:13 pm
by Husky
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 9078 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

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

Posted: Sun Oct 16, 2016 8:32 pm
by edvard
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.

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

Posted: Sun Oct 16, 2016 9:52 pm
by edvard
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.

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

Posted: Wed Sep 27, 2017 2:47 am
by edvard
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.