Timmmm / robocut

Control vinyl cutters, including Craft Robo, Silhouette, Cameo and Portrait
http://robocut.org/
GNU General Public License v3.0
81 stars 28 forks source link

How to build 2.0/develop on Ubnutu #8

Open bitterjug opened 10 months ago

bitterjug commented 10 months ago

Hi Timmmm,

Thanks for Robocut! I'm still using it with a Craft Robo (very occasionally) and today I found out you have a new branch almost ready to merge. So I thought I'd build it. Ive checked out develop. The instructions say install qt6 and libusb-1.0, which I have done. And then run qmake and make.

It looks like I need to use qmake6, but when I do that, in the root of the repo, it doesn't do anything and prints its usage message:

Usage: qmake6 [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project
...

So what might I be missing here? Thanks

Timmmm commented 10 months ago

Hey I added some instructions for building from source to the readme. It actually uses CMake to drive the build. Let me know if you have any issues!

Also I haven't worked on the develop branch for a while because IIRC it didn't actually cut successfully. I may have misremembered that though. If you could give it a go and let me know if it works that would be really helpful!

bitterjug commented 10 months ago

Thanks for a swift reply. I'm doing this on an ubuntu based pop-os machine. And it turns out (once I'd installed xkb which cmake told me I also needed) the system package for Qt6 I have is

[:~/dev/tools/robocut] develop(+1/-1)* 130 ± qmake6 --version
QMake version 3.1
Using Qt version 6.2.4 in /usr/lib/x86_64-linux-gnu

and it looks from this stackoverflow answer like I need 6.3.

I'm not sure I Want to install qt6 from qt.io.

I do have another question, however, which i'll ask in a separate issue.