QT C++ code samples

More
14 Jan 2020 11:11 #154812 by Clive S
Replied by Clive S on topic QT C++ code samples

Grotius wrote: Phill,

You don't have to use QT for it. Just run the ./Cad file, its a compiled executable about 29mb.
You can directly run the program. Please try if it works!, thanks.

Attachment not found


Thanks for all the hard work you are putting into this.

May I ask a dumb question does this run on a windows machine or linuxcnc.

Please Log in or Create an account to join the conversation.

More
14 Jan 2020 11:20 #154814 by phillc54
Replied by phillc54 on topic QT C++ code samples
When I unzip it, Cad is only 1.55Mb and does not open.

Please Log in or Create an account to join the conversation.

More
14 Jan 2020 11:29 - 14 Jan 2020 11:30 #154816 by Grotius
Replied by Grotius on topic QT C++ code samples
Try this one..

File Attachment:

File Name: CadCam_2020-01-14.zip
File Size:729 KB

I can download this one, and run it.. I see the CadCam file is 1.6 mb.
Attachments:
Last edit: 14 Jan 2020 11:30 by Grotius.

Please Log in or Create an account to join the conversation.

More
14 Jan 2020 11:33 #154817 by Grotius
Replied by Grotius on topic QT C++ code samples
Hi Clive,

Thanks for your question.

It runs also on a window's machine. Only thing i have to do is compile it for window's. I tested that a few month's ago and it works fine for windows. I had to install the windows sdk (development set). Very soon i will provide a windows version.
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
14 Jan 2020 11:38 #154818 by phillc54
Replied by phillc54 on topic QT C++ code samples
I get the following error:
phill@stretch ~/Downloads/CadCam_2020-01-14 $ ./CadCam 
./CadCam: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by ./CadCam)
phill@stretch ~/Downloads/CadCam_2020-01-14 $ 
The following user(s) said Thank You: Grotius

Please Log in or Create an account to join the conversation.

More
14 Jan 2020 14:27 #154824 by Clive S
Replied by Clive S on topic QT C++ code samples

Grotius wrote: Try this one..

File Attachment:

File Name: CadCam_2020-01-14.zip
File Size:729 KB

I can download this one, and run it.. I see the CadCam file is 1.6 mb.


I have tried this but it won't open.
Attachments:
The following user(s) said Thank You: Grotius

Please Log in or Create an account to join the conversation.

More
14 Jan 2020 14:45 #154825 by tommylight
Replied by tommylight on topic QT C++ code samples
Getting the same errors on all of them, even the 29MB one, the QT core version is up to date.
Slowly but surely i am beginning to hate QT, everything i have touched with it comes back with a plethora of very cryptic errors. Not good at all.
The following user(s) said Thank You: Grotius

Please Log in or Create an account to join the conversation.

More
14 Jan 2020 20:43 #154843 by Grotius
Replied by Grotius on topic QT C++ code samples
Hi all, thanks for this test phase so far.

I got a solution !! It's called "deployement" It writes all files, dependencies, libraries etc into one file as an image..

Have tested this on a non qt linux pc and it works now.. The program can be started from usb also..

The procedure is very, very easy :
Download and unpack the zip file, the executable is named : Cad--x86_64.AppImage (p.s. must be marked as executable, but i think it is already)

Download link :
CadCam program

For other QT writers..
I used in terminal :
terminal : export PATH=/home/grotius/Qt/5.12.3/gcc_64/bin/:$PATH
terminal : ./linuxdeployqt-6-x86_64.AppImage Cad -appimage
This video does the trick : h__ps://www.youtube.com/watch?v=2B--nzfoQ9s

Please Log in or Create an account to join the conversation.

More
14 Jan 2020 22:05 #154849 by phillc54
Replied by phillc54 on topic QT C++ code samples

tommylight wrote: Getting the same errors on all of them, even the 29MB one, the QT core version is up to date.
Slowly but surely i am beginning to hate QT, everything i have touched with it comes back with a plethora of very cryptic errors. Not good at all.

I feel the same Tom, the more I see of QT the less I like it.

Unfortunately it looks like the way everything is heading. :(

Please Log in or Create an account to join the conversation.

More
14 Jan 2020 22:24 #154851 by phillc54
Replied by phillc54 on topic QT C++ code samples

Grotius wrote: The procedure is very, very easy :
Download and unpack the zip file, the executable is named : Cad--x86_64.AppImage (p.s. must be marked as executable, but i think it is already)

Download link :
CadCam program

Yes, that worked. :)
It looks good but there is a bit of strange behaviour shown in the video linked to below.
This is on a Stretch virtual machine in VMware Fusion on a Mac. I will try later today on a real machine.

The following user(s) said Thank You: Grotius

Please Log in or Create an account to join the conversation.

Time to create page: 0.150 seconds
Powered by Kunena Forum