/srv/irclogs.ubuntu.com/2015/05/19/#ubuntu-app-devel.txt

=== _salem is now known as salem_
=== aaron is now known as ahoneybun
ahoneybunalmost lost this install mcphail00:37
ahoneybunhad to restart Xorg00:38
=== salem_ is now known as _salem
=== chihchun_afk is now known as chihchun
bzoltanahoneybun: what packages the SDK replaced? The SDK can not break a standard Ubuntu. Of course if you have some special configuration with custom packages then your case might be special... but even in this case the SDK does not break anything what a simple dist-upgrade would not break.04:58
cliftontsMorning all, I'm hoping someone might be able to help me with packaging my software. I've submitted to the developer portal but they say it won't build even though it does so here perfectly.05:48
cliftontsThe error they are getting is E: cliftontestsuite: arch-independent-package-contains-binary-or-object opt/cliftontestsuite/atk.so05:49
cliftontsoops, wrong message05:49
cliftontscp: cannot stat `debian/tmp/atk.so': No such file or directory05:49
cliftontsThough that file is in place and listed in the .install file. I'm not sure where to start.05:50
cliftontsAnybody?06:37
dholbachgood morning06:38
cliftontsMorning.06:44
cliftontsI don't suppose you could provide me with some inspiration to help figure out why my package builds on my system fine but not on the moderators at the dev portal could you?06:45
=== chriadam is now known as chriadam|away
liuxgis there any good way to calculate the length of the Text in QML if there is only one line?08:25
liuxgI want to draw a background for the text displayed in my Text. However, the Text could be multiple lines. For single line, I do not want to paint the unused space of my Text. Thanks08:27
cliftontsI wouldn't hold out for a reply liuxg08:29
liuxgcliftonts, I have a code like http://paste.ubuntu.com/11221391/. it works for me, but it has a QML Text: Binding loop detected for property "width" warning. I want to get rid of it. The text could be multiple lines. for single line, I just want to paint the background of the displayed area instead of the whole area.08:33
liuxgcliftonts, this is the listview I want to have http://imgur.com/3QKHUGZ. currently, it works, however, there is binding loop for it http://imgur.com/3QKHUGZ08:34
cliftontsWouldn't have a clue I'm afraid. I'm here for help myself but have been waiting for something like 3 hours and you are the first real sign of life.08:35
liuxgcliftonts, ok.08:35
danielbeliuxg: what do you mean with "length" of the text? The amount of pixels/the amount of chars?08:36
liuxgdanielbe, yes, the amount of pixels.08:37
liuxgdanielbe, this is my code "git clone https://gitcafe.com/ubuntu/weixin.git". Basically, it works. I just want to get rid of the binding loop error.08:39
JamesTaitliuxg, I'd like to understand what causes that, too. I only have time to occasionally dabble in this stuff, but I try to soak up whatever knowledge I can in the spaces in between.08:44
liuxgJamesTait, it is truly a binding loop. I understand the question. My code works, but I want to remove the warning.  I need to set a width for Text so that I can have multiple lines. However, for single line, I do not want to paint the whole area since it makes that stupid, so I have to adjust the width of the text again, which affects the number of displayed lines.08:47
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== dholbach_ is now known as dholbach
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== _salem is now known as salem_
=== oSoMoN_ is now known as oSoMoN
=== alex-abreu|off is now known as alex-abreu
=== chihchun is now known as chihchun_afk
=== oSoMoN__ is now known as oSoMoN
didrockszsombi: hey, small stupid question. I'm on 15.04 and just tried the first qmake template as I understand now qmake will be what is supported. "QML App with Simple UI (qmake)". It can't import Ubuntu.Components 1.1 (default in the template). I tried to switch to 1.2 (as it seems it's what other components in qtdeclarative5-ubuntu-ui-toolkit-plugin are importing), but nothing13:55
didrockszsombi: any idea?13:55
didrocks(I only enabled the desktop kit)13:57
didrocksbzoltan: maybe you would know as well ^13:58
seb128didrocks, what error do you get exactly?13:58
didrocksin French, but translated it would be "QML module not found"13:59
didrocksI think there should be no need to define QML_IMPORT_PATH for a default project using the desktop kit?13:59
seb128no, nothing should need to be changed13:59
seb128does it work if you qmlscene the .qml from the command line?13:59
didrocksyeah13:59
didrocks(with 1.1)13:59
mhall119didrocks: what kits do you have?14:00
seb128k, so not a package installation issue but a qtcreator env one14:00
mcphailI don't think you can target desktop with a 15.04 framework (and, by implication, qmake) yet...14:03
didrocksmcphail: well, it does run14:09
mhall119mcphail: you should be able to if you run 15.04 on your desktop14:09
didrocksmhall119: only the desktop one, as it's the desktop one used for code analysis14:09
mhall119didrocks: what's your QtCreator target, is it the desktop?14:09
didrocksyeah14:09
mcphailmhall119: are you sure? Someone had this conversation a week or so ago and it was said 15.04 doesn't have the 15.04 framework14:09
mcphail(on desktop)14:09
mhall119mcphail: I have ubuntu-sdk-15.04.framework on my desktop14:09
seb128works here (though I'm on wily now)14:09
mhall119so the components better all be there14:09
mcphailmhall119: ok - I took it as truth :)14:09
didrocksseb128: did you try the qmake project?14:09
mhall119mcphail: now if you were still on utopic it wouldn't work14:09
seb128didrocks, yes14:10
mcphailmhall119: no - it was someone on 15.04. There was a conversation about the frameworks not mayching the releases14:10
* mcphail fears he may be spreading FUD14:10
didrocksseb128: grumph, dunno then… It's just a fresh one (I cleaned the qtcreator settings starting from scratch with the home move)14:10
mhall119mcphail: dunno then, maybe there was some context we're missing that explains it14:10
mcphailI've been avoiding qmake for that reason...14:10
mhall119oh14:10
mhall119oh!14:10
mhall119I think qmake didn't work with older components14:10
mhall119I think I remember that...14:10
didrocksmhall119: so, I should target 1.3?14:10
didrocks(I'm just using the default template…)14:10
mhall119didrocks: does 1.2 work?14:25
mhall119IIRC, it was that qmake required a newer framework target, though ubuntu-sdk-15.04 is still the newest14:25
mhall119bzoltan: zbenjamin: ^^ can you guys chime in on this?14:25
didrocksmhall119: no, 1.2 doesn't (same issue)14:25
mhall119didrocks: should have use qmlproject, much simpler :)14:25
bzoltanmhall119:  qmake project is supported only on 15.04 chroots14:25
didrocksmhall119: but the sdk team told it's deprecated for them14:25
didrocksbzoltan: ah, so code analysis won't work with it, right? What template should I use then?14:25
bzoltandidrocks:  not yet deprecated, but qmlproject has no build config... so it is a bit dumb14:26
seb128didrocks, just tried on a guest session on my laptop, picked "simple UI (qmake)", next, next, next, ctrl-R and it works here :-/14:26
seb128let me try on my test laptop to see14:26
* didrocks does the same14:26
danielbeHello. I would like to create a kit chroot for 14.10 on ubuntu 14.04. However, It fails with an error: "E: Unable to locate package qtsensors5-dev"14:26
mcphailbzoltan: qmake needs a 15.04 chroot, but can you target the 15.04 desktop with qmake? I believed (possibly wrongly) that the 15.04 desktop doesn't have the 15.04 framework and could use 1.2 components...14:26
mcphail*couldn'y14:26
mcphailaargh - typing bad again14:26
bzoltanmcphail:  of course you can14:26
mcphailmy bad, then :)14:26
bzoltanmcphail:  the 15.04 desktop has 1.2 UITK, that is all the limitation14:26
mcphailok - thanks. That is helpful14:26
didrocksseb128: doesn't here, it tells I have some issue with the typeinfo files (and that's the ubuntu sdk files)14:26
didrocksseb128: what version do you have? I added the release ubuntu-sdk ppas14:26
seb128the archive one14:26
didrocksmaybe the issue comes from that14:26
seb128I bet it does14:26
seb128well, qmlscene works so it's weird14:26
seb128what target did you pick14:26
didrockshum, qtdeclarative5-ubuntu-settings-components is the archive one14:26
seb128"Desktop"?14:26
didrocksseb128: yeah, Desktop14:26
didrocksI tried without a chroot though14:26
seb128weird that qmlscene from the command line works14:26
seb128does it work from a guest session?14:26
bzoltanseb128:  didrocks: remember that no runtime stuff comes from teh SDK PPA other then the QtCreator14:26
seb128bzoltan, qtcreator seems the issue, qmlscene from the command line doesn't have that import problem it seems14:26
didrocksseb128: see my answer above (I'm getting some invalid "typeinfo") issues14:26
seb128didrocks, you mean it's underlined in red and listing errors about missing versions etc?14:26
didrocksyeah14:26
seb128that's "normal"14:26
didrocksin the guest14:26
didrockswhich is different from my user account14:26
didrocksnormal?14:26
seb128doing the same for me on my different machines14:26
seb128in my normal sessions14:26
didrocksbzoltan: expected? ^14:26
didrocksseb128: so ok, I still have to figure out what's different on my user session then…14:26
seb128didrocks, is guest having the same problem?14:26
seb128on runtime I mean14:26
seb128but yeah, the qmltypes is missing the versions info14:26
didrocksseb128: yeah, runtime works14:26
didrockson the guest14:26
seb128k14:26
* didrocks really wonders what's on the user config14:26
seb128so something in your user profile...14:26
didrocksI'm happy to reset it and save it somewhere14:26
didrocksMirv: bzoltan: what files should I purge to reset my qtcreator config? ^14:26
didrocksseb128: you did choose the 15.04 framework, right?14:26
didrocksnot 14.10?14:26
seb128didrocks, no, "Desktop"14:26
didrocksDesktop is a target, not the framework that you choose when you create a project?14:26
didrocksthis is before the "kit"14:26
seb128oh, right14:26
seb128yeah, "ubuntu-sdk-15.04"14:29
seb128on the framework combo at the bottom of the details page14:29
didrocksgrumph, I just did retry without any luck14:29
didrocksok, let's try randomely looking for files to remove14:29
seb128didrocks, try closing qtcreator, move ~/.config/QtProject away and restart it14:29
seb128didrocks, you might have https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/113533614:29
ubot5Launchpad bug 1135336 in qtcreator (Ubuntu) "Qt Creator misconfigures itself on first run if qt4-qmake is installed (does not respect qt5-default)" [High,Fix released]14:29
seb128that's a fixed bug, but maybe you ran it in the past when it was buggy14:29
didrocksseb128: that did it! (the profile was cleaned from yesterday thugh :/)14:29
didrocksthough*14:29
didrocksbut yeah, now I have the "normal" error14:29
seb128did you start qtcreator before installing the sdk?14:29
didrocksand the app starts14:29
seb128maybe that misconfiguration bug still happens14:29
seb128k14:29
seb128so same than here :-)14:29
didrocksno, I didn't14:29
didrocksthanks seb128 :)14:29
seb128dunno how the config has been bugged then14:29
seb128yw!14:29
didrocksmhall119: do you recommend using 1.1 or 1.2? I guess the later? (but the template still references 1.1)14:29
didrocksand useDeprecatedToolbar14:29
mhall119didrocks: I'd recommend 1.1 if you can, that will support utopic which is what the Bq phones are still on14:32
mhall119if you switch to 1.2, just remove the useDeprecatedToolbar14:32
bzoltandidrocks:  ~/.config/QtProject/14:33
didrocksmhall119: ok, I think the app won't get out before the Bq phone will switch anyway, so it's fine to target it14:33
didrocksbzoltan: yeah, removing it did it. I'm just surprised because it's a new HOME directory from yesterday, so I wonder if the bug is really fixed14:34
DS-McGuiredholbach, I saw your post to G+ about the new design, I have another image almost ready if you want me to send it to you so you can add it to the article.15:30
dholbachsure15:31
DS-McGuireI will email it now.15:31
DS-McGuiredholbach, My apologies, it seems I have overwritten the work I did on a new page. I will start it again now and I will let you know when it's ready, sorry about that.15:35
dholbachah damn... that sucks, having to recreate work :-/15:35
dholbachit has happened to me so many times15:35
* balloons left questions on the list15:37
dholbachthanks balloons15:40
dholbachI'll reply to them tomorrow15:40
dholbachnow it's dinner time over here - see you guys tomorrow - I'll check mails later on again15:40
DS-McGuireIt does suck :(15:47
popeymhall119: do you know if ubuntu-html5-app-launcher can run full screen? (no title bar) ?16:31
aquariusmhall119, I'm pretty sure it's pronounced bay-oo-no, although beuno can confirm :)18:56
mhall119popey: doesn't it require a setting in the .desktop file?19:03
popeymhall119: i have no idea!19:04
popeymhall119: can you test the dontcrash game in the store if you get 5 mins :)19:04
mhall119will it crash my phone?19:04
popeyNo, it "don't" crash19:04
popeyits just a silly game.19:04
mhall119aquarius: in my head it's always "bueno", because he's such a good guy who implements all the features I ask for ;)19:05
mhall119popey: no fair, he changed right before we met :(19:08
mhall119got to level 719:08
popeyhaha19:08
popeythat works then19:08
popeyyeah, i may have to tweak that19:08
mhall119did the same thing again at level 719:09
mhall119the trick is to ignore your own car19:09
popey8 is my high score19:09
beunoaquarius, you are correct19:09
mhall119just watch the yellow one, and click the screen whenever it crosses the white line19:09
aquariusyay! I remember having it patiently explained to me a few years back :)19:10
mhall119except when it crosses as it's passing you, and there's nowhere to go19:10
mhall119popey: graphics remind me of MvM, it's quite nice19:10
mhall119ubuntu-sdk-15.04 API docs have been published!19:16
mhall119https://developer.ubuntu.com/api/apps/qml/sdk-15.04/19:16
DS-McGuiremhall119, Thank you so much for the Testimonial! :D19:36
mhall119DS-McGuire: thank *you* so much for your contributions :)19:37
DS-McGuiremhall119, Not a problem :)19:37
* DS-McGuire goes red19:37
DS-McGuiremhall119, Is it too late to put my name down for the Ubuntu membership meeting tomorrow?20:00
mhall119DS-McGuire: that's up to the membership board20:02
DS-McGuiremhall119, Okay then, thanks :)20:03
bzoltanmhall119: \o/20:16
mivoligois there a way to set an app in the store to be only available for a specific Ubuntu version?20:22
DS-McGuiremivoligo, Phone or desktop?20:44
mivoligoDS-McGuire: phone20:44
DS-McGuiremivoligo, Why are you targeting a certain version? (If you don't mind me asking)20:45
mivoligoDS-McGuire: well, turns out my app does not work well on the devel version, so I want to limit it for now20:46
DS-McGuiremivoligo, Ah. Well surely that is to be expected on the devel version. However I do not know of a way to only target the stable channel.20:47
mivoligoDS-McGuire: yeah, I only see option to limit availability by country20:49
DS-McGuiremivoligo, Well I surely haven't seen any way to limit it. I honestly believe though that you shouldn't hold back the app because of the devel branch. The devel is constantly changing and breakages will happen. It's like when they introduced the new headers to devel and it broke a few apps.20:51
mivoligoDS-McGuire: the app is already in the store but I just wanted to make everyone happy :) or rather don't make anyone unhappy ;)20:52
DS-McGuiremivoligo, I like that attitude! :D Perhaps put a disclaimer in the description? BTW, what's the app?20:57
mivoligoDS-McGuire: Timer20:59
DS-McGuiremivoligo, Ah your app is Timer! It looks great :D21:00
mivoligoDS-McGuire: thanks :)21:00
mcphailsturmflut2: ping21:45
mcphailCan anyone point me in the right direction? I've been looking at sturmflut's sdl template at https://github.com/Sturmflut/ubuntu-touch-sdl-template . I can build the click, but when I run it on my phone I get an apparmor="DENIED" in my dmesg. It seems the run.sh script doesn't have permission to run. What do I need to tweak to give it permission? http://paste.ubuntu.com/11232605/21:52
mcphailI presume I have to add the appropriate policygroup to the .apparmor file?21:53
mcphailActually, forget that. It is a red herring23:31

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!