*** Swim_ has joined #sailfishos | 00:00 | |
Swim_ | Hi, just testing the Emulator on Mac for JS detection checks. I get reports of a 0 value for both window.outerHeight and window.outerwidth in the browser, just want to report what seems to be a bug. | 00:05 |
---|---|---|
*** M4rtinK has joined #sailfishos | 00:16 | |
*** M4rtinK has quit IRC | 00:25 | |
*** arcean has quit IRC | 00:28 | |
*** Eztran has quit IRC | 00:34 | |
kaltsi | Swim_: could you write about it to the mailing list or together.jolla.com, might get more audience that way | 00:39 |
*** jjanvier has quit IRC | 00:44 | |
*** Kabouik has joined #sailfishos | 00:46 | |
*** AL13N_lappy has quit IRC | 00:52 | |
*** Zesty_ has quit IRC | 00:55 | |
*** triggerhappy has joined #sailfishos | 00:55 | |
Swim_ | kaltsi: yes i could, but i honestly don't want to dwell that far on the sailfish os. Plus as it turn out those values are quite as mess with different takes on all browsers http://www.quirksmode.org/blog/archives/2012/03/windowouterwidt.html so no big deal. but thanks | 00:56 |
*** Zesty_ has joined #sailfishos | 00:59 | |
*** sequantz has quit IRC | 01:02 | |
*** f00barbaz has quit IRC | 01:03 | |
*** Zesty_ has quit IRC | 01:04 | |
*** Swim_ has quit IRC | 01:05 | |
*** miksuh has quit IRC | 01:08 | |
*** cnuke_ has quit IRC | 01:24 | |
*** Zesty_ has joined #sailfishos | 02:07 | |
*** Morpog has joined #sailfishos | 02:11 | |
*** Tomiol80 has quit IRC | 02:12 | |
*** Morpog_Mobile has quit IRC | 02:13 | |
*** Morpog_ has quit IRC | 02:14 | |
*** Morpog_Mobile has joined #sailfishos | 02:19 | |
*** softmetz has quit IRC | 02:49 | |
*** softmetz has joined #sailfishos | 02:51 | |
*** Kabouik has quit IRC | 02:57 | |
*** Funkeh` has joined #sailfishos | 03:17 | |
*** Gilly has quit IRC | 03:33 | |
*** promulo has quit IRC | 03:42 | |
*** sletta has joined #sailfishos | 03:57 | |
*** furikku has joined #sailfishos | 03:58 | |
*** Thoric has quit IRC | 04:04 | |
*** Thoric has joined #sailfishos | 04:16 | |
*** fuz_ has quit IRC | 04:57 | |
*** fuz_ has joined #sailfishos | 05:02 | |
*** martyone has joined #sailfishos | 05:17 | |
*** alchymia has joined #sailfishos | 05:19 | |
*** s1gk1ll_ has joined #sailfishos | 05:26 | |
*** s1gk1ll has quit IRC | 05:27 | |
*** Pat_o has joined #sailfishos | 05:49 | |
*** dafox has joined #sailfishos | 05:49 | |
*** alchymia has quit IRC | 05:51 | |
*** softmetz_ has joined #sailfishos | 05:56 | |
*** softmetz has quit IRC | 05:59 | |
*** dafox has quit IRC | 06:08 | |
*** Almehdin|Zzz has quit IRC | 06:19 | |
*** flyapen has joined #sailfishos | 06:22 | |
*** piggz has joined #sailfishos | 06:29 | |
*** VDVsx has quit IRC | 06:30 | |
*** VesimN9_ has quit IRC | 06:32 | |
*** lbt has quit IRC | 06:34 | |
*** piggz has quit IRC | 06:34 | |
*** lbt has joined #sailfishos | 06:35 | |
*** Eismann has quit IRC | 06:40 | |
*** jardous has joined #sailfishos | 06:41 | |
*** VDVsx has joined #sailfishos | 06:43 | |
*** proyvind has quit IRC | 06:45 | |
*** Almehdin has joined #sailfishos | 06:48 | |
*** Almehdin has quit IRC | 06:51 | |
*** dafox has joined #sailfishos | 06:57 | |
*** artemma has joined #sailfishos | 06:58 | |
*** Morpog has quit IRC | 07:06 | |
*** jonpacker has joined #sailfishos | 07:07 | |
*** satmd has quit IRC | 07:08 | |
*** satmd has joined #sailfishos | 07:14 | |
*** dafox has quit IRC | 07:15 | |
*** rcg has joined #sailfishos | 07:17 | |
artemma | My App update was APPROVED yesterday, but not PUBLISHED yet. When do I know it's not normal and it's time to ask if something went wrong? | 07:19 |
*** charlesy has quit IRC | 07:32 | |
tomyri | is there way to connect with harbour qa, i have questions about my lates reject | 07:36 |
tomyri | ..or could someone here help. i got "File creation in "[PATH]" is not allowed" when all files should be writed to proper locations | 07:39 |
artemma | tomyri: are you creating files in the allowed locations only then? :) | 07:40 |
tomyri | in app i use QStandardPaths::writableLocation(QStandardPaths::CacheLocation) to get the locatio | 07:40 |
artemma | I don't think the message is about your app run-time stuff (though maybe) | 07:41 |
tomyri | and app and organization name are set | 07:41 |
*** jonpacker has quit IRC | 07:41 | |
tomyri | well i didn't change anything in pro | 07:41 |
*** Pat_o has quit IRC | 07:42 | |
*** jonpacker has joined #sailfishos | 07:47 | |
*** b0bben has joined #sailfishos | 07:50 | |
*** s1gk1ll has joined #sailfishos | 07:50 | |
*** s1gk1ll is now known as Guest4428 | 07:51 | |
*** jonpacker has quit IRC | 07:51 | |
*** Sfiet_Konstantin has joined #sailfishos | 07:51 | |
*** s1gk1ll_ has quit IRC | 07:54 | |
*** Pat_o has joined #sailfishos | 07:55 | |
artemma | tomyri: is the message actually mentioning the path you are misusing | 07:59 |
*** Pat_o has quit IRC | 07:59 | |
*** cxl000 has joined #sailfishos | 08:00 | |
*** Custodian has joined #sailfishos | 08:03 | |
*** gabriel9|work has joined #sailfishos | 08:06 | |
*** juhe has joined #sailfishos | 08:07 | |
*** veskuh has joined #sailfishos | 08:07 | |
*** c0ck4m0u53 has joined #sailfishos | 08:07 | |
tomyri | no just "[PATH]" | 08:08 |
Nicd- | haha, looks like they forgot to replace it | 08:09 |
artemma | tomyri: and you are sure your RPM itself is not deploying files to not allowed location? | 08:09 |
artemma | well, then it must be abut runtime | 08:09 |
artemma | If it is indeed about QStandardPaths::CacheLocation, they can probably process your request manually even if script rejects it now | 08:10 |
artemma | so post the question to this channel once a few hours and you might get help by somebody from Jolla Harbour :) | 08:10 |
artemma | or if you are hopeful, you can try developer-care email :) | 08:11 |
tomyri | artemma: jes, rpm is fine | 08:12 |
*** jonpacker has joined #sailfishos | 08:13 | |
tomyri | and last validation took 6 days so i would really like to know whats wrong before resubmitting | 08:14 |
*** jonpacker has quit IRC | 08:14 | |
artemma | well, I can only repeat the advice of posting your question here once per several hours. Usually help comes rather quickly | 08:14 |
*** jonpacker has joined #sailfishos | 08:15 | |
tomyri | artemma: ok, thanks for advive | 08:15 |
artemma | or you can try developer-care email. They probably do reply at least to somebody too | 08:15 |
*** jjanvier has joined #sailfishos | 08:16 | |
*** thesignal has quit IRC | 08:16 | |
*** TemeV has quit IRC | 08:16 | |
*** thesignal has joined #sailfishos | 08:17 | |
*** TemeV has joined #sailfishos | 08:17 | |
walokra | 6 days for QA.. are there so many apps in harbour queue? | 08:17 |
walokra | just pushed my app for 1st time yesterday | 08:17 |
*** kontio has quit IRC | 08:17 | |
Nicd- | me too, let's see how long it takes | 08:17 |
tomyri | walokra: most times it has took 1-3 days, this was second longer wait for me | 08:18 |
artemma | walokra: according to dashboard yesterday 12 apps were submitted, day before I remember there were too. Usual number seems to be 4-10/day. And I think exactly this number is not fake | 08:18 |
*** xruxa_away has quit IRC | 08:18 | |
artemma | were two* | 08:18 |
walokra | yeah, eta for approval shows 48h | 08:19 |
sejo | is there somewhere a howto on how to implement a service for sailfishos? | 08:19 |
*** Merbot has joined #sailfishos | 08:20 | |
-rajaniemi.freenode.net- [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp | 08:20 | |
*** xruxa_away has joined #sailfishos | 08:20 | |
*** Kabouik has joined #sailfishos | 08:20 | |
*** kontio has joined #sailfishos | 08:21 | |
*** kontio has quit IRC | 08:21 | |
*** kontio has joined #sailfishos | 08:21 | |
artemma | sejo: to my understanding at the moment there is no official way to subscribe to anything or get started on some event. I would guess you could use a dirty timed hack and start as a fake custom alarm handler, but that's it. And even that's unsure | 08:22 |
artemma | I mean no way to make an event start your app. If it's already running, mayeb there's a way to watch notifications. Somebody told they are norma; KDE notifications | 08:22 |
*** cxl000 has joined #sailfishos | 08:22 | |
sejo | artemma: the service would be running | 08:23 |
artemma | sejo: services are not allowed for now | 08:23 |
sejo | I gues Sailfishos uses dbus | 08:23 |
sejo | artemma: bleh, then I can' t start getting my pebble working with the jolla | 08:23 |
* sejo puts the jolla back into the box | 08:23 | |
* artemma used timed hack in Harmattan, would guess it will work for Jolla too, not sure if they would let it to harbour though | 08:24 | |
special | "allowed in *habour*", not just "allowed" | 08:24 |
tbr | well, start outside of harbour and don't do such dirty hacks | 08:24 |
sejo | artemma: timed hack would mean there must be a list of called notifications (new mail, sms incoming, incoming call,...) | 08:24 |
sejo | which is not what I'm looking for | 08:25 |
* tbr is working on SOWatch and doesn't give a flying whatever if something with a background process will be allowed or not | 08:25 | |
tbr | hint: it does exactly the same, just for different devices | 08:25 |
artemma | sejo: that's beyond me, maybe somebody can give advice. I have only heard shortly that Sailfish notifications seem to be normal KDE ones | 08:25 |
sejo | tbr: true, how do you get the notifications, through dbus? | 08:26 |
*** Pat_o has joined #sailfishos | 08:26 | |
tbr | sejo: I'm not at that part yet, but I figured out how to get e.g. call info through dbus | 08:27 |
tbr | some info that's interesting is in statefs | 08:27 |
special | sejo: notifications (if you mean banners and such) use the fd.o notifications spec, with some customization | 08:27 |
special | sejo: see nemo-qml-plugin-notifications, and lipstick (which has the service implementation) | 08:27 |
kontio | sejo: see https://github.com/d0b3rm4n/harbour-sidudict/blob/master/src/sidudictlib.cpp#L315-L348 | 08:28 |
sejo | special: thanks I'll look into it | 08:28 |
sejo | cool just as I thought dbus | 08:29 |
sejo | awesome | 08:29 |
*** b0bben has quit IRC | 08:30 | |
*** b0bben has joined #sailfishos | 08:30 | |
*** b0bben_ has joined #sailfishos | 08:33 | |
*** f00barbaz has joined #sailfishos | 08:34 | |
*** b0bben has quit IRC | 08:34 | |
*** Nokius1 has joined #sailfishos | 08:36 | |
*** Nokius has quit IRC | 08:37 | |
*** Pat_o has quit IRC | 08:37 | |
*** jjanvier has quit IRC | 08:39 | |
*** M4rtinK has joined #sailfishos | 08:42 | |
*** xruxa_away is now known as xruxa | 08:42 | |
*** SfietKonstantin has joined #sailfishos | 08:45 | |
joonahoi | lol | 08:47 |
*** Sfiet_Konstantin has quit IRC | 08:48 | |
*** f00barbaz has quit IRC | 08:48 | |
joonahoi | i've been looking into dbus stuff myself the whole morning, on the python side though. building pythond-bus against the proposed python 3.3 is way too much hassle atm | 08:49 |
joonahoi | has way too many dependencies | 08:49 |
joonahoi | but if there's qml plugin already, i don't need it | 08:50 |
*** TheBootroo_ has quit IRC | 08:51 | |
Sage_ | mornfall: M4rtinK: I meant you don't need to use it if you submit to harbour, just wanted to know why you had to use it :) | 08:56 |
mornfall | The question is I guess, *can* I use it? :-) | 08:57 |
*** macben has joined #sailfishos | 08:57 | |
M4rtinK | I think there should be no problem with "normal" DBUS | 08:58 |
M4rtinK | just with some more sensitive interfaces (packagekit ?) | 08:58 |
M4rtinK | but you don't have to care about it if you just publish it on OpenRepos :) | 08:59 |
M4rtinK | less hassle & more time to actually work on the app | 08:59 |
M4rtinK | less time spent on banding the app backwards to comply with the currently messy rules for Harbour | 08:59 |
M4rtinK | *binding | 09:00 |
Sage_ | mornfall: yes. which project that package should be build in? | 09:00 |
Sage_ | mornfall: in obs that is | 09:00 |
*** jjanvier has joined #sailfishos | 09:00 | |
*** nahkiss_ has quit IRC | 09:00 | |
*** jani has quit IRC | 09:00 | |
*** jani has joined #sailfishos | 09:00 | |
M4rtinK | Sage_: do you mean target/repository ? | 09:01 |
mornfall | wait a sec, I lost the wiki | 09:01 |
*** jani is now known as Guest91 | 09:01 | |
Sage_ | M4rtinK: well e.g. home:sage is my home project in obs | 09:01 |
mornfall | I don't have a project in OBS. | 09:01 |
*** roboro has quit IRC | 09:01 | |
Sage_ | I can do the webhook for you yes but I need to know the obs target project where it should be hooked | 09:01 |
M4rtinK | most people setup a sailfish project there | 09:01 |
M4rtinK | so home:sage:sailfish | 09:02 |
M4rtinK | and for that project you enable the Sailfish target | 09:02 |
M4rtinK | just make sure armv7hl is enabled as architecture | 09:02 |
*** b0bben_ has quit IRC | 09:02 | |
M4rtinK | imho the defaults are still wrong | 09:02 |
Sage_ | M4rtinK: well, it is not my package so will not hook under my home :) | 09:03 |
*** b0bben has joined #sailfishos | 09:03 | |
*** jjanvier has quit IRC | 09:03 | |
*** jjanvier has joined #sailfishos | 09:03 | |
M4rtinK | so basically, an OBS project correctly configured for Sailfish package building looks like this: https://build.merproject.org/project/show?project=home%3AMartinK%3Asailfish%3Amodrana | 09:03 |
*** Pat_o has joined #sailfishos | 09:03 | |
M4rtinK | if that was the question :) | 09:03 |
Sage_ | M4rtinK: that wasn't the question but ok :) | 09:03 |
Sage_ | M4rtinK: mornfall wants to build _his_ package in obs but he is missing at least obs account and thus also the home project where the mappig could be done | 09:04 |
mornfall | basically I have no idea what I am doing | 09:04 |
*** sequantz has joined #sailfishos | 09:04 | |
Sage_ | lbt: ^ | 09:04 |
*** nahkiss has joined #sailfishos | 09:04 | |
mornfall | the wiki didn't tell me I need to create accounts :-) | 09:04 |
*** KangOl has joined #sailfishos | 09:05 | |
mornfall | and I can't find the wiki right now | 09:05 |
*** jjanvier has quit IRC | 09:05 | |
*** jjanvier has joined #sailfishos | 09:05 | |
*** roboro has joined #sailfishos | 09:05 | |
*** jjanvier has joined #sailfishos | 09:05 | |
mornfall | ok I found the URL at least | 09:06 |
mornfall | sorry it's still early morning for my brain | 09:06 |
*** lpotter has quit IRC | 09:07 | |
Sage_ | ok so maybe this part would need a bit clearer guidance https://wiki.merproject.org/wiki/Nemo/Development#Preparing_the_target_project_in_OBS | 09:07 |
mornfall | right, I'm looking at https://wiki.merproject.org/wiki/Nemo/Development ... I guess it tacitly assumes you already have all the accounts | 09:07 |
Sage_ | mornfall: yes, need to add reference that you need obs account if you want to try to build with obs | 09:07 |
*** b0bben has quit IRC | 09:07 | |
Sage_ | added comment to that wiki page | 09:10 |
* mornfall working on it | 09:10 | |
*** macben has quit IRC | 09:10 | |
Sage_ | mornfall: https://wiki.merproject.org/wiki/Nemo/Development#Preparing_the_target_project_in_OBS added instructions :) | 09:10 |
Sage_ | refresh | 09:10 |
*** miksuh has joined #sailfishos | 09:11 | |
*** lpotter has joined #sailfishos | 09:11 | |
mornfall | ok, I logged into build.merproject.org | 09:11 |
*** M4rtinK has quit IRC | 09:12 | |
mornfall | creating home project | 09:12 |
mornfall | ok, I probably have a home project, not entirely clear how to set up archs for it tho | 09:15 |
mornfall | hmm, is there a web-ui counterpart to the osc command in the wiki? | 09:16 |
*** s1gk1ll has joined #sailfishos | 09:20 | |
*** s1gk1ll is now known as Guest84622 | 09:20 | |
*** pp has joined #sailfishos | 09:21 | |
Sage_ | mornfall: yes there is. You can check the project config example from https://build.merproject.org/project/meta?project=home%3AMartinK%3Asailfish%3Amodrana | 09:22 |
Sage_ | so you can modify this https://build.merproject.org/project/meta?project=home%3Amornfall | 09:22 |
*** Guest4428 has quit IRC | 09:24 | |
*** goroboro has joined #sailfishos | 09:26 | |
*** roboro has quit IRC | 09:26 | |
*** Andy80 has joined #sailfishos | 09:29 | |
*** faenil has joined #sailfishos | 09:30 | |
mornfall | Sage_: I managed to get osc working. The form on the web can't be submitted without javascript, apparently. | 09:31 |
mornfall | (And I can't be arsed to boot a "real" browser, and typing in the stuff on the phone is boring.) | 09:34 |
*** Guest84622 has quit IRC | 09:39 | |
*** s1gk1ll has joined #sailfishos | 09:42 | |
*** s1gk1ll is now known as Guest6405 | 09:42 | |
sejo | l26 | 09:47 |
elenril | interesting | 10:00 |
elenril | pkexec --user root cat /etc/shadow | 10:00 |
elenril | actually works | 10:00 |
elenril | as user nemo | 10:00 |
*** b0bben has joined #sailfishos | 10:03 | |
juke | where do i find the QtWebKit module in the sdk? i need to ship part of it with my app | 10:03 |
*** faenil has quit IRC | 10:04 | |
*** s1gk1ll_ has joined #sailfishos | 10:04 | |
juke | i found the qml file which only has module QtWebKit.experimental\n plugin qmlwebkitexperimentalplugin | 10:06 |
*** Guest6405 has quit IRC | 10:08 | |
*** b0bben has quit IRC | 10:08 | |
*** faenil has joined #sailfishos | 10:10 | |
*** s1gk1ll__ has joined #sailfishos | 10:12 | |
*** s1gk1ll_ has quit IRC | 10:14 | |
*** _miqu_ has joined #sailfishos | 10:18 | |
*** macben has joined #sailfishos | 10:21 | |
*** macben has quit IRC | 10:25 | |
*** arcean has joined #sailfishos | 10:28 | |
juke | found the .so | 10:29 |
juke | now i just have to import it somehow from /usr/share/App | 10:30 |
*** SfietKonstantin has quit IRC | 10:35 | |
Sage_ | elenril: well it asks for password still right? which isn't set if developer mode isn't there. | 10:35 |
*** KangOl has quit IRC | 10:37 | |
*** Anton__ has joined #sailfishos | 10:37 | |
artemma | My app was approved 21 hours ago, still not published. Anybody here who could possibly check it out? | 10:38 |
*** simbrown has joined #sailfishos | 10:38 | |
artemma | that is Quick Launcher update | 10:39 |
*** KangOl has joined #sailfishos | 10:40 | |
elenril | Sage_: nope | 10:42 |
elenril | it allows everything without passwords | 10:42 |
*** s1gk1ll__ is now known as s1gk1ll | 10:42 | |
elenril | thanks to /var/lib/polkit-1/localauthority/50-local.d/75-store-client-pkgkit-issues-workaround.pkla | 10:43 |
Yaniel | ehh | 10:43 |
*** Venemo_j has joined #sailfishos | 10:48 | |
*** euroelessar has quit IRC | 10:52 | |
*** juhe has quit IRC | 10:56 | |
*** dawnbringer has joined #sailfishos | 10:56 | |
Anton__ | Hello people, maybe you can help me as Im not experienced with QT. Im trying to run an qt4 app using QDeclarativeView. It tries to load the qml plugin "com.nokia.meego", which I installed with package qt-components-qt5. But I have trouble importing. It seems like com.nokia.meego is a qt5 plugin and not compatible with QDeclarativeView. Am I right? | 10:56 |
Yaniel | no, com.nokia.meego dates back to Qt4 | 10:57 |
juke | what's the difference of $${VAR} and ${VAR} in qmake? | 10:59 |
Anton__ | I have also tested using qmlviewer. It fails with 'plugin cannot be loaded for module "com.nokia.meego": Unknown error' | 11:03 |
Anton__ | But using qmlscene it works | 11:03 |
Anton__ | I have tried both 1.0 and 2.0 | 11:04 |
juke | i too have problem with qml_import_path :D | 11:04 |
juke | i wish i knew how to define it | 11:04 |
Anton__ | Yes. its quite confusing | 11:04 |
Anton__ | juke: I think $${VAR} and $$VAR is the same. ${VAR} i dont know about but $(VAR) is refering to an environment variable | 11:10 |
Anton__ | from what i read | 11:10 |
juke | ok | 11:10 |
juke | thanks | 11:11 |
*** juhe has joined #sailfishos | 11:16 | |
*** Tomiol80 has joined #sailfishos | 11:16 | |
*** Pat_o has quit IRC | 11:18 | |
Anton__ | juke: Are you still struggling with import path? | 11:22 |
juke | yeah | 11:23 |
*** jluisn has joined #sailfishos | 11:24 | |
*** NoGy_ has joined #sailfishos | 11:27 | |
Anton__ | Yaniel: But still I cant import com.meego using QDecalarativeView or qmlviewer (both using /usr/lib/qt5/import as import path). But I can import using qmlscene (/usr/lib/qt5/qml). Any ideas? | 11:30 |
*** NoGy has quit IRC | 11:31 | |
*** NoGy_ is now known as NoGy | 11:31 | |
Anton__ | I dont have com.nokia.meego in /usr/lib/qt5/imports/ but in /usr/lib/qt5/qml | 11:31 |
Anton__ | and so it cannot be found by qmlviewer: module "com.nokia.meego" is not installed | 11:33 |
Anton__ | but with QML_IMPORT_PATH=/usr/lib/qt5/qml it can be found, except now I get: plugin cannot be loaded for module "com.nokia.meego": Unknown error | 11:34 |
*** b0bben has joined #sailfishos | 11:34 | |
Anton__ | That is why i suspect the plugin is not compatible | 11:34 |
*** Pat_o has joined #sailfishos | 11:35 | |
jake9xx | Anton__: imo qmlviewer is for qt4, qmlscene is for qt5 | 11:36 |
Anton__ | jake9xx: Yes that is understood. | 11:36 |
*** Bloob has joined #sailfishos | 11:36 | |
*** w00t_sf has joined #sailfishos | 11:38 | |
Anton__ | jake9xx: My problem is actually that Im trying to use the QDeclarativeView as I thought It was still compatible in qt5 | 11:38 |
Anton__ | But cant get it to work | 11:38 |
*** b0bben has quit IRC | 11:39 | |
jake9xx | Anton__: you've been at : http://qt-project.org/doc/qt-5.0/qtquick/qtquick-porting-qt5.html#qdeclarativeitem-and-qdeclarativeview ? | 11:40 |
Anton__ | jake9xx: yes I have read it. | 11:40 |
jake9xx | sorry slow on answers, compiling stuff atm (cpu's running 100%) | 11:40 |
Anton__ | no probs | 11:40 |
jake9xx | that ought to explain the difference | 11:40 |
Anton__ | BUT in the end of the article: "QtDeclarative module is still available in Qt 5 but has been renamed to QtQuick1" | 11:41 |
Anton__ | I have some questions about that | 11:41 |
jake9xx | why do you want to keep on that track? It's marked as deprecated so it can go away anytime, right? | 11:43 |
Anton__ | jake9xx: Well, I thought I didnt have to make big changes to my code thats all | 11:43 |
jake9xx | :) | 11:44 |
jake9xx | but if your app is mostly qml - you don't have to do much | 11:44 |
jake9xx | if you draw ui items on c++ , you're not in luck | 11:44 |
Anton__ | jake9xx: If i do as in the article and add quick1 to the .pro file: Project ERROR: Unknown module(s) in QT: quick1 | 11:46 |
Anton__ | so i suppose that is changed | 11:46 |
Anton__ | i use QT += declarative instead | 11:47 |
Anton__ | Or i something worng >( | 11:47 |
Anton__ | But the QDeclarative headers comes with the package qt5-qtquick1-devel | 11:49 |
*** Pat_o has quit IRC | 11:49 | |
jake9xx | Anton__: would you have code somewhere visible? | 11:50 |
Anton__ | No sorry | 11:50 |
jake9xx | I think you'd be better off with just forgetting the quick1 and go with QtQuick 2.0 all the way | 11:50 |
*** leszek has joined #sailfishos | 11:51 | |
jake9xx | we (in sailfish) don't recommend using qtquic 1.x at all | 11:51 |
Anton__ | Yes. Actually Its not my code, Im just trying to get it work on sailfish | 11:51 |
leszek | hi | 11:51 |
leszek | can someone confirm that qml webview keeps redirecting when trying to load this site ? http://spiegel.de/article.do?id=945892 | 11:51 |
Anton__ | So Im not sure exaclty how much work it will be to port to quick 2 | 11:51 |
Anton__ | jake9xx: Thank you | 11:52 |
jake9xx | Anton__: w/o seeing any of the code ; cannot tell | 11:52 |
Anton__ | jake9xx: But It does mean giving up QDeclarative* right | 11:53 |
jake9xx | Anton__: if you use qml of ui and qt c++ for some number crunching - comparing your main.cpp and any example/template app would reveal you the level of complexity | 11:53 |
jake9xx | Anton__: I'd use QQuick* instead | 11:53 |
artemma | My app is approved and not published for over a day. Anybody here who I could ask? | 11:54 |
jake9xx | artemma: app name? | 11:56 |
artemma | jake9xx: Quick Launcher | 11:56 |
jake9xx | sec | 11:56 |
*** mk2soldier has joined #sailfishos | 12:04 | |
juke | harbour needs the name of the rpm to start with harbour-, where should it be specified? can the TARGET still be the app's name? | 12:06 |
juke | i tried just renaming the rpm, but that didn't do | 12:06 |
artemma | juke: TARGET should also be harbour-mycoolapp | 12:06 |
artemma | and other stuff such as icon too | 12:07 |
artemma | check harbour FAQ | 12:07 |
jake9xx | artemma: store guys are working on it | 12:07 |
artemma | juke: HelloWorld Pro has a wizard script, but it is basically a renamer, you can try using it for converting existing project to harbour compatible one | 12:08 |
artemma | jake9xx: thx | 12:08 |
juke | artemma, thanks! | 12:08 |
jake9xx | it's approved but there's some tech.issue preveinting it to be released. once that is solved - it's good | 12:08 |
artemma | jake9xx: I also noticed that for some reason no screenshots are shown for Quick Launcher in the app store. Not sure if it's related | 12:08 |
juke | artemma, so also .desktop and .png needs to be renamed? | 12:13 |
artemma | juke: I think so. I don't remember full list by heart. Check FAQ and/or HelloWorld Pro | 12:13 |
*** mk2soldier has quit IRC | 12:14 | |
*** Pat_o has joined #sailfishos | 12:16 | |
*** KangOl has quit IRC | 12:18 | |
*** KangOl has joined #sailfishos | 12:26 | |
*** Venemo_j has quit IRC | 12:39 | |
*** arcean has quit IRC | 12:44 | |
*** w00t_sf has quit IRC | 12:50 | |
artemma | 6 days after app update submission and still not in store.. sigh | 12:54 |
*** martyone has quit IRC | 13:00 | |
*** mk2soldier has joined #sailfishos | 13:03 | |
*** cnuke has joined #sailfishos | 13:06 | |
*** Anton__ has quit IRC | 13:12 | |
*** freedomrun has joined #sailfishos | 13:16 | |
leszek | finally custom certificate verfication landed in webcat :) | 13:18 |
*** leszek has quit IRC | 13:21 | |
*** triggerhappy has quit IRC | 13:25 | |
*** triggerhappy has joined #sailfishos | 13:27 | |
*** dhbiker has joined #sailfishos | 13:33 | |
*** VesimN9_ has joined #sailfishos | 13:35 | |
*** Finleida has joined #sailfishos | 13:38 | |
*** BeholdMyGlory has joined #sailfishos | 13:46 | |
*** Waitee has joined #sailfishos | 13:50 | |
Waitee | coderus: mitäkuuluu cant handle ">" | 13:50 |
Waitee | writing an issue :3 -> | 13:51 |
artemma | jake9xx: Quick Launcher still isn't published.. normal and I should just wait more? | 13:54 |
jake9xx | artemma: like I told, they are working on it. Some IT stuff going on | 13:55 |
jake9xx | you don't need to do more , if that was your question | 13:55 |
artemma | jake9xx: okay, just not sure when I need to ping again if things don't work still | 13:55 |
*** VesimN9_ has quit IRC | 13:56 | |
jake9xx | artemma: we are monitoring this as well | 13:56 |
artemma | ok | 13:56 |
*** VesimN9_ has joined #sailfishos | 13:56 | |
artemma | I thought it is about that particular app onlt | 13:56 |
*** Morpog_Mobile has quit IRC | 13:57 | |
jake9xx | no, it's the whole flow if I understood it right | 13:57 |
jake9xx | so many web technologies combined :/ | 13:58 |
artemma | happens | 13:58 |
tachikoma | nyway, have to go shopping | 13:58 |
* artemma works with at least three web tech things on his job and manages two app platforms. IT world went complex lately | 13:59 | |
*** _miqu_ has quit IRC | 14:00 | |
jake9xx | artemma: yeah, it seems in web development there's lot of stuff going to fix things that are not broken | 14:02 |
walokra | if it's not broken, you fix it to make it better :) | 14:03 |
ottulo | Waitee: could you try if yo have the same bug as I do in mitakuuluu? | 14:04 |
Waitee | ottulo: what's your bug? | 14:04 |
ottulo | Waitee: when writing a message, move the cursor somewhere in the middle of the message | 14:04 |
jake9xx | regarding MongoDB, it gives me the creeps as it looks _so_ much like QJSONDB.. | 14:05 |
ottulo | Waitee: when you send it, it'll add a line break at cursor location | 14:05 |
Waitee | weird | 14:05 |
Waitee | but my case works like this: | 14:05 |
Waitee | someone sends a whatsapp message containing one or more ">" symbols | 14:05 |
Waitee | mitäkuuluu shows them as ">" | 14:06 |
Waitee | when i send ">" to a channel android users see it as > | 14:06 |
ottulo | I just tried sending that, had two of them in the message: first one changed to ">" | 14:06 |
Waitee | okay | 14:07 |
Waitee | oh yea | 14:07 |
Waitee | if you add a space between another symbol and ">" it displays it correctly | 14:07 |
Waitee | if it isnt the first letter | 14:07 |
Waitee | funny thing is "<" shows as it should | 14:08 |
Waitee | so for example my irc message copy pasted to mitäkuuluu would look like this: | 14:09 |
Waitee | < Waitee> funny thing is "<" shows as it should | 14:09 |
*** softmetz_ has quit IRC | 14:09 | |
Waitee | instead of: < Waitee> funny thing is "<" shows as it should | 14:09 |
*** softmetz has joined #sailfishos | 14:09 | |
ottulo | hmm... I tried with "testing.. > >" and it turned out as "testing.. > >" | 14:10 |
ottulo | so even though there is a space before the first one it changed | 14:10 |
Waitee | yeah it changes it if it is the first symbol | 14:11 |
Waitee | but if there's a space on the left side of it, it doesnt change | 14:11 |
ottulo | erm | 14:12 |
ottulo | ah, I think I got what you mean now | 14:12 |
Waitee | try typing >> | 14:12 |
ottulo | yeah, I see what you mean | 14:12 |
ottulo | so if there's another symbol anywhere in the line before > and a space in front of > it'll show correctly | 14:13 |
Waitee | yes | 14:13 |
Waitee | since whatsapp removes spaces from the beginning of line | 14:14 |
zumbi | do you have whatsapp? or wazapp? | 14:14 |
ottulo | zumbi: mitakuuluu | 14:15 |
zumbi | mitakuuluu == what's up? :) | 14:15 |
ottulo | yep | 14:15 |
Waitee | zumbi: Mitä kuuluu == what's up | 14:16 |
ottulo | it's the name of the app | 14:16 |
Waitee | Mitäkuuluu is a name of a native whatsapp client for jolla | 14:16 |
zumbi | kudos | 14:16 |
* artemma hopes Jolla app store has a cool back up system and tried restoring at least once | 14:16 | |
*** davion has joined #sailfishos | 14:17 | |
*** miksuh has quit IRC | 14:21 | |
*** Eztran has joined #sailfishos | 14:32 | |
juke | link rot is strong with qt :/ | 14:34 |
*** martyone has joined #sailfishos | 14:39 | |
*** chriadam|away has quit IRC | 14:41 | |
*** chriadam has joined #sailfishos | 14:42 | |
*** artemma has quit IRC | 14:42 | |
*** artemma has joined #sailfishos | 14:43 | |
*** miksuh has joined #sailfishos | 14:46 | |
*** nisse2 has joined #sailfishos | 14:48 | |
*** stephg has left #sailfishos | 14:50 | |
*** stephg has quit IRC | 14:50 | |
*** nisse2 has quit IRC | 14:51 | |
*** stephg has joined #sailfishos | 14:52 | |
Nicd- | the qt manuals are terrible IMO :P | 14:56 |
Nicd- | no easy switch between Qt versions, the docs are all over the web in different URLs | 14:56 |
Nicd- | and google always returns the version you're not looking for | 14:56 |
artemma | they exist :) | 14:56 |
elenril | yeah, clearly you haven't seen many manuals | 14:56 |
Nicd- | I've seen good ones | 14:57 |
Sidde | Nicd-: and lots of pages are on non existing nokia domains | 14:57 |
Nicd- | well, let's say I've seen better ones | 14:57 |
* artemma always uses !qt accelerator in duckduckgo. E.g. "!g QString" | 14:57 | |
juke | compared to android, qt is not that good | 14:57 |
juke | also, qt5 documentation is even worse | 14:58 |
juke | i really wish google would remove dev-harmattan.nokia.fi from the top of the results | 14:58 |
Nicd- | anyway, yay, my SSL sockets are working :) | 14:58 |
*** master_o1_master has joined #sailfishos | 14:59 | |
*** proyvind has joined #sailfishos | 15:00 | |
*** master_of_master has quit IRC | 15:02 | |
*** Andy80 has quit IRC | 15:07 | |
*** diegoyam has quit IRC | 15:10 | |
*** VDVsx has quit IRC | 15:14 | |
coderus | Waitee: are you using last version? | 15:15 |
Waitee | 0.1-22 | 15:16 |
*** jospoortvliet has quit IRC | 15:18 | |
Waitee | coderus: ^ | 15:18 |
*** itbaron has joined #sailfishos | 15:19 | |
*** sletta has quit IRC | 15:20 | |
*** martyone has quit IRC | 15:21 | |
Nicd- | can I change the compiler in Qt Creator to add a c++0x flag? | 15:23 |
Yaniel | CONFIG += c++11 ? | 15:24 |
Nicd- | ah, in the pro file | 15:24 |
*** Pat_o has quit IRC | 15:25 | |
*** diegoyam has joined #sailfishos | 15:36 | |
*** jonpacker has quit IRC | 15:37 | |
*** _miqu_ has joined #sailfishos | 15:39 | |
*** flyapen has quit IRC | 15:40 | |
*** Pat_o has joined #sailfishos | 15:42 | |
*** davion has quit IRC | 15:45 | |
*** Pat_o has quit IRC | 15:46 | |
*** miksuh has quit IRC | 15:47 | |
*** jardous has quit IRC | 15:50 | |
*** Tumeez has quit IRC | 15:55 | |
*** KangOl has quit IRC | 15:55 | |
*** Andy80 has joined #sailfishos | 15:56 | |
*** miksuh has joined #sailfishos | 15:59 | |
*** arcean has joined #sailfishos | 16:01 | |
*** martyone has joined #sailfishos | 16:02 | |
*** xruxa is now known as xruxa_away | 16:03 | |
*** Tumeez has joined #sailfishos | 16:03 | |
*** triggerhappy has quit IRC | 16:05 | |
*** KangOl has joined #sailfishos | 16:07 | |
*** jonpacker has joined #sailfishos | 16:12 | |
*** _miqu_ has quit IRC | 16:16 | |
*** Almehdin has joined #sailfishos | 16:17 | |
*** faenil has quit IRC | 16:19 | |
*** _miqu_ has joined #sailfishos | 16:20 | |
*** VesimN9__ has joined #sailfishos | 16:22 | |
*** faenil has joined #sailfishos | 16:24 | |
*** VesimN9_ has quit IRC | 16:25 | |
*** m4nn3rrz has quit IRC | 16:25 | |
*** martyone has quit IRC | 16:32 | |
*** Venemo has joined #sailfishos | 16:32 | |
*** VesimN9_ has joined #sailfishos | 16:34 | |
*** VesimN9__ has quit IRC | 16:37 | |
*** Pat_o has joined #sailfishos | 16:39 | |
*** gabriel9|work has quit IRC | 16:43 | |
*** Pat_o has quit IRC | 16:45 | |
*** sletta has joined #sailfishos | 16:49 | |
*** m4nn3rrz has joined #sailfishos | 16:49 | |
*** VesimN9_ has quit IRC | 16:52 | |
*** jonpacker has quit IRC | 16:53 | |
*** Morpog_PC has joined #sailfishos | 16:55 | |
*** jonpacker has joined #sailfishos | 17:00 | |
*** sletta has quit IRC | 17:00 | |
*** grondinm has joined #sailfishos | 17:01 | |
grondinm | Hello. I am interested in trying out sailfishos. Is it possible to build it from source for say the nexus 5? | 17:02 |
*** jjanvier has quit IRC | 17:04 | |
Yaniel | grondinm: look at nemomobile to get started | 17:06 |
Yaniel | because that is what sailfish is built on | 17:06 |
Yaniel | some parts are closed so it might get tricky | 17:06 |
Yaniel | (in sailfish) | 17:06 |
grondinm | well i think doing the porting itself is beyond me....i might look into it. I was more wondering if something was already setup for it | 17:08 |
Yaniel | some people have been working on it | 17:08 |
tbr | a nexus4 port has been shown, but no instructions are public | 17:09 |
tbr | my understanding is, that as long as cm10.1 runs, it will be fairly easy to put sailfish on the device | 17:09 |
grondinm | well that is all good to hear. I want something different than android. Not because android is bad really just because i like new different things...see cm10.1 wont run on nexus 5 as it is a android 4.4 device | 17:10 |
tbr | I think libhybris saw some 4.4 patches, but it will be additional legwork | 17:11 |
tbr | short answer though: there is nothing, come back in a few months | 17:11 |
grondinm | that is what i though. Glad it seems to be coming tho. thank you | 17:12 |
*** Pat_o has joined #sailfishos | 17:17 | |
*** jobe-m has joined #sailfishos | 17:18 | |
*** VDVsx has joined #sailfishos | 17:19 | |
*** mk2soldi_ has joined #sailfishos | 17:20 | |
*** mk2soldier has quit IRC | 17:21 | |
*** martyone has joined #sailfishos | 17:23 | |
*** artemma has quit IRC | 17:23 | |
*** Pat_o has quit IRC | 17:23 | |
*** grondinm has left #sailfishos | 17:24 | |
*** _miqu_ has quit IRC | 17:27 | |
*** rm_work|away is now known as rm_work | 17:28 | |
*** dawnbringer has quit IRC | 17:30 | |
*** Morpog_Mobile has joined #sailfishos | 17:32 | |
*** jjanvier has joined #sailfishos | 17:34 | |
BearT | anyone knows if NDEBUG is undefined anywhere in qt? from inspecting the build command line for a release build it seems that there is only a special qt define -DQT_NO_DEBUG but not the usually expecte -DNDEBUG. i mean, it's easy to define that myself, but it's quite annoying if I have to include a global header everywhere, just because the typical defines are not available | 17:36 |
*** martyone has quit IRC | 17:41 | |
*** juhe has quit IRC | 17:41 | |
*** jonpacker has quit IRC | 17:45 | |
*** rcg has quit IRC | 17:49 | |
juke | https://together.jolla.com/question/20683/importing-qml-modules/ anyone know where to put custom qml modules? | 17:49 |
*** Pat_o has joined #sailfishos | 17:50 | |
*** freedomrun has quit IRC | 17:50 | |
Venemo | juke: see https://harbour.jolla.com/faq | 17:50 |
juke | i've read it | 17:51 |
Venemo | specifically, https://harbour.jolla.com/faq#5.3.0 | 17:51 |
juke | especially that | 17:51 |
Venemo | it tells you exactly where to put them | 17:51 |
juke | they are in the right place, but my does find them even though i have set QML_IMPORT_PATH | 17:52 |
juke | my app* | 17:53 |
*** onurati has joined #sailfishos | 17:53 | |
juke | or should they be in the root of /usr/share/harbour-awesomeapp ? | 17:53 |
*** wickwire has joined #sailfishos | 17:53 | |
Venemo | juke: I dunno, I would ask thp about it, he might know | 17:55 |
*** Andy80 has quit IRC | 17:55 | |
*** nathrakh has joined #sailfishos | 17:56 | |
juke | thp, i can't get importing private qml modules working: https://together.jolla.com/question/20683/importing-private-qml-modules/ might you know what i am doing wrong? | 17:57 |
wickwire | coderus: about that I issue I had yesterday, passing QML variables across pages, I managed to solve it - and just for irc logging purposes: | 17:58 |
wickwire | var propertiesToPush = { "property1" : firstProp, "property2" : secondProp }; | 17:58 |
wickwire | pageStack.push("NextPage.qml",propertiesToPush) | 17:58 |
wickwire | and on the nextPage, I define property1 as property string property1 and also property2 | 17:59 |
wickwire | this way it works, sending multiple variables from one page to another | 17:59 |
wickwire | I tried pushExtra in a similar fashion but wouldn't work | 17:59 |
*** simbrown has quit IRC | 18:06 | |
*** Gugli has joined #sailfishos | 18:07 | |
*** Gugli has quit IRC | 18:07 | |
*** Uninstall has quit IRC | 18:10 | |
ahiemstra | juke: you want http://qt-project.org/doc/qt-5.0/qtqml/qqmlengine.html#addImportPath | 18:13 |
juke | ahiemstra, thanks! i'll try that | 18:13 |
*** martyone has joined #sailfishos | 18:19 | |
ahiemstra | juke: also, note that unless you put the plugin into /usr/share/harbour-app/qml/harbour/app/qtwebkit/experimental you'll need to change the import line to "import experimental 1.0" | 18:20 |
*** Sail0r has joined #sailfishos | 18:20 | |
*** spider-mario has joined #sailfishos | 18:22 | |
juke | that makes sense | 18:22 |
juke | you mean import harbour.app.experimental 1.0? | 18:23 |
juke | just experimental will not pass rpmvalidator | 18:23 |
*** fk_lx has quit IRC | 18:23 | |
ahiemstra | there is no directory harbour/app so unless you add that the qml engine won't find your import | 18:24 |
*** artemma has joined #sailfishos | 18:24 | |
juke | aah, ofc | 18:24 |
*** DrIDK has joined #sailfishos | 18:24 | |
juke | so i need to add qmldir files to each level as well | 18:24 |
ahiemstra | no | 18:24 |
juke | ok | 18:25 |
ahiemstra | just the directory structure with a qmldir at the end | 18:25 |
ahiemstra | the qmldir defines an "api" of sorts for the qml plugin | 18:25 |
juke | ahiemstra, thank you so much! that was the last piece i needed to do before publishing! | 18:27 |
ahiemstra | you're welcome :) | 18:27 |
*** VesimN9_ has joined #sailfishos | 18:28 | |
*** artemma has quit IRC | 18:28 | |
*** artemma has joined #sailfishos | 18:29 | |
*** sletta has joined #sailfishos | 18:30 | |
wickwire | hi guys, I'm trying to use a CheckBox element in ListView, but it's not getting it recognized by SailfishOS | 18:30 |
juke | wickwire, try textswitch | 18:31 |
wickwire | juke ok thanks | 18:31 |
juke | there's no checkbox in silica | 18:31 |
*** clau has joined #sailfishos | 18:31 | |
*** amrileria has joined #sailfishos | 18:32 | |
*** piggz has joined #sailfishos | 18:32 | |
*** wickwire has quit IRC | 18:38 | |
*** fk_lx has joined #sailfishos | 18:40 | |
*** qqK has joined #sailfishos | 18:44 | |
*** javispedro has joined #sailfishos | 18:45 | |
*** javispedro has joined #sailfishos | 18:45 | |
*** piggz has quit IRC | 18:49 | |
*** wickwire has joined #sailfishos | 18:52 | |
*** hzb has joined #sailfishos | 18:54 | |
*** Kabouik_j has joined #sailfishos | 18:55 | |
*** martyone has quit IRC | 18:56 | |
*** AlmAck has joined #sailfishos | 18:56 | |
*** piggz has joined #sailfishos | 18:56 | |
*** furikku has quit IRC | 19:01 | |
*** artemma has quit IRC | 19:03 | |
*** disharmonic has joined #sailfishos | 19:04 | |
*** martyone has joined #sailfishos | 19:06 | |
*** miksuh has quit IRC | 19:06 | |
*** InfoIRCNET has joined #sailfishos | 19:08 | |
InfoIRCNET | Info about IRC http://p.pw/DLV | 19:08 |
*** InfoIRCNET has left #sailfishos | 19:08 | |
*** Kabouik has quit IRC | 19:08 | |
Yaniel | seems legit | 19:09 |
raa79 | "IRC (Internet Relay Chat) es un protocolo de comunicación en tiempo real basado en texto, que permite debates entre dos o más personas." | 19:09 |
raa79 | it just redirects to spanish wikipedia =) | 19:09 |
Waitee | i wouldnt open a shortened link from a random guy who pops on a public channel just to say the link | 19:10 |
*** wickwire has quit IRC | 19:11 | |
*** DarkSim has joined #sailfishos | 19:11 | |
raa79 | well, it seems i would | 19:11 |
Acce | might have taken something from you while redirecting, I guess | 19:11 |
juke | can you do conditional imports in qml? | 19:11 |
*** DrIDK has quit IRC | 19:12 | |
Eztran | Ah, it's a commercial redirect link. That'd be why. | 19:14 |
slate | creating spambots to irc-networks is quite 90's. | 19:15 |
*** lbt has quit IRC | 19:16 | |
*** lbt has joined #sailfishos | 19:17 | |
*** Kabouik_j has quit IRC | 19:18 | |
*** Uninstall has joined #sailfishos | 19:20 | |
*** amrileria has quit IRC | 19:23 | |
*** Eismann has joined #sailfishos | 19:24 | |
*** piggz has quit IRC | 19:24 | |
*** Uninstall has quit IRC | 19:26 | |
*** Uninstall has joined #sailfishos | 19:26 | |
*** Uninstall has quit IRC | 19:27 | |
*** Uninstall has joined #sailfishos | 19:27 | |
*** Uninstall has quit IRC | 19:28 | |
FireFly | It's spammed various channels under different nicks | 19:29 |
*** Kabouik has joined #sailfishos | 19:30 | |
*** Uninstall has joined #sailfishos | 19:31 | |
*** Uninstall has joined #sailfishos | 19:31 | |
*** faenil has quit IRC | 19:31 | |
*** mk2soldi_ has quit IRC | 19:31 | |
*** Uninstall has quit IRC | 19:31 | |
*** Uninstall has joined #sailfishos | 19:32 | |
*** Uninstall has quit IRC | 19:32 | |
*** Uninstall has joined #sailfishos | 19:32 | |
*** Uninstall has quit IRC | 19:33 | |
*** macben has joined #sailfishos | 19:33 | |
*** tanghus has joined #sailfishos | 19:34 | |
*** Tumeez has quit IRC | 19:34 | |
*** Uninstall has joined #sailfishos | 19:38 | |
*** Uninstall has quit IRC | 19:38 | |
*** Uninstall has joined #sailfishos | 19:38 | |
*** artemma has joined #sailfishos | 19:39 | |
*** john24 has joined #sailfishos | 19:47 | |
john24 | hey guys | 19:47 |
*** stephg has quit IRC | 19:47 | |
john24 | I've been looking through github at other peoples code and i;ve noticed that all of them have loads of QML files and their programs are broken up into small pieces | 19:48 |
john24 | my app only has 4 qml files but loads of functions that could be shared | 19:48 |
*** stephg has joined #sailfishos | 19:48 | |
john24 | how do I got around de coupling the code into QML files? Sorry QT creator and QML and all that is still new to me | 19:48 |
*** artemma has quit IRC | 19:50 | |
john24 | for examle I am using QtQuick.LocalStorage 2.0 as Sql that 2 qml pages are using but I have duplicate fucntions in both files which is obviously poor programing | 19:50 |
Acce | john24: you can make a separate .js file with the functions in it | 19:51 |
goroboro | john24: as far as I understand it... do your functions in a separate javascript file and then import that into each qml file | 19:51 |
Acce | then you can import "yourFunctions.js" As SqlFunctions | 19:52 |
john24 | so functions need to be in javascript files? | 19:52 |
Acce | they don't need to be, but they can be | 19:52 |
goroboro | yeah... if you're doing javascript | 19:52 |
john24 | all of my code is QML | 19:52 |
goroboro | not if you have functions | 19:53 |
Acce | QML uses javascript for functions | 19:53 |
Acce | QML is only a markup language, like HTML | 19:53 |
goroboro | QML is declarative | 19:53 |
Acce | you make it dynamic with JS | 19:53 |
goroboro | heh | 19:53 |
john24 | Thank you guys :) | 19:53 |
goroboro | Acce and I are just repeating each other | 19:53 |
john24 | Sorry if I am going to ask some studpid stupid questions | 19:54 |
goroboro | no problem.. | 19:54 |
Acce | goroboro: yeah ^^' | 19:54 |
goroboro | don't worry... I'm still working this stuff out myself | 19:54 |
john24 | so C++ is compiled to binary | 19:54 |
Acce | yep | 19:54 |
john24 | what is qml+javascript compiled to? | 19:54 |
Acce | nothing | 19:54 |
Acce | it's just text files | 19:54 |
Acce | which are interpreted | 19:54 |
Acce | by the QtQuick engine | 19:55 |
goroboro | john24: you can take a look at a project I've just started: https://github.com/goroboro/TheSessionFinder | 19:55 |
john24 | but it;s that slow like python? | 19:55 |
*** jonpacker has joined #sailfishos | 19:55 | |
Acce | yeah, it's slower than C++ | 19:55 |
goroboro | at this point its not got any C++ code in it... | 19:55 |
Acce | which is why you do the small stuff with JS, and the hard stuff with C++ | 19:55 |
john24 | thanks goroboro for the code :) | 19:55 |
goroboro | I'm still deciding what to do | 19:55 |
goroboro | but at this point there is just some javascript and qml | 19:55 |
Acce | But I think the engine is fairly good, so you can do pure qml+js apps, and they work quite fast | 19:56 |
*** M4rtinK has joined #sailfishos | 19:56 | |
john24 | Ahhh I see do th pure ui with qml + javascript and sorting arrays and ect through c++ | 19:56 |
john24 | this is why i was confused it did not seems as slow as python or java | 19:56 |
*** DrIDK has joined #sailfishos | 19:56 | |
john24 | sorry if I sound stupid | 19:56 |
goroboro | if you want to get complicated... probably you can get through a lot just using javascript | 19:57 |
john24 | I;ve been only doing pure c/c++ | 19:57 |
goroboro | I never considered python to be that slow :) | 19:57 |
Acce | john24: yep, you can also make UI elements in C++ if you don't have a necessary component ready | 19:57 |
Acce | john24: don't worry :) | 19:57 |
john24 | I've been working on stereo matching with pythong and it's too slow compared to c++ but pretty and nice | 19:57 |
goroboro | mmm if you're a C++ coder you're probably going to love this... I just don't have a strong enough background | 19:58 |
john24 | I need to to more research into this but thank you Acce and goroboro for taking your time to asnwer my silly questions :) I really appreciate it | 19:58 |
goroboro | you can probably help contribute on some of the underlying mer stuff... most of it is open | 19:58 |
john24 | yeah where do I got for that? | 19:59 |
*** sletta has quit IRC | 19:59 | |
john24 | just use #mer channel? | 19:59 |
goroboro | hold on... someone gave a link on #jollamobile earlier today | 19:59 |
john24 | I am working on some i2c code as well for smart battery and attachable sensors plan to test some on my Jolla | 19:59 |
*** Atihinen has joined #sailfishos | 19:59 | |
Atihinen | hi guys | 19:59 |
Acce | hello | 19:59 |
Atihinen | which is the best sailfish tutorial | 20:00 |
Acce | john24, so you do hardware hacking too? | 20:00 |
goroboro | [01/28/14 16:26] <faenil> random spam: if you like to contribute to SailfishOS, fix some bugs, help development, there's github.com/nemomobile and github.com/nemomobile-packages which hold the sourcecode for most of the middleware | 20:00 |
Acce | Atihinen: do you mean for application development? | 20:00 |
Atihinen | Acce: yes | 20:00 |
john24 | yes part of my project at Uni bulding a 3D stereo camera using 2 Pi's and i2c devices | 20:00 |
goroboro | john24: awesome | 20:01 |
Atihinen | this was the first channel what came in with google, so that's how I ended up here | 20:01 |
john24 | goroboro I see nemomobile :) I will look into it. | 20:01 |
Acce | Atihinen: are you familiar with Qt and QML? | 20:01 |
Acce | john24: cool, make a stereo camera TOH :D | 20:01 |
Atihinen | Acce: I know what they're. I'm more familiar with c++, java and c# though :D | 20:02 |
goroboro | john24: I may nab you for some help with some C++ stuff... I am floundering with it | 20:02 |
john24 | I've actually thought about it, once I get some testing done | 20:02 |
john24 | I would happily help :) but not sure how helpful I would be | 20:03 |
Acce | Atihinen: then I suggest you try to look at some general QML tutorial before jumping to sailfish :) I think there are some if you download the PC Qt5 SDK | 20:03 |
john24 | http://www.learncpp.com/ is the best you can find online | 20:03 |
goroboro | heh... cool... bookmarked | 20:03 |
Atihinen | Acce: Do you mean that sailfish applications are based on more or less with QML? is there any application architecture or design patterns described? | 20:04 |
goroboro | yeah... the sailfish SDK includes all the standard QT5 samples | 20:04 |
john24 | trust me do a tutorial or two a day you and you will learn loads!!! | 20:04 |
thp | juke: set QML2_IMPORT_PATH | 20:05 |
Acce | Atihinen: you can find some simple stuff at https://sailfishos.org/develop.html | 20:05 |
goroboro | john24: I'll work through it... I just have an issue deciding how I want to do something at the moment | 20:05 |
Acce | ideas of how the pageStack works etc. | 20:05 |
*** piggz has joined #sailfishos | 20:05 | |
john24 | which is? | 20:05 |
Atihinen | Acce: went trough that first application thingy :D But ok, thanks for the info guys! | 20:05 |
juke | thp, i was answered already, but thank you! | 20:06 |
john24 | Atihinen: go on github look at other poeples code for Jolla you'll learn a lot | 20:06 |
Acce | Atihinen: no problem, and if you're near Tampere or Helsinki, you might want to take part into a dev meeting and hear from more experienced devs how to approach sailfish :) | 20:06 |
goroboro | john24: I need to convert some abc music notation to an svg of sheet music... | 20:06 |
Atihinen | Acce: is there more info of the dev meeting? | 20:07 |
Acce | https://together.jolla.com/question/19749/jolla-dev-user-meetup-in-tampere-and-helsinki/ | 20:07 |
thp | juke: ok :) | 20:07 |
Atihinen | Acce: thanks! :) | 20:07 |
Acce | the date has not yet been decided, but that's the place to follow | 20:07 |
goroboro | john24: one option is to use a web resource to do this... the other is to create a dependency on another package... that I will need to build for sailfish... and the other is just to modify someone else's C++ code to turn it into a library that I can use in my app | 20:07 |
goroboro | not keen on the web resource idea | 20:08 |
john24 | I would go with modify as you will learn and you won't need to re-invent the wheel | 20:09 |
john24 | it's annoying when you have to write the code that's already written and works | 20:09 |
goroboro | yeah... just not sure if I need the immediate learning curve... but its probably the right path for me | 20:09 |
goroboro | right... I have to go and eat some dinner | 20:10 |
goroboro | happy sailing folks | 20:10 |
john24 | not sure how hold or what you do but if going for programming career is very likely you'll need to maintain somewhere else code | 20:10 |
john24 | so trying to amed code written by someone is always good | 20:10 |
john24 | and enjoy your food | 20:10 |
john24 | :) | 20:10 |
goroboro | heh... thanks... I'm actually a tech author... but I code for fun... usually in python though | 20:11 |
john24 | nice | 20:11 |
goroboro | heh... thanks... I'm actually a tech author... but I code for fun... usually in python though | 20:11 |
goroboro | I'm hoping to learn a bit from thp's work | 20:12 |
*** martyone has quit IRC | 20:12 | |
john24 | hee's good | 20:12 |
goroboro | yep... all the qml side of things is very new to me... but its pretty straightforward... | 20:13 |
goroboro | anyway... dinner time | 20:13 |
goroboro | bye | 20:13 |
john24 | enjoy | 20:13 |
*** miksuh has joined #sailfishos | 20:14 | |
*** macben has quit IRC | 20:17 | |
*** Custodian has quit IRC | 20:20 | |
*** tortoisedoc has joined #sailfishos | 20:23 | |
*** tortoisedoc has quit IRC | 20:27 | |
*** john24 has quit IRC | 20:28 | |
*** Finleida has quit IRC | 20:36 | |
*** itbaron has quit IRC | 20:39 | |
*** jluisn has quit IRC | 20:39 | |
*** KangOl has quit IRC | 20:40 | |
*** c0ck4m0u53 has quit IRC | 20:41 | |
*** amizraa has quit IRC | 20:41 | |
*** karih has joined #sailfishos | 20:42 | |
*** mk2soldier has joined #sailfishos | 20:46 | |
*** artemma has joined #sailfishos | 20:46 | |
*** artemma has quit IRC | 20:46 | |
*** Sail0r has quit IRC | 20:47 | |
*** Sail0r has joined #sailfishos | 20:48 | |
*** mk2soldi_ has joined #sailfishos | 20:48 | |
*** mk2soldier has quit IRC | 20:51 | |
*** mk2soldier has joined #sailfishos | 20:51 | |
*** Sail0r has quit IRC | 20:52 | |
*** mk2soldi_ has quit IRC | 20:52 | |
*** Sail0r has joined #sailfishos | 20:56 | |
*** macben has joined #sailfishos | 20:57 | |
Atihinen | I need to go now. Night guys! | 20:58 |
*** Atihinen has quit IRC | 20:58 | |
*** f00barbaz has joined #sailfishos | 21:02 | |
*** jstaniek has joined #sailfishos | 21:06 | |
*** NewInformator has joined #sailfishos | 21:07 | |
*** NewInformator has left #sailfishos | 21:07 | |
*** mk2soldi_ has joined #sailfishos | 21:08 | |
*** mk2soldier has quit IRC | 21:10 | |
BearT | have you ever used pageStack.busy? i tried | 21:11 |
BearT | if(!pageStack.busy) { pageStack.push(...); } | 21:11 |
BearT | but nevertheless got "Cannot push while operation is in progress: push" | 21:11 |
Acce | I used pageStack.onBusyChanged | 21:11 |
Acce | other good one is to check onStatusChanged for a page, when they're active the pageStack operation is over, if I remember correctly | 21:12 |
*** Sail0r has quit IRC | 21:13 | |
BearT | thanks, I'll try these two. actually i wanted to check if(busy) use_onBusyChanged() else switch_directly(), but that didn't seem to work | 21:13 |
*** piggz has quit IRC | 21:15 | |
Acce | yep, the problem is that if you just check if(busy) you easily end up using Timers or something to constantly check on that.. I think that is neither efficient nor elegant, if you care about such things :p | 21:15 |
BearT | i wanted to use the onBusyChanged if necessary and disconnect it, as soon as it had fired once. my scenario is a list of items. when the list contains only one item i want to switch to the detail view of that item immediately, since the overview list containing only one item is unnecessary | 21:18 |
Acce | hmm.. maybe Connections has some kind of enabled property? | 21:19 |
*** piggz has joined #sailfishos | 21:20 | |
Acce | hmm nope | 21:20 |
Acce | but maybe you could use Connections { target: initialized ? null : pageStack; onBusyChanged: { ... }}? not sure if it works | 21:21 |
BearT | Thanks for your suggestions. I will try these. | 21:22 |
*** Morpog_PC has quit IRC | 21:22 | |
*** RoKenn has joined #sailfishos | 21:22 | |
*** jonpacker has quit IRC | 21:23 | |
*** jonpacker has joined #sailfishos | 21:24 | |
*** macben has quit IRC | 21:27 | |
*** alchymia has joined #sailfishos | 21:27 | |
*** jonpacker has quit IRC | 21:28 | |
*** jobe-m has quit IRC | 21:32 | |
BearT | the onBusyChanged does not work when the current page is loaded. it is called when i manually push a second page, but not after my first page is loaded. but when i simply push a new page i get error the stack is currently still in transition. i think I'll have to ignore that for now | 21:34 |
Acce | hmm | 21:36 |
Acce | Do you mean you have initialPage set, and on that page you try to push another page? | 21:36 |
BearT | exactly that. when loading my initial page i check in the database how many items there are to be displayed and when there's only one item, I'd like to automatically switch to the details view (but still with the option to go back to the overview page if you really want to) | 21:38 |
Acce | ok, one more thing you could try is put Component.onCompleted: { pageStack....} in your ApplicationWindow | 21:40 |
*** KangOl has joined #sailfishos | 21:40 | |
*** jstaniek_ has joined #sailfishos | 21:40 | |
Acce | That should happen after the initialPage has been loaded & pushed | 21:41 |
*** alchymia has quit IRC | 21:43 | |
*** jstaniek has quit IRC | 21:44 | |
BearT | that is exactly the place I'm retrieving the items from the db and tried to simply push initially | 21:45 |
Acce | ok, then I'm out of ideas :/ | 21:45 |
BearT | anyway, thanks for your help. | 21:46 |
Acce | no problem, tell me if you figure out a way to make it work | 21:47 |
*** rashm2k has joined #sailfishos | 21:49 | |
BearT | I'm thinking of a hack with a timer, but that would be to ugly. maybe pushing without show does work, so the user only has to swipe instead of clicking on an entry in the lists context menu. | 21:51 |
BearT | 'too ugly' I meant to type | 21:51 |
Acce | yeah, that could be | 21:51 |
Acce | did you already try by not using initialPage at all, btw? | 21:52 |
Acce | just push all pages when ApplicationWindow's Component.onComplete? | 21:52 |
BearT | pushAttached is also not allowed during a push | 21:54 |
BearT | no, I did not try without initialPage yet. but I'm starting to think this may be a solution. I'll try that | 21:57 |
*** fk_lx has quit IRC | 21:57 | |
Acce | would be great if it worked | 21:57 |
*** clau has quit IRC | 21:58 | |
*** macben has joined #sailfishos | 22:03 | |
*** Bloob has quit IRC | 22:03 | |
*** spider-mario has quit IRC | 22:03 | |
*** jobe-m has joined #sailfishos | 22:06 | |
*** Pat_o has quit IRC | 22:07 | |
*** macben has quit IRC | 22:08 | |
*** onurati has quit IRC | 22:12 | |
BearT | Acce: that sort-of works, but I'd still say it's not recommended. | 22:13 |
BearT | my code is like this: | 22:13 |
BearT | ApplicationWindow | 22:13 |
BearT | { | 22:13 |
BearT | Component.onCompleted: { | 22:13 |
BearT | var data = db.get_all(); | 22:13 |
BearT | if(data.length === 1) { | 22:13 |
BearT | pageStack.replace(Qt.resolvedUrl("pages/OverviewPage.qml")); | 22:13 |
BearT | pageStack.push(Qt.resolvedUrl("pages/DetailPage.qml"), { data: data.get(1) }); | 22:13 |
BearT | } | 22:13 |
BearT | else { | 22:13 |
BearT | pageStack.replace(Qt.resolvedUrl("pages/OverviewPage.qml")); | 22:13 |
BearT | } | 22:13 |
BearT | } | 22:13 |
*** piggz has quit IRC | 22:14 | |
Sage_ | mornfall: https://build.merproject.org/project/meta?project=home%3AMartinK%3Asailfish%3Amodrana check example of repo setup from this | 22:16 |
*** javispedro has quit IRC | 22:16 | |
*** promulo has joined #sailfishos | 22:17 | |
*** jstaniek_ has quit IRC | 22:18 | |
mornfall | hmm, armv8? :) | 22:21 |
*** jobe-m has quit IRC | 22:21 | |
BearT | Acce: sry, posted too much code with newlines. the code that somehow works can be soon on http://pastebin.com/BM8Qe7Mn but anyway I'll revert my changes for now and leave it the way it was. | 22:22 |
*** piggz has joined #sailfishos | 22:24 | |
*** DrIDK has quit IRC | 22:28 | |
*** zen|merge has joined #sailfishos | 22:30 | |
*** KangOl1 has joined #sailfishos | 22:31 | |
*** KangOl has quit IRC | 22:33 | |
*** piggz has quit IRC | 22:33 | |
*** cxl000 has quit IRC | 22:34 | |
*** dafox has joined #sailfishos | 22:34 | |
Acce | BearT: okay, thanks for letting me know! | 22:35 |
*** RoKenn has quit IRC | 22:36 | |
*** Kabouik has quit IRC | 22:38 | |
*** Kabouik has joined #sailfishos | 22:39 | |
Sage_ | mornfall: just a name for scheduler because of some naming reasons :) | 22:40 |
*** Sly has joined #sailfishos | 22:43 | |
mornfall | Sage_: that's not confusing at all :P | 22:43 |
*** Sly has left #sailfishos | 22:47 | |
*** dafox has quit IRC | 22:49 | |
*** Sly has joined #sailfishos | 22:57 | |
Acce | is there already some way to put stuff in the event feed? like that twitter and fb icon? | 22:59 |
Acce | is it sailfish specific or nemo? | 22:59 |
*** JUJames has joined #sailfishos | 23:12 | |
*** Ville- has quit IRC | 23:12 | |
*** Ville- has joined #sailfishos | 23:12 | |
*** mk2soldier has joined #sailfishos | 23:19 | |
*** mk2soldi_ has quit IRC | 23:22 | |
*** AlmAck has quit IRC | 23:23 | |
*** qqK has quit IRC | 23:28 | |
*** jjanvier has quit IRC | 23:31 | |
*** mk2soldi_ has joined #sailfishos | 23:34 | |
*** macben has joined #sailfishos | 23:34 | |
*** mk2soldier has quit IRC | 23:35 | |
*** rashm2k has quit IRC | 23:36 | |
*** macben has quit IRC | 23:38 | |
*** KangOl1 has quit IRC | 23:46 | |
*** sequantz has quit IRC | 23:48 | |
*** arcean_ has joined #sailfishos | 23:53 | |
*** arcean has quit IRC | 23:53 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!