-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add more indepth information for app development/API usage. #125
Comments
I love this idea. Another thing that would be useful is to document what SailfishOS refers to as "callchains" for example: Sensors: sensorfw-qt5 <> sensorfw-qt5-hybris <> libgbinder <> Android BSP HAL: android.hardware.sensors Could such mapping be automated? Automating documentation from the code is a good way to make sure that they stay in synchronization. Doxygen uses this approach. |
For reference on your comment that information is provided by https://sailfishos.org/wiki/Architecture. Doxygen is an awesome tool to get documentation from the code. However, I'm not familiar with a method that would allow doing the same for all different source codes (QtSensors, General Qt modules, MCE APIs, etc) |
Also we need simple logging and linux commands one can use for debugging (like journalctl). It maybe redundant but it would be helpful for people coming from other dev environments cough (flutter + windows) cough. And running and setting up command line things not GUI coz qtcreator breaks a lot. (aos docs are not clear on that) Some developing tips like setting up qmltester on watch and reduction of testing cycles by separating logic and design. Again it may be redundant but seeing how easy it is for developers to pick up something like flutter and make up a simple app, we should be inspired by that. I know it isn't fair to compare two projects that have vastly different amounts of resources and organizations backing them up, but atleast we can take inspiration and move in the right direction. If nobody is writing this, can I?, I will try and make up a PR. and then somebody more experienced and nuanced than me can review it. I am exploring setting up the environment in vscode (the IDE noobs like me use :P), if I got things working I will mention that also! |
have 2 terminals
Useful Vs Code Extensions:
not related to qml/qt but |
here is a shell script to quickly install an app:
|
Add these lines at the end of CMakeLists.txt for package automation:
|
Main docs: https://doc.qt.io/ (AOS uses qt5) |
Dump logs by
Follow Along by
|
Using QML tester for small testing cycles:
Edit qmls by vim and scp
Follow along by
|
We could add a .vscode/extensions.json and useful tasks.json to our helloworld repo (and more if people find that useful) |
Currently we have a wiki for creating an app for AsteroidOS: https://asteroidos.org/wiki/creating-an-asteroid-app/
While sufficient for simply building and creating a new app, it does not show what APIs are available for everyone to use.
Generally people have to search through this GitHub organization, which is not desirable.
Instead we should provide a new wiki page that provides this information.
Things that this page should have (more to be added/suggestions welcome 😉 ):
The text was updated successfully, but these errors were encountered: