CE-Programming / CEmu

Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features
https://ce-programming.github.io/CEmu/
Other
1.07k stars 76 forks source link

Building using CMAKE #488

Open Cipher66hz opened 1 month ago

Cipher66hz commented 1 month ago

Operating System: …
Linux Mint 21.3

CEmu version: … 1.3

Describe your issue:
Unable to build, QT-creator/qmake requires an account. In the documentation it states that a user can use cmake, but does not elaborate on this: "(Note that you can also use CMake if you want - check the CI for an example)"
There is no example it seems ^^^

What are the steps to reproduce this issue?

  1. … Attempt to build the package using cmake, on a system that does not have QT-Creator installed.

Any logs, error output, screenshot, other comments...?

If y'all could further elaborate in the documentation about building using cmake that'd be great :D

Thank you so much

adriweb commented 1 month ago

Right, we literally just revamped all that actually. We'll update the docs. You don't need Qt Creator at all.

Cipher66hz commented 1 month ago

Right, we literally just revamped all that actually. We'll update the docs. You don't need Qt Creator at all.

Sweet. I actually ended up installing QT-Creator through Flatpak without having to make an account for it.

I was wondering if it would be possible to make a Desktop launcher for immediately running CEmu as an executable of sorts. To where I dont need to open QT-Creator , and can just start up my calculator. f so, would you be able to point me in the right direction as to how to achieve this? If not, thats fine :)

Thanks so much! :D

adriweb commented 1 month ago

To answer this specific question here, the easiest solution would be to move/copy the built CEmu binary file into a folder that's in your PATH env var (maybe /usr/bin, /usr/local/bin, or similar), so that you can launch CEmu from your terminal directly. (This should work especially well with the static linux builds we provides in the releases however). Something like https://github.com/probonopd/linuxdeployqt might also help. but that's out of our scope I guess.

adriweb commented 1 month ago

As for desktop files, we have something here: https://github.com/CE-Programming/CEmu/tree/master/gui/qt/resources/linux