=== chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [07:01] good morning === JamesTai1 is now known as JamesTait === karni is now known as karni-afk === karni-afk is now known as karni === _salem is now known as salem_ === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [14:07] hello everybody [14:08] i'd like to stream webcam from c++ to QML, from C++ side i've subclassed QAbstractVideoSurface and thanks to frameAvailable im able to get QImage [14:08] im stuck how to get this QImage (updated) from QML side, any ideas please ? [14:10] hi [14:10] is there a (very) simple example on how to create a c++ + qtquick app? [14:11] preferrably something that works in qtcreator as well [14:21] ohmy: you should learn how qtmultimedia integrates with qml. You've already done good by implementing a QAbstractVideoSurface [14:23] you don't want to get a QImage (which is not on the GPU). Instead it is better to put the webcam frame into a texture on the GPU, which then QtMultimedia & QML can render [14:24] greyback: sure, the thing is that i need a way to view theses images in two (or more different) windows, reason why i'm not using the camera element of QML [14:25] greyback: and i'm nnot OpenGL expert, i really just need to grab these frames and show them in two separate qml containers [14:25] greyback: do you know any example that can helps me ? [14:25] ohmy: you need to view the live webcam output in 2 separate places simultaneously? Or a live view in one, and a static frame in another [14:26] greyback: two live in 2 separate QML containers at the same time (same PC) [14:29] ohmy: hmm, I suggest you investigate 2 channels. One is to try writing a qml test file using QtMultimedia to play a video [14:29] https://developer.ubuntu.com/api/qml/sdk-14.10/QtMultimedia.VideoOutput/ [14:30] and then modify it to see if you can have two VideoOutputs using the same MediaPlayer as their source [14:30] if that works, I suggest you continue your work and integrate your webcam as a backend for qtmultimedia [14:31] greyback: im trying, AFAIK you can only have one VideoOutput :( but i'm trying, thanks a lot [14:32] ohmy: if you are indeed correct, you'll have a tougher time of it. You'll need to write a custom QQuickItem do to the job. [14:33] greyback: thanks a lot [14:59] ohmy: this might interest you: http://pastebin.ubuntu.com/11836175/ [15:00] ohmy: it shows the video twice on screen. It's not the most efficient approach however [15:00] but it might be enough for you [15:16] greyback: te first approach does not look to work :( bool QDeclarativeVideoOutput::createBackend(QMediaService*) Media service has neither renderer nor window control available. [15:16] greyback: thanks a lot trying this one [15:17] ohmy: that error I think has more to do with qtmultimedia not finding a backend which can play the media [15:17] greyback: i see [15:18] greyback: it happends only when i use a second VideoOutput [15:18] hmm [15:18] ok, well see my pastebn above. It uses only 1 VideoOutput, but displays is twice [15:18] greyback: i saw shader trick, its very nice, the thing is that i need to show the videos in two separate windows [15:18] oh windows [15:18] greyback: yes i understood [15:19] still might be do-able [15:19] greyback: yes windows/rectangles [15:21] greyback: thanks a lot for your time, really appreciated, i'm stuck since few hours now [15:22] ohmy: http://pastebin.ubuntu.com/11836259/ [15:22] proves the shader trick works across windows [15:22] since it's using an FBO in the background [15:30] greyback: thanks so much, i'm trying to understand why its not working on my PC [15:31] greyback: QQuickItem: Cannot use same item on different windows at the same time. [15:31] ohmy: I'm using qt5.4 on vivid. [15:31] to make video playback work, I had to install one of these: https://launchpad.net/~mc3man/+archive/ubuntu/gstffmpeg-keep/+packages [15:44] greyback: sure i have already gstreamer ffmpeg [15:44] greyback: on video is displayer but the other window is white [15:45] greyback: its probably the way im loading qml's [15:45] ohmy: I just load that file with "qml" [15:46] greyback: sure im using QQmlApplicationEngine load [15:50] greyback: it works perfectly, im trying now to change MediaPlayer and use Camera element [15:50] greyback: really thanks [15:50] ohmy: welcome! === chihchun is now known as chihchun_afk [16:43] what channel do i need to flash to get the wily branch? [16:44] ubuntu-touch/devel-proposed/ubuntu? [17:13] the App Dev School workshops are out of date no? === zsombi_ is now known as zsombi [17:19] can anyone tell me how to change the text of a text object from c++ code? [17:29] dubstar_04, that should get you wily [17:29] even just ubuntu-touch/devel/ubuntu should [17:33] balloons, thanks. [17:45] how much of this is still good: https://docs.google.com/document/d/1jgn1nJeBjgQO3RzDMZ44wM606u6u02U6bVgtaSHkUA0/edit ? [17:56] popey, is there any other purpose other than crediting the authors for https://code.launchpad.net/~popey/music-app/add-authors/+merge/263910 ? .. eg a hook in click to link to this and then display the authors in the copyright info in system-settings? [17:57] ahayzen: two fold, thanking, but also, I want to link to it from a website [17:57] rather than have a list of contributors on the website [17:57] because the list is long and it makes the page look bad :) [17:57] popey, ah cool :-) hopefully we'll be able to have a hook in click/snappy one day :-) [17:57] yeah! [17:59] popey, did you auto generate this from the bzr history ? [17:59] yes [17:59] also, sed, sort, uniq etc [17:59] sweet \o/ [18:02] might get the new icon in soon, wonder if anyone will notice the music one, it's quite subtle [18:02] probably won't...i hardly did lol [18:02] heh [18:02] i had to double check it was the new one :) [18:02] popey, after https://code.launchpad.net/~ahayzen/music-app/fix-1470755-playlist-0-append/+merge/263707 i sense us wanting to land a click anyway [18:02] which must mean the old one was already awesome [18:02] hey all is "delegate: Subtitled " dead [18:02] ? [18:03] ahayzen: that would be great, post OTA5 [18:03] popey, it'll hopefully be in tonight, just some OCD from me/victor in the comments at the moment :-) [18:03] haha [18:04] ahayzen: ^ [18:05] zsombi, hi, have you been able to look at bug 1469471 and bug 1468100 both are related to the new listitems and the first is blocking it from landing in music [18:05] bug 1469471 in ubuntu-ui-toolkit (Ubuntu) "Checkbox shown in the ListView Multiselect mode does not obey selected property" [Undecided,Confirmed] https://launchpad.net/bugs/1469471 [18:05] bug 1468100 in ubuntu-ui-toolkit (Ubuntu) "ListItems with trailing but no leading actions, after swiping right break selectMode" [Undecided,Confirmed] https://launchpad.net/bugs/1468100 [18:06] ahoneybun, https://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Components.ListItems.Subtitled/ ? [18:07] Subtitled is not a type [18:07] the SDK says [18:07] I'm following a old guide so it might be that [18:07] ahoneybun, check the import is right [18:08] import QtQuick.XmlListModel 2.0 ? [18:08] import Ubuntu.Components.ListItems 1.0 [18:09] weird [18:09] OMG Neverball is working on mako! .. see you next week folks i've got some gaming todo lol [18:09] so it does not like the "as ListItem" at the end anymore [18:09] lol [18:09] yay it work!!!! [18:10] ahoneybun, if you were using as ListItem then you need todo ListItem.Subtitled { [18:10] * ahoneybun is making a Full Circle Mag app [18:10] trying anyway === dpm is now known as dpm-afk [18:34] ahayzen: / [18:34] http://pastebin.ubuntu.com/11837276/ [18:35] it is telling me ArticleContent is not a type [18:38] ahoneybun, where is the file ArticleContent.qml ? [18:38] it is not a file [18:38] oh [18:38] right naming crap [18:39] also the curly braces situation at the bottom looks fun [18:39] ? [18:39] L60-66 look like they have appeared overtabbed... probably just the conversion to pastebin [18:40] same here [18:41] something that the SDK did I think [18:42] yeah just ignore it, just some minor OCD on my behalf :-) [18:42] works all well now [18:42] thanks ahayzen [18:43] no problem :-) [18:43] ahayzen: now I have a working feed from the Full Circle Mag in my app :) [18:45] sweet \o/ [18:45] now to work on the Issues tab... [18:45] no clue on how that would work [18:46] ahayzen: http://imgur.com/yQGJtbr [18:47] ahoneybun, i gtg will be back later if your still having issues [18:49] ok [18:49] thanks [18:58] ahayzen: no, I did not, but I'll check 'em asap!!! [19:00] ahayzen: nice catches btw!!! [19:03] kalikiana: forgot to update API file? https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/shortcuts/+merge/262413 [19:06] zsombi: grrrr I was sure I did.... apparently I didn't commit that [19:06] :) [19:07] kalikiana: also one comment on https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/noDoCleanup/+merge/264053 [19:08] zsombi: fix pushed [19:10] kalikiana: happroved [19:11] zsombi: note that I'm not technically "fixing" anything, I'm removing references to an obsolete bug ;-) more importantly, won't changing the list type break apps? when up to now they would only emit a warning [19:23] zsombi: I guess we can try go UCAction all the way.. and see if that goes thru [19:46] kalikiana: the API was documented as list, the bug was marked by t1mp as won't fix by mistake. We were supposed to work only with list not with list. So if we fix the bug (which I've marked as valid and in progress) then we need to fix the type as well [19:47] kalikiana: also, you were dealing with this bug https://bugs.launchpad.net/ubuntu/+source/telephony-service/+bug/1372061 [19:47] Launchpad bug 1372061 in unity8 (Ubuntu) "SMS notification: time format not translatable" [High,In progress] [19:47] kalikiana: do you remember where did you left with it? [19:48] kalikiana: let's catch up tomorrow on it [19:51] zsombi: we discussed it, and were debating whether i18n.relativeTime(timestamp).string would re-evaluate correctly but I never see any code from dednick trying that approach [19:52] zsombi:what did I mark as Won't Fix? [19:52] t1mp: check the bug above [19:53] kalikiana: I see... we have to help dednick to get that done... if we can still... [19:53] zsombi: https://bugs.launchpad.net/ubuntu/+source/telephony-service/+bug/1372061 ? It is not marked as Won't Fix [19:53] Launchpad bug 1372061 in unity8 (Ubuntu) "SMS notification: time format not translatable" [High,In progress] [19:54] t1mp: yes, no longer, as I did revive it :) [19:54] weird, I don't see it in the history either [19:54] t1mp: and we were not talking about that bug, sorry :) [19:54] ahh [19:54] t1mp: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1369874 [19:55] Launchpad bug 1369874 in ubuntu-ui-toolkit (Ubuntu) "[Unity Dependency] Cleanup workarounds made to accept any QObject as Action or ActionContext." [Medium,In progress] [19:55] t1mp: that was the one :) [19:55] hmm, okay [19:55] kalikiana: hmm... can we get dednick on line at all? [19:56] I don't remember the details. Seemed like the bug was not valid any more because we don't use the unity actions any more [19:56] t1mp: the bug was about to remind us to fix the API [19:57] not that we use or not unity actions [19:57] we kept it till we get apps cleaned to not to use unity Actions [19:57] and that was fixed [19:58] t1mp: but our API still uses list and not list [19:58] ok, let's reload this tomorrow [20:00] zsombi: I've seen him before, let's assume he didn't disappear from the earth, but he might just be away :-D [20:00] kalikiana: in the worst case we have to do the changes, based on the MR we rejected [20:01] kalikiana: shortcust MR landed in staging :) [20:04] * zsombi eod [20:05] ya [20:05] y [20:05] * zsombi eo sweating day :D [20:06] +1000 [20:12] zsombi: seems like the bug is actually saying to use list instead of list [21:24] According to https://launchpad.net/ubuntu-phone-coreapps/ there is a calendar app for Ubuntu Touch. The question is, where do I find it on the phone? [21:29] TLyngeJ: its not pre-installed, its in the store [21:31] Bah, your right :-) Just assumed "Core apps" would mean it got installed when I flashed the gizmo. Anyway, thanks. [21:46] No one knows here how to create a web service?? === salem_ is now known as _salem