/srv/irclogs.ubuntu.com/2016/06/09/#ubuntu-app-devel.txt

=== _morphis is now known as morphis
=== JanC is now known as Guest27912
=== JanC_ is now known as JanC
=== _salem is now known as salem_
mike00hi all. How can I get the week day in a QML qmake app?12:53
mike00and I have a problem with qmake. it seems every project I create is corrupted: in the desktop file there is an underscore before the Name property (examples: "_Name=App") and when I execute the project on the phone a message saying "could not find Desktop file" appears... what can I do?12:59
mike00and I can't use image: I can see image on the pc but on the phone a message says me the image link isn't correct...13:00
mike00now I copy the desktop file in the "build-App-Ubuntu_Device_GCC_armhf_ubuntu_sdk_15_04_vivid-Debug/App" directory and it seems work13:01
mike00but if I copy image I can't see them13:01
=== JanC_ is now known as JanC
=== salem_ is now known as _salem
=== _salem is now known as salem_
mike00is there anybody that can help me please?13:35
mike00why in this channel there isn't anybody?14:22
* ogra_ sees 133 people14:23
mike00133 people in this channel and nobody can answer me???14:30
ogra_not everyone is looking at IRC all day :)14:33
ogra_(also ... see the channnel topic)14:33
mike00I'm trying to develop some app for ubuntu touch...14:40
mike00but the ubuntu sdk doesn't seems working very well14:40
mike00does the topic says to make apps? I'm trying to do it14:42
kalikianamike00: It does. I think it was a hint to use appdevs to highlight folks14:45
mike00sorry kalikiana, I don't understand. I don't speak english very well...14:47
kalikianaIf you use "appdevs" when asking for help, developers see that14:49
kalikianaIt's like using a nickname, but for all who have enabled that word14:49
ogra_right, that is why i pointed to the channel topic :)14:49
mike00ok thanks14:49
ogra_..."Use keyword "appdevs" to highlight developers if they're around."...14:50
popeymike00: maybe push a branch somewhere that we can see14:52
popeyor zip it up or something14:52
mike00where can I upload a zip?14:54
mike00popey?14:56
JanCmike00: do you have web space provided by your ISP, or a service like Google Drive/Dropbox/similar?15:02
mike00Yes, I didn't think it. thanks15:02
mike00https://drive.google.com/open?id=0B2ohkzUDkoDRbVZYUUJ0S2p4QzA15:04
mike00appdevs, here is a new project I just create. as you can see, the untiled.desktop file as an underscore before _Name=untitled15:06
popeythat _Name seems normal to me15:09
popeyother apps do that15:09
DanChapmanmike00, the _ is for translations.15:13
mike00ah thanks15:14
mike00but when I try to execute on the phone that project it says there is no desktop file...15:14
mike00appdevs, how can I do? there is the desktop file and on the pc the app run perfectly, but not on the phone...15:19
mike00appdevs: I copy the desktop file in build-untiled-Ubuntu_Device_GCC_armhf_ubuntu_sdk_15_04_vivid-Debug/untiled and now I can run the project on the phone. I don't think that's the right way to run the app..15:24
popeystrange15:24
popeymaybe bzoltan or zbenjamin can help?15:24
bzoltanmike00: I can help... but let me first figure out few things about your setup15:25
bzoltanmike00: 1) apt-cache policy ubuntu-sdk-ide15:26
bzoltanmike00: 2) what is the selected Kit15:26
mike00bzoltan: what can I tell you of the output?15:26
mike00http://pastebin.ubuntu.com/17145365/ the output of apt-cache policy ubuntu-sdk-ide15:27
bzoltanmike00:  3) what is the project type? cmake, qmake .pro or qmlproject?15:28
mike00bzoltan: qmake. I preffered qmlproject but it isn't supported...15:28
bzoltanmike00: 1) you have the right IDE installed :) first checkbox checked15:28
mike00bzoltan: I use Ubuntu Device (GCC armhf-ubuntu-sdk-15.04-vivid)15:29
mike00I reinstalled today the SDK...15:29
mike00bzoltan: the kit I use was created automatically when I connected the phone the first time...15:35
bzoltanmike00: That is fine15:36
mike00ok15:37
bzoltanmike00:  and you have the device plugged in, right?15:37
mike00yes15:37
bzoltanmike00:  and you have opened a template?15:37
mike00template?15:38
mike00sorry I didn't understand15:38
mike00I have the ubuntu SDK opened with a project opened15:42
bzoltanmike00:  I see the project... it is a clean template project you have created from the IDE. Is that correct?15:43
mike00bzoltan: what do you mean with template? I'm not English so I can't understand some things...15:43
mike00yeah. I create the project and then I published it, without editing it15:44
bzoltanmike00:  i am not English eaither :) no worries. So you have created the project with the IDE, right?15:44
mike00bzoltan: yes15:44
bzoltanmike00:  okey15:45
mike00bzoltan: but it isn't a big problem if I have to copy the desktop file. the  biggest problem is that the link to image that works on the pc, doesn't work on the phone: so I can't see images15:47
bzoltanmike00:  the desktop file should be placed by the build and package creation15:49
bzoltanmike00:  what image you do not see?15:49
mike00bzoltan: not in this project15:50
bzoltanmike00:  If you add a file to the project you need to make sure that the file is listed in the .pro15:50
bzoltanmike00:  like15:51
bzoltanCONF_FILES +=  untitled.apparmor \15:51
bzoltan               untitled.png15:51
mike00I didn't know it15:51
mike00bzoltan: where should I write it?15:51
bzoltanmike00:  open the .pro in the IDE and simple add the image file to the list15:52
mike00which list?15:53
bzoltanmike00: http://pastebin.ubuntu.com/17146084/15:53
bzoltanmike00:  hold on... correction comes :)15:54
mike00bzoltan: ok. I was looking into the wrong .pro file...15:54
bzoltanmike00:  like this http://pastebin.ubuntu.com/17146125/15:54
mike00Thanks very much bzoltan !!!15:55
mike00bzoltan but Now I have another problem with another project: when I click "run" on the sdk to run the project on the phone, the phone seems restart the system and the project isn't executed15:58
mike00https://drive.google.com/open?id=0B2ohkzUDkoDRVnZWeU1LRkhmeUE15:58
mike00bzoltan: i get this in the application output http://pastebin.ubuntu.com/17146309/16:01
mike00when the output arrive at "Sdk-Launcher> Communication directory: /home/phablet/.local/share/school.mymike/" on the phone appears the screen when it is switching on (the word ubuntu with the 5 points)16:02
bzoltanmike00:  Wow... that is a bug in the shell16:03
bzoltanmike00:  is that project what you uploaded?16:03
mike00it happend with both the projects16:04
mike00the untiled project was only an example16:05
mike00but I'm working on the school project, bzoltan16:06
mike00When I started working this afternoon I can execute the apps perfectly (copying the desktop file) but it's only now that the phone has started restarting itself, bzoltan16:07
bzoltanmike00:  let me check that app16:08
mike00ok16:09
bzoltanmike00:  I could start the application without problem.  But I am on a fairly new release of the Ubuntu touch16:11
bzoltanmike00:  I would suggest to update the phone and reboot. No idea what the trouble is. I am sorry for your experience16:11
mike00bzoltan: how can I update the phone? I have OTA 1116:13
mike00and I tried restarting the phone16:13
aldrogmike00, I had similar problem, solved by changing _Name to just Name in .desktop file16:14
aldrognot sure why it happened and what is the proper solution16:14
aldrogbut it worked16:14
mike00thanks aldrog, I'll try16:15
mike00It works. thanks very much aldrog16:16
aldrogmike00, np :)16:20
mike00:-)16:21
mike00thanks to all (in particular aldrog and bzoltan). now my app work well with images :)16:27
=== salem_ is now known as _salem
dpmpopey, quick question if you're around: do we have a fat package of Terminal, so that it can be installed on the unity8 desktop via the apps scope?18:24
dpm(if you're still around)18:25
dpmnm, I figured it out looking at the store: it seems we dropped the multi-arch package in the last 2 uploads, but the older click with amd64/x86 build should be available for desktop systems18:33

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