[solved] Qcad will not open after install

Post your question about installing or upgrading QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Post one question per topic.

Post Reply
jwcrockerjr
Newbie Member
Posts: 7
Joined: Mon Dec 27, 2021 4:56 pm

[solved] Qcad will not open after install

Post by jwcrockerjr » Mon Dec 27, 2021 7:01 pm

I had Qcad 3.24.3 installed and working on my desktop running Ubuntu 18.04. I purchased Qcad 3.27.0 and installed from the .run file. It appeared to install but would not open. The same file successfully installed 3.27.0 on my notebook running Ubuntu 20.04.3 LTS I have made a clean install of Ubuntu Ubuntu 20.04.3 LTS on my desktop. Qcad 3.27.0 installed and opened, UNTIL Ubuntu downloaded updates. Now when I click on the Qcad Icon nothing happens. I have run the uninstall file and deleted all Qcad files and folders from my home folder and reinstalled with no luck.
Thanks for any help,
Walter

User avatar
petevick
Premier Member
Posts: 392
Joined: Tue May 19, 2020 9:34 am
Location: North Norfolk coast UK

Re: Qcad will not open after install

Post by petevick » Mon Dec 27, 2021 8:46 pm

have you tried running the qcad executable from the installation folder, just to see if qcad actually runs, if it does then there could be a problem with the qcad desktop launcher.
Also right click on the desktop launcher, select Properties and check that the path in the Command field matches your installation path.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.4

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Re: Qcad will not open after install

Post by andrew » Mon Dec 27, 2021 9:28 pm

Please indicate which exact package you have installed (file name). Note that there are multiple packages for Linux systems, some of which might not work on your particular installation.

Please try to run QCAD from a terminal, for example:

Code: Select all

cd ~/opt/qcad-3.27.1-pro-linux-x86_64
./qcad
Then post the output / error messages here.

jwcrockerjr
Newbie Member
Posts: 7
Joined: Mon Dec 27, 2021 4:56 pm

Re: Qcad will not open after install

Post by jwcrockerjr » Mon Dec 27, 2021 9:57 pm

qcad-3.27.0-pro-linux-x86_64.run This file installed perfectly on my notebook computer which is running the same version of Ubuntu. Qcad opened one time on my desktop but would not open again after Ubuntu software updates.

jwcrockerjr
Newbie Member
Posts: 7
Joined: Mon Dec 27, 2021 4:56 pm

Re: Qcad will not open after install

Post by jwcrockerjr » Mon Dec 27, 2021 10:07 pm

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

walteri@walteri-Inspiron-3668:~$ cd ~/opt/qcad-3.27.1-pro-linux-x86_64
bash: cd: /home/walteri/opt/qcad-3.27.1-pro-linux-x86_64: No such file or directory
walteri@walteri-Inspiron-3668:~$ ./qcad

jwcrockerjr
Newbie Member
Posts: 7
Joined: Mon Dec 27, 2021 4:56 pm

Re: Qcad will not open after install

Post by jwcrockerjr » Mon Dec 27, 2021 10:12 pm

Just noticed that the code you send was for 3.27.1 I have 3.27.0 The following is what I got when I edited the command to 3.27.0

walteri@walteri-Inspiron-3668:~$ cd ~/opt/qcad-3.27.0-pro-linux-x86_64
walteri@walteri-Inspiron-3668:~/opt/qcad-3.27.0-pro-linux-x86_64$ ./qcad
QCAD version 3.27.0
Warning: Application already running. Aborting...
walteri@walteri-Inspiron-3668:~/opt/qcad-3.27.0-pro-linux-x86_64$

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Re: Qcad will not open after install

Post by andrew » Tue Dec 28, 2021 9:54 am

This would indeed indicate that an instance of QCAD is already running, perhaps in the background. You cannot run two instances of QCAD in parallel.

Maybe try the ps command to list your processes.

jwcrockerjr
Newbie Member
Posts: 7
Joined: Mon Dec 27, 2021 4:56 pm

Re: Qcad will not open after install

Post by jwcrockerjr » Tue Dec 28, 2021 3:35 pm

I started Qcad from a terminal after restarting my computer. This what I saw. The process never completed as I received a warning when I closed the terminal. System Monitor lists Qcad and Qcad-bin as runing.

cd ~/opt/qcad-3.27.0-pro-linux-x86_64
./qcad
walteri@walteri-Inspiron-3668:~$ cd ~/opt/qcad-3.27.0-pro-linux-x86_64
walteri@walteri-Inspiron-3668:~/opt/qcad-3.27.0-pro-linux-x86_64$ ./qcad
QCAD version 3.27.0
Warning: QXcbConnection: XCB error: 2 (BadValue), sequence: 224, resource id: 0, major code: 1 (CreateWindow), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 225, resource id: 56623109, major code: 2 (ChangeWindowAttributes), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 226, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 227, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 228, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 230, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 231, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 232, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 236, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 237, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 240, resource id: 56623109, major code: 2 (ChangeWindowAttributes), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 241, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 244, resource id: 56623109, major code: 19 (DeleteProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 245, resource id: 56623109, major code: 20 (GetProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 246, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 249, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 250, resource id: 56623109, major code: 19 (DeleteProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 251, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 253, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 254, resource id: 56623109, major code: 19 (DeleteProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 255, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 256, resource id: 56623109, major code: 12 (ConfigureWindow), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 272, resource id: 56623109, major code: 2 (ChangeWindowAttributes), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 273, resource id: 56623109, major code: 2 (ChangeWindowAttributes), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 274, resource id: 56623109, major code: 20 (GetProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 275, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 276, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 277, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 278, resource id: 56623109, major code: 20 (GetProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 279, resource id: 56623109, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 280, resource id: 56623109, major code: 20 (GetProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 281, resource id: 56623109, major code: 19 (DeleteProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 282, resource id: 56623109, major code: 8 (MapWindow), minor code: 0
08:25:23: Debug: CadToolBar.initStyle
08:25:29: Debug: EcmaScriptShell.initStyle:
Warning: QWidget::setMinimumSize: (PropertyEditorDock/RDockWidget) Negative sizes (2,-1) are not possible
Warning: QWidget::setMaximumSize: (PropertyEditorDock/RDockWidget) Negative sizes (524287,-1) are not possible
Warning: QWidget::setMinimumSize: (LayerListProDock/RDockWidget) Negative sizes (2,-1) are not possible
Warning: QWidget::setMaximumSize: (LayerListProDock/RDockWidget) Negative sizes (524287,-1) are not possible
Warning: QWidget::setMinimumSize: (Options/QToolBar) Negative sizes (0,-1677721600) are not possible
Warning: QWidget::setMaximumSize: (Options/QToolBar) Negative sizes (16777215,-1677721600) are not possible
Warning: QXcbConnection: XCB error: 2 (BadValue), sequence: 287, resource id: 0, major code: 1 (CreateWindow), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 288, resource id: 56623117, major code: 2 (ChangeWindowAttributes), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 289, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 290, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 291, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 293, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 294, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 295, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 296, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 297, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 300, resource id: 56623117, major code: 2 (ChangeWindowAttributes), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 301, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 304, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 305, resource id: 56623117, major code: 20 (GetProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 306, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 309, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 310, resource id: 56623117, major code: 19 (DeleteProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 311, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 313, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 314, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 315, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 317, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 318, resource id: 56623109, major code: 10 (UnmapWindow), minor code: 0
Warning: QWidget::setMinimumSize: (LayerListProDock/RDockWidget) Negative sizes (2,-1) are not possible
Warning: QWidget::setMaximumSize: (LayerListProDock/RDockWidget) Negative sizes (524287,-1) are not possible
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 321, resource id: 56623109, major code: 4 (DestroyWindow), minor code: 0
Warning: QWidget::setMinimumSize: (HorizontalRuler/RRulerQt) Negative sizes (0,-2147483648) are not possible
Warning: QWidget::setMaximumSize: (HorizontalRuler/RRulerQt) Negative sizes (16777215,-2147483648) are not possible
Warning: QWidget::setMinimumSize: (HorizontalRuler/RRulerQt) Negative sizes (0,-2147483648) are not possible
Warning: QWidget::setMaximumSize: (HorizontalRuler/RRulerQt) Negative sizes (16777215,-2147483648) are not possible
Warning: QWidget::setMinimumSize: (VerticalRuler/RRulerQt) Negative sizes (-2147483648,0) are not possible
Warning: QWidget::setMaximumSize: (VerticalRuler/RRulerQt) Negative sizes (-2147483648,16777215) are not possible
Warning: QWidget::setMinimumSize: (VerticalRuler/RRulerQt) Negative sizes (-2147483648,0) are not possible
Warning: QWidget::setMaximumSize: (VerticalRuler/RRulerQt) Negative sizes (-2147483648,16777215) are not possible
Warning: QWidget::setMinimumSize: (HorizontalRuler/RRulerQt) Negative sizes (0,-2147483648) are not possible
Warning: QWidget::setMaximumSize: (HorizontalRuler/RRulerQt) Negative sizes (16777215,-2147483648) are not possible
Warning: QWidget::setMinimumSize: (VerticalRuler/RRulerQt) Negative sizes (-2147483648,0) are not possible
Warning: QWidget::setMaximumSize: (VerticalRuler/RRulerQt) Negative sizes (-2147483648,16777215) are not possible
Warning: QWidget::setMinimumSize: (Icon/QLabel) The largest allowed size is (16777215,16777215)
Warning: QWidget::setMaximumSize: (Icon/QLabel) The largest allowed size is (16777215,16777215)
Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 322, resource id: 56623117, major code: 18 (ChangeProperty), minor code: 0
Warning: QWidget::setMinimumSize: (HorizontalRuler/RRulerQt) Negative sizes (0,-2147483648) are not possible
Warning: QWidget::setMaximumSize: (HorizontalRuler/RRulerQt) Negative sizes (16777215,-2147483648) are not possible
Warning: QWidget::setMinimumSize: (VerticalRuler/RRulerQt) Negative sizes (-2147483648,0) are not possible
Warning: QWidget::setMaximumSize: (VerticalRuler/RRulerQt) Negative sizes (-2147483648,16777215) are not possible
Warning: QWidget::setMinimumSize: (LayerListProDock/RDockWidget) Negative sizes (2,-1) are not possible
Warning: QWidget::setMaximumSize: (LayerListProDock/RDockWidget) Negative sizes (524287,-1) are not possible
Warning: QWidget::setMinimumSize: (HorizontalRuler/RRulerQt) Negative sizes (0,-2147483648) are not possible
Warning: QWidget::setMaximumSize: (HorizontalRuler/RRulerQt) Negative sizes (16777215,-2147483648) are not possible
Warning: QWidget::setMinimumSize: (VerticalRuler/RRulerQt) Negative sizes (-2147483648,0) are not possible
Warning: QWidget::setMaximumSize: (VerticalRuler/RRulerQt) Negative sizes (-2147483648,16777215) are not possible
08:30:22: Debug: autosave skipped [08:30:22]: no modifications
08:35:22: Debug: autosave skipped [08:35:22]: no modifications
08:40:22: Debug: autosave skipped [08:40:22]: no modifications

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Re: Qcad will not open after install

Post by andrew » Tue Dec 28, 2021 3:50 pm

Could it be that you are running Wayland? You can check with:

Code: Select all

loginctl show-session $(loginctl | grep $(whoami) | awk '{print $1}') -p Type

jwcrockerjr
Newbie Member
Posts: 7
Joined: Mon Dec 27, 2021 4:56 pm

Re: Qcad will not open after install

Post by jwcrockerjr » Tue Dec 28, 2021 5:14 pm

I pasted the code into a terminal and the output was Type=x11 .

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Re: Qcad will not open after install

Post by andrew » Tue Dec 28, 2021 5:28 pm

Thanks.

You might have to try some of the alternative Linux packages. I'd try first the "QCAD Professional 3.27.0 for Linux Qt 5.14 64bit" package which links against a newer version of Qt.

jwcrockerjr
Newbie Member
Posts: 7
Joined: Mon Dec 27, 2021 4:56 pm

Re: Qcad will not open after install

Post by jwcrockerjr » Tue Dec 28, 2021 6:58 pm

I installed 3.27.1 for Linux Qt 5.14 64bit and that solved the problem. Thanks so much for you help

Post Reply

Return to “QCAD Installation and Upgrades”