=== hunger is now known as hunger_ === hunger_ is now known as hunger [04:01] hello [05:33] zsombi: morning! [05:33] Mirv: ahoj :) [06:45] is anyone familiar with qplatformmenu? [06:45] zsombi: you perhaps? [06:56] good morning everyone [06:57] dpm: hello [06:57] dpm: I want to finish the MR to enable lp translations for the uitk today. [06:57] dpm: https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/translations/+merge/166307 [06:57] morning timp [06:57] * dpm looks at it [06:57] dpm: you said that I needed to add an additional keywords=tr:1,2 there. does that mean to have two times --keywords? [06:57] dpm: I couldn't find what the :1,2 does [06:59] timp, yeah, exactly as you did it (2 times keyword). What it does is to extract the plural forms. Otherwise things like i18n.tr('%1 thing', '%1 things', something).arg(something) would be ignored. Let me see if I can find [07:01] some documentation [07:02] timp, the first 1 instructs gettext to extract the first plural form, and the 2 to extract the 2nd plural form: http://www.gnu.org/software/gettext/manual/html_node/Default-Keywords.html [07:02] and http://www.gnu.org/software/gettext/manual/html_node/xgettext-Invocation.html [07:04] dpm: ok, thanks [07:05] dpm: it is not fully clear to me what launchpad will take over from the packaging [07:05] dpm: do I still need to put .mo files in the correct places with 'make install' ? [07:05] brb [07:32] timp, I hope this answers the questions on packaging: https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/translations/+merge/166307/comments/368864 [07:35] dpm: thanks. checking it now [07:50] zsombi: when you have a moment, could you please have a look at https://code.launchpad.net/~osomon/ubuntu-ui-toolkit/TextField-inputMethodHints/+merge/166297 ? [08:12] (09:45:44 AM) timp: zsombi: you perhaps? - not really... was long time ago :) [08:12] oSoMoN: yes, I'll take it immediately [08:13] zsombi: thanks [08:18] timp: oSoMoN has added the new API to the CHANGES file, but we haven't agreed to alter CHANGES file for new API... [08:19] zsombi: I wasn’t sure whether that was needed, I can remove it [08:20] timp: oSoMoN: for me both ways is OK till v1.0, after that we most likely want to have the new things documented too... [08:20] oSoMoN: let's remove it for now... [08:20] ok [08:23] zsombi: ah, I didn’t know there was a CHANGES.syntax file, now it makes sense, I removed the ADDED line [08:24] oSoMoN: happroved [08:24] oSoMoN: thanks!!!! [08:25] thanks for the review [08:25] oSoMoN: any extra property you need that is not yet forwarded in TextField, feel free to contribute... otherwise it will be revisited only after beta released [08:26] zsombi: ok, will keep it in mind, and will contribute if the need arises [08:32] hey all, does anyone have any pointers on how to port this snippet of code to Qt 5? http://pastebin.ubuntu.com/5716009/ [09:18] dpm: it's not QQUickItem that should be used, but QQuickPaintedItem [09:18] dpm: that one provides paint() functionality with QPainter [09:25] zsombi, thanks. Any suggestions on how to do the conversion/cast from the Image (QQuickImage) I'm getting as imageObj to a QQuickPaintedItem ? Lines 20, 27 on the snippet at http://pastebin.ubuntu.com/5716009/ ? [09:26] Let's say C++ and pure Qt is not my strength, sorry if I'm asking something obvious [09:33] dpm: that code cannot be "ported" 1:1, it needs some extra work... casting to QQuickImage also reqires you to include QtQuick privates, which is pretty shaky... [09:34] zsombi, I don't mind it not being ported 1:1. Essentially, I just need to get hold of an Image passed in from QML to be passed to C++, is there no easy way to do it? [09:35] I can probably load the image from the file system, but I thought it'd be cleaner to pass the image to the function [09:35] dpm: not without including QtQuick privates :( [09:36] dpm: the image you pass it's a QQuickItem after all... [09:36] bummer :( [09:37] zsombi, so essentially this was possible in Qt 4 and it's no longer possible in Qt 5? [09:37] dpm: those were different daze :) [09:38] dpm: let me check the QQuickImage... [09:38] thanks :) [09:41] dpm: well, you can get the QImage from QQuickImage (there's an image() method returning it back), but for that you need to include and add QT += quick-private to your .pro file :( [09:42] dpm: qtquick suffered major rewrite, sorry. [09:44] zsombi, thanks for your help, that will bring me further. Of the two options, would you suggest to go the quick-private way, or just pass in the path to the image in the file system and load that? [09:45] dpm: depends on what you need. Qt does not promise privates API compatibility, so if you'd want to save yourself from continuous portability problems, you better go for the path (QUrl) solution, and forget the privates [09:48] ok, I'll try that, thanks zsombi [09:48] dpm: yr welcome! === chriadam is now known as chriadam|away [11:32] bzoltan: I added a po/ directory to ubuntu-ui-toolkit, and inside in the .pro file I added an install target that copies translation files [11:32] bzoltan: so are they then automatically installed when I 'make install' in ubuntu-ui-toolkit source root? [11:36] dpm: I updated https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/translations/+merge/166307 [11:37] bzoltan: ^ could you also review? [11:49] timp, cool, looking... [11:55] timp, I guess as part of calling 'make install' during package build the installation is already taken care of and no packaging changes are needed? ^ [11:56] I mean the installation from the .mo files [11:56] dpm: I don't know, that's why I asked bzoltan1 [11:57] ok, no worries [11:57] timp, ah sorry, I hadn't seen your question to Zoltan above [12:02] timp, ok, reviewed and added a comment [12:05] zsombi, on that question about passing images from QML to C++ earlier on: if on the QML side I pass an Image.source to extractQImage, what's the best way to declare the imageObj argument in the function? As QObject, QUrl... ? http://pastebin.ubuntu.com/5716009/ [12:06] dpm: thanks [12:26] hey SDK folks, could any of you answer this app developer's question on theming? -> http://askubuntu.com/questions/282766/how-to-use-theming-in-qml-for-ubuntu-phone [13:11] (03:26:22 PM) dpm: hey SDK folks, could any of you answer this app developer's question on theming? -> http://askubuntu.com/questions/282766/how-to-use-theming-in-qml-for-ubuntu-phone - taking that, it's mine ;) [13:12] zsombi, excellent, thanks! I've got one from earlier on, I'm not sure if you saw it: zsombi, on that question about passing images from QML to C++ earlier on: if on the QML side I pass an Image.source to extractQImage, what's the best way to declare the imageObj argument in the function? As QObject, QUrl... ? http://pastebin.ubuntu.com/5716009/ [13:13] dpm: haven't seen it, raring tricked me and I had to restart, perhaps it was then... [13:14] dp; however, I guess I also wrote that you should pass a QUrl [13:29] zsombi, I'll try that then, thanks === netcurli_ is now known as netcurli [15:09] * zsombi eod, c u tomorrow === greyback is now known as greyback|food [17:09] kenvandine: what package do I need to install for the following to resolve correctly in QML: import Ubuntu.OnlineAccounts 0.1 [17:14] kenvandine: nevermind, I found it: qtdeclarative5-accounts-plugin [17:14] kenvandine: FYI, the gallery app is broken because it’s missing this dep, I’ll fix it === greyback|food is now known as greyback [17:21] oSoMoN, oh... thanks! [17:25] kenvandine: would you mind approving https://code.launchpad.net/~osomon/gallery-app/missing-uoa-dep/+merge/166552 ? [17:25] sure [17:26] oSoMoN, done [17:26] thanks [17:39] Not sure if this is the best channel…. I'm trying to figure out why a write on a non-blocking fifo is taking 100+ ms. === greyback is now known as greyback|away === greyback|away is now known as greyback === greyback is now known as greyback|away [22:40] Hello everyone, I am new here and ubuntu at all.... I am interested in the app making for the new Ubuntu os for smartphones. My question is what language do I need to know to make apps [22:43] Hello everyone, I am new here and ubuntu at all.... I am interested in the app making for the new Ubuntu os for smartphones. My question is what language do I need to know to make apps [22:45] Logical___: QML, Javascript (and maybe C++/Qt)