/srv/irclogs.ubuntu.com/2015/08/15/#ubuntu-app-devel.txt

=== 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
NymeriaFrmcphail, Hi11:39
NymeriaFrSo, I want create a simple application that read barcode11:40
mcphailNymeriaFr: ok11:40
NymeriaFrThere is the source code : https://github.com/Nymerea/uBarcodeReader/tree/feature/autoCapture11:40
NymeriaFrI have to problem11:40
NymeriaFr1) It doesn't compile on Aquaris E4.511:40
NymeriaFrOn desktop, I can lunch it but on smartphone I have this error : ReferenceError : qDecoder is not defined11:41
NymeriaFrIn my main.cpp I have : view.rootContext()->setContextProperty("qDecoder", &decoder);11:41
NymeriaFrso it should work11:41
NymeriaFrI don't understand11:42
mcphailok, give me 10 minutes to fire up the SDK and have a look11:42
NymeriaFrthank you11:42
NymeriaFrdon't forget to use feature/autoCapture branch11:44
mcphailNymeriaFr: ok, I get it to compile but get a permission error on deployment. This usually means you have fallen foul of app confinement11:59
mcphailNymeriaFr: actually, I think that "permission denied" thing might be a fault at my end...12:04
NymeriaFrmcphail,12:05
NymeriaFrWhat kind of permission12:05
NymeriaFrI don't use internet, I just use camera12:05
NymeriaFrbut everything is in apparmor12:06
mcphailNymeriaFr: I think it is a problem with the deploy step in the SDK as my other projects are failing with that today as well. I can build the click and deploy it manually to my bq phone12:08
mcphailNymeriaFr: it may be worthwhile checking you have the correct kit installed and targetted12:10
NymeriaFrno no12:10
mcphailNymeriaFr: I can send you a link to the .click I compiled if you want to test on your phone12:10
NymeriaFrI can run it into my smartphone12:10
NymeriaFrbut when I click on the camera output, it's supposed to try to decode a barcode12:11
NymeriaFrwhen I click on it I have referenceError12:11
NymeriaFrwith qDecoder12:11
mcphailNymeriaFr: in the logs?12:11
NymeriaFryes12:12
NymeriaFrI see it with logViewer tools12:12
mcphailok - get what you're saying now12:12
NymeriaFrAnd in desktop mode, I haven't this error12:12
NymeriaFrAnd other problem12:13
mcphailNymeriaFr: let me explore further12:13
NymeriaFrcamera is not "in front of"12:13
NymeriaFrIt look like have a 90° position difference12:14
NymeriaFrArf, i'm not english native12:14
NymeriaFri'm not sure you can understand me12:14
NymeriaFrmcphail, If you find the problem, can you post an message here :https://plus.google.com/+MorganDURAND/posts/4esP5rQFDxS12:15
NymeriaFror on github project ?12:15
NymeriaFrI have to go12:15
NymeriaFrThank you for your interest12:15
mcphailNymeriaFr: I'll let you know if I find anything12:17
NymeriaFrmcphail, have you understand the camera thing ?12:17
mcphailNymeriaFr: yes - rotated 90 degress12:18
NymeriaFris it normal ?12:18
NymeriaFrIs it happen to you ?12:18
mcphailNymeriaFr: I haven't coded anything using the camera yet. I suspect you'll need to respond to orientation events12:19
mcphailNymeriaFr: that would be a question to ask on Monday when the experts are around12:19
NymeriaFrOkay12:19
NymeriaFrthank a million12:20
mcphailNymeriaFr: thanks12:20
sam__Hi appdevs, can someone please explain how to install libconnectivity-qt1 in a vivid click target in the ubuntu SDK?12:49
popeysam__: in an armhf kit?12:53
mcphailsam__: what happens when you try "apt-get install libconnectivity-qt1-dev:armhf" ?12:54
sam__yes. I installed it but it' still not found12:54
popeysurely the -dev you don't need armhf?12:54
popeyonly for the libconnectivity-qt1:armhf package12:54
mcphailpopey: yep, you do12:54
popeyhuh, okay12:54
popeyignore me ;)12:54
mcphailpopey: without it, it will try to install the libconnectivity-qt1:amd64 package12:54
sam__I'm trying to compile cutespotify. But Qtcreator always says: connectivity-qt1 development package not found12:56
mcphailsam__: output of "apt-cache policy libconnectivity-qt1-dev:armhf"?12:57
sam__I did: Settings -> Ubuntu -> Maintain Click Target- > "apt-get install libconnectivity-qt1-dev:armhf"12:57
sam__And it was installed without problems12:57
sam__Installed: 0.0.1+15.04.20141215-0ubuntu112:58
sam__  Candidate: 0.0.1+15.04.20141215-0ubuntu112:58
sam__  Version table:12:58
sam__ *** 0.0.1+15.04.20141215-0ubuntu1 012:58
sam__        500 http://ports.ubuntu.com/ubuntu-ports/ vivid/universe armhf Packages12:58
sam__        100 /var/lib/dpkg/status12:58
mcphailsam__: perhaps pkg-config isn't finding it. Can you set the environment variable PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig/ for the build and see if that helps?13:01
sam__Right. Sorry I forgot to mention that pkg-config can't find it13:02
sam__How can I set the environment variable for the build?13:03
mcphailsam__: click on the "projects" tab at the side, select your build target and expand the BUILD ENVIRONMENT bit at the bottom13:04
sam__Hmmm. Does still not work.13:15
sam__Variable: PKG_CONFIG_PATH and Value: /usr/lib/arm-linux-gnueabihf/pkgconfig right?13:16
svijtaska13:17
=== JanC_ is now known as JanC
svijooups13:21
sam__Any other ideas?13:22
mcphailsam__: sorry, not sure what else I can suggest13:38
sam__Hmmm. Ok thank you for your help mcphail. Maybe I make a very small failure somewhere13:41
mcphailsam__: I suppose the only other thing to check is that you are absolutely sure the kit you are compiling from is the same kit you've added the headers to. But I'm sure you've checked that already13:46
sam__Sadly i did. But thank you anyway13:51
popeysam__: maybe ping a mail to the ubuntu-phone mailing list?14:42
=== _salem is now known as salem_
=== salem_ is now known as _salem
Des__Hi all have a serious question about a specific android ZTE p7431 ..... has no internal sdcard and lost all off it´s bin files, doesn´t boots up as it should be but is still recognized as an android devic how to get this back operational?21:26
Des__Since it is a chinese brand, iv´e been trying as many things over adb in windows but no results, couldn´t push the files to device or whatsoever21:28
=== hyperair is now known as Guest10717
mcphailDes__: I think you are in the wrong channel. This is for application development for ubuntu, not restoring android phones21:38
ScriptKreweHowdy21:41
=== hypera1r is now known as Guest60557

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