Active Topics

 


Reply
Thread Tools
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#91
there a lot of opensource SDL apps and games in openrepos you can check for inspiration
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 2 Users Say Thank You to coderus For This Useful Post:
Posts: 5 | Thanked: 5 times | Joined on Apr 2020 @ Biskupová, Slovakia
#92
Originally Posted by Halftux View Post
You need to install the development packages:

SDL2-devel
SDL2_gfx-devel
SDL2_image-devel
SDL2_mixer-devel
SDL2_net-devel
SDL2_sound-devel
SDL2_ttf-devel

But don't now if it is still valid, names could have changed.

Thanks, thanks so much! It compiled now and i only have to fix touch and also possibly orientation. I don't really know now how, but i'll maybe find something.
 

The Following User Says Thank You to Morc For This Useful Post:
Posts: 5 | Thanked: 5 times | Joined on Apr 2020 @ Biskupová, Slovakia
#93
I've been thinking, as i fixed my SDL app to work now with touch, how can i put it to rpm format with .desktop and icon like creating an app in Qt Creator?
 

The Following User Says Thank You to Morc For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#94
 

The Following 2 Users Say Thank You to coderus For This Useful Post:
Posts: 2 | Thanked: 1 time | Joined on Nov 2011
#95
how difficult is it to port an open source android app to sailfish? Not a lot of apps available so as this has not been done yet, I guess very difficult?

For example, porting over K9 email or even a better browser....
 

The Following User Says Thank You to rrijken1973 For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#96
Originally Posted by rrijken1973 View Post
how difficult is it to port an open source android app to sailfish? Not a lot of apps available so as this has not been done yet, I guess very difficult?

For example, porting over K9 email or even a better browser....
Unless the android app has been created with a cross-platform toolkit (I think there are some that have been done that way?) it is fairly difficult.

The difficulty lies in the fact that Android applications are implemented with their own UI framework and the insides of the applications is done in java, and on Sailfish the UI framework is Silica and QT while the program logic is (usually) c++.

It is most often easier to implement the whole shebang from scratch than try porting.
__________________
Dave999: Meateo balloons. What’s so special with em? Is it a ballon?
 

The Following 2 Users Say Thank You to juiceme For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#97
Originally Posted by juiceme View Post
...
It is most often easier to implement the whole shebang from scratch than try porting.
Or, even more easier, install aliendalvik and the Android app
(duck'n'cover)
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 3 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 202 | Thanked: 385 times | Joined on Jul 2018
#98
Originally Posted by coderus View Post
Decided to create one super-thread for all the questions about Sailfish OS coding.

You can post random questions about coding here and help others to code.

Sailfish OS only.
Question for you, (or anyone)...
If I modify a system qml, (say "glassBackground.qml", for example), then I can't apply any patch that works with that file, (I guess the patch script detects that the file was changed, and assumes some other patch is applied). Is there any way to reset that info, and cause the patch to apply anyway? I notice in Patchmanager log, that there is a line that says, "apply patch anyway? no". Can that be overridden?
Thanks
 

The Following User Says Thank You to levone1 For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#99
no-no. open patch file in text editor and look. it matches lines before and after lines to be changed. if you change these matches then patch cannot be applied.
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 3 Users Say Thank You to coderus For This Useful Post:
Posts: 202 | Thanked: 385 times | Joined on Jul 2018
#100
Originally Posted by coderus View Post
no-no. open patch file in text editor and look. it matches lines before and after lines to be changed. if you change these matches then patch cannot be applied.
Oh - so if I change the file first, then install the patch, it should work... I'll check it out...
 

The Following User Says Thank You to levone1 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 20:01.