Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build 2.0/develop on Ubnutu #8

Open
bitterjug opened this issue Jan 11, 2024 · 2 comments
Open

How to build 2.0/develop on Ubnutu #8

bitterjug opened this issue Jan 11, 2024 · 2 comments

Comments

@bitterjug
Copy link

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
Copy link
Owner

Timmmm commented Jan 13, 2024

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants