Page 1 of 1

No visibility icons on block or layer list

Posted: Sun Nov 19, 2017 3:23 pm
by massimo
Hi, I'm running some recent nightly build from Oct 23.
On the block or layer list widgets, I can't see any icons anymore for fast switching the visibility. The only way is by using the context menu. Wasn't there some shortcut button per layer or block in the past?

Re: No visibility icons on block or layer list

Posted: Sun Nov 19, 2017 9:39 pm
by Husky
Hi,
massimo wrote:The only way is by using the context menu. Wasn't there some shortcut button per layer or block in the past?
Yes - and it is still the case:
Community Edition:
Husky-2017.11.19-02.png
Husky-2017.11.19-02.png (14.25 KiB) Viewed 4841 times
I recommend a new installation - use a trial package from this site
http://www.qcad.org/de/qcad-downloads-trial

Make sure to pick the right OS and bit system (32/64), don't mix a new installation with an old one (same directory). After that you can remove the Trial feature and it will work as a Community Edition.

Re: No visibility icons on block or layer list

Posted: Mon Nov 20, 2017 9:49 am
by massimo
Ok, but should we check why the self build version from sources doesn't have the feature? I prefer compiling from git for easy update on Gentoo.
This is a fresh source directory and started with an empty ~/.config/QCAD

Code: Select all

$ git log -1
commit 3823f6793e9e105325f0fc4d7041f615c395fddd (HEAD -> master, origin/master, origin/HEAD)
Author: Andrew Mustun <andrew@qcad.org>
Date:   Fri Nov 17 15:36:00 2017 +0000

    update script bindings
See the screenshot.

Code: Select all

$ ldd ~/src/other/qcad/release/qcad-bin 
	linux-vdso.so.1 (0x00007fffc97bd000)
	libqcadecmaapi.so => /home/massimo/src/other/qcad/release/libqcadecmaapi.so (0x00007f6cedffc000)
	libqcadgui.so => /home/massimo/src/other/qcad/release/libqcadgui.so (0x00007f6cedd79000)
	libqcadentity.so => /home/massimo/src/other/qcad/release/libqcadentity.so (0x00007f6ceda6b000)
	libqcadoperations.so => /home/massimo/src/other/qcad/release/libqcadoperations.so (0x00007f6ced849000)
	libqcadspatialindex.so => /home/massimo/src/other/qcad/release/libqcadspatialindex.so (0x00007f6ced63d000)
	libspatialindexnavel.so => /home/massimo/src/other/qcad/release/libspatialindexnavel.so (0x00007f6ced3c8000)
	libqcadgrid.so => /home/massimo/src/other/qcad/release/libqcadgrid.so (0x00007f6ced1bd000)
	libqcadsnap.so => /home/massimo/src/other/qcad/release/libqcadsnap.so (0x00007f6cecfa8000)
	libqcadcore.so => /home/massimo/src/other/qcad/release/libqcadcore.so (0x00007f6cec82c000)
	libqcadstemmer.so => /home/massimo/src/other/qcad/release/libqcadstemmer.so (0x00007f6cec5fd000)
	libqcadzip.so => /home/massimo/src/other/qcad/release/libqcadzip.so (0x00007f6cec3fa000)
	libquazip.so => /home/massimo/src/other/qcad/release/libquazip.so (0x00007f6cec1cc000)
	libGLU.so.1 => /usr/lib64/libGLU.so.1 (0x00007f6cebf4c000)
	libQtWebKit.so.4 => /usr/lib64/qt4/libQtWebKit.so.4 (0x00007f6cea341000)
	libQtScriptTools.so.4 => /usr/lib64/qt4/libQtScriptTools.so.4 (0x00007f6cea081000)
	libQtScript.so.4 => /usr/lib64/qt4/libQtScript.so.4 (0x00007f6ce9bc2000)
	libQtSvg.so.4 => /usr/lib64/qt4/libQtSvg.so.4 (0x00007f6ce9969000)
	libQtXmlPatterns.so.4 => /usr/lib64/qt4/libQtXmlPatterns.so.4 (0x00007f6ce9303000)
	libQtOpenGL.so.4 => /usr/lib64/qt4/libQtOpenGL.so.4 (0x00007f6ce9005000)
	libQtXml.so.4 => /usr/lib64/qt4/libQtXml.so.4 (0x00007f6ce8dc0000)
	libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f6ce8b4e000)
	libQtDesigner.so.4 => /usr/lib64/qt4/libQtDesigner.so.4 (0x00007f6ce83e7000)
	libQtHelp.so.4 => /usr/lib64/qt4/libQtHelp.so.4 (0x00007f6ce8159000)
	libQtSql.so.4 => /usr/lib64/qt4/libQtSql.so.4 (0x00007f6ce7f18000)
	libQtGui.so.4 => /usr/lib64/qt4/libQtGui.so.4 (0x00007f6ce7234000)
	libQtNetwork.so.4 => /usr/lib64/qt4/libQtNetwork.so.4 (0x00007f6ce6eed000)
	libQtCore.so.4 => /usr/lib64/qt4/libQtCore.so.4 (0x00007f6ce69fe000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6ce67de000)
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6 (0x00007f6ce63de000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f6ce608d000)
	libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1 (0x00007f6ce5e76000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f6ce5ab1000)
	libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f6ce5774000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f6ce555d000)
	libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x00007f6ce5244000)
	libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f6ce503a000)
	libicuuc.so.58 => /usr/lib64/libicuuc.so.58 (0x00007f6ce4c93000)
	libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f6ce49ce000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f6ce47ca000)
	libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f6ce45a0000)
	libxcb-dri3.so.0 => /usr/lib64/libxcb-dri3.so.0 (0x00007f6ce439d000)
	libxcb-xfixes.so.0 => /usr/lib64/libxcb-xfixes.so.0 (0x00007f6ce4194000)
	libxcb-present.so.0 => /usr/lib64/libxcb-present.so.0 (0x00007f6ce3f91000)
	libxcb-sync.so.1 => /usr/lib64/libxcb-sync.so.1 (0x00007f6ce3d8a000)
	libxshmfence.so.1 => /usr/lib64/libxshmfence.so.1 (0x00007f6ce3b88000)
	libglapi.so.0 => /usr/lib64/libglapi.so.0 (0x00007f6ce3957000)
	libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f6ce3745000)
	libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007f6ce3542000)
	libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f6ce333c000)
	libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007f6ce313a000)
	libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f6ce2f10000)
	libxcb-glx.so.0 => /usr/lib64/libxcb-glx.so.0 (0x00007f6ce2cf3000)
	libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x00007f6ce2aee000)
	libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007f6ce28e8000)
	libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007f6ce26d6000)
	libQtCLucene.so.4 => /usr/lib64/qt4/libQtCLucene.so.4 (0x00007f6ce23d7000)
	libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f6ce20c3000)
	libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f6ce1e8d000)
	libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f6ce1c39000)
	libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f6ce1a31000)
	libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f6ce1816000)
	libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f6ce1606000)
	libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007f6ce13fb000)
	libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007f6ce11f0000)
	libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007f6ce0fed000)
	libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f6ce0da8000)
	libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007f6ce0b3a000)
	libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f6ce06fd000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f6ce04f5000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f6cef64e000)
	libicudata.so.58 => /usr/lib64/libicudata.so.58 (0x00007f6cde9f3000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f6cde7e3000)
	libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f6cde5df000)
	libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f6cde3d9000)
	libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f6cde167000)
	libffi.so.6 => /usr/lib64/libffi.so.6 (0x00007f6cddf5e000)
	libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f6cddd57000)
	libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007f6cddb41000)

Re: No visibility icons on block or layer list

Posted: Mon Nov 20, 2017 10:08 am
by andrew
Likely some incompatible Qt SVG plugin that is loaded.

Note that random git checkouts are not guaranteed to run or even compile. If you do checkout from git, please make sure you use a tagged version.

For any use of QCAD that goes beyond testing or playing around, official builds from our web site should be used. Note that we also apply various patches to Qt, so bug reports from self-built versions are usually not even considered.

Re: No visibility icons on block or layer list

Posted: Wed Nov 22, 2017 5:57 pm
by massimo
I have built against Qt4. So you say your builds are compiled against a custom patched Qt and that one is statically linked and packaged with your binary installation?
Then I have no chance to get that built at all that way, using an official Qt here?

Re: No visibility icons on block or layer list

Posted: Wed Nov 22, 2017 6:02 pm
by andrew
massimo wrote:I have built against Qt4. So you say your builds are compiled against a custom patched Qt and that one is statically linked and packaged with your binary installation?
No, Qt is dynamically linked.

Re: No visibility icons on block or layer list

Posted: Wed Nov 22, 2017 6:11 pm
by massimo
Ok, but I meant you provide your own Qt with the package and not dynamically linking to system provided Qt in /usr/share?

Re: No visibility icons on block or layer list

Posted: Wed Nov 22, 2017 6:13 pm
by andrew
That's correct.

Re: No visibility icons on block or layer list

Posted: Sun Nov 26, 2017 9:50 pm
by GrinoWri
Massimo,

following up with our discussion at https://bugs.gentoo.org/498656 - I have successfully compiled QCAD 3.19.1.0 against QT 5.9.2 using the ebuild attached in the Gentoo bug tracker and I do not get your icon issue:
Screen Shot 2017-11-27 at 12.35.23 AM.png
Screenshot of QCAD 3.19.1.0 linked against QT 5.9.2
Screen Shot 2017-11-27 at 12.35.23 AM.png (295.61 KiB) Viewed 4682 times
Please try QT 5.9.2 with QCAD 3.19.1.0.