[01:11] Can you use C++ to develop Ubuntu Phone Apps? === scram is now known as scram|n7 [01:41] sgerbino: yes, C++, Qt, QML [01:41] html5? [01:42] well you can display a web page in QML, so why not [01:43] nOStahl: QML is basically javascript though with its own types defined from C++ [01:43] ah [01:44] I don't see anything about making apps in C++ for Ubuntu Phone [01:44] only 1 tutorial on QML [01:44] is it just the same as normal apps with gtkmm? [01:45] sgerbino: Qt allows you to do whatever C++ you want [01:46] yea but Qt is just the IDE, can Ubuntu Phone run anything I throw at it? Like a gtk+ app in C or gtkmm in C++? [01:47] Qt isn't an IDE, it's a toolkit like gtk [01:47] oh yea sorry [01:47] it's a helper for things like interface, reading files, networking ,etc [01:47] you can use as little or as much of it as you want [01:47] and anything in Qt could be reproduced in C++ [01:48] ok so i can write a gtk+ app and run it on ubuntu phone then? [01:48] well that would require a gtk library, that's not pure C++ [01:49] does Qt library comes with ubuntu phone then? [01:49] yes [01:49] gtk is usually in ubuntu already, like unity and gnome-shell [01:49] probably every app uses it [01:49] yeah they have decided to go with Qt for phone instead [01:50] but when you plug the phone in, doesn't it look normal desktop unity with on top of gtk? [01:50] only for high-end phones that support that feature [01:50] i'm not sure how that's exposed [01:51] so many questions :D [01:52] sad about Qt though, since I been learning gtk so much lately [01:52] thinking it's better working on ubuntu [01:53] unity isn't written in gtk though [01:53] i thought it is based on gtk [01:53] or sits on top of it [01:53] the 2d one is Qt, the 3d one is C+++Vala [01:56] didn't know that, ty [01:57] i find alot of confusing sources on that [01:57] http://askubuntu.com/questions/9877/will-the-new-unity-desktop-be-programmed-in-qt like this guys first response [02:00] sgerbino: it doesnt seem to use gtk in its source code anyway [02:00] sgerbino: same with gnome-shell actually. it has a file that 'embeds gtk' but doesn't actually use gtk in it anywhere that i can see [02:01] it hooks in to gtk settings in the main file [02:02] http://git.gnome.org/browse/gnome-shell/tree/src?h=3.7.2.1-branch [05:35] sgerbino, xsacha, nOStahl: Yes, you can crete apps for the Ubuntu Phone in C++. All the tools and toolkits are at your disposal. Anyhow, it is seriously recommended to use pure QML. The general guideline is this: http://www.mail-archive.com/ubuntu-phone@lists.launchpad.net/msg00140.html [05:36] bzoltan1: i think he mainly wanted to develop the apps in gtk. [05:48] xsacha: When developing the SDK and the native UI Toolkit we focus 100% on QML. So I think the application developers are better off using the technologies what more likely going to be supported and developed. [05:48] yep [06:58] So is mobile Ubuntu OS ready for Google Nexus 4? === sky770_ORIG is now known as sky770 === SkavenXXI-[OFF] is now known as SkavenXXI [09:54] hm. Qt.quit() doesn't actually quit a QML app being run with qmlscene. Do I need to do something different? [09:55] qmlscene doesn't connect the quit signal to the application quit slot. qmlviewer used to do this, qmlscene does not. [09:55] I have attempted to install the Ubuntu Phone SDK in a VirtualBox VM. When I try to run the demo "Currency Converter" app within Qt Creator, I get the error message "Unrecognized OpenGL version", and qmlscene exits after drawing an empty black box. Any ideas about what is going wrong? [09:55] short answer: qmlscene is not a "real" runtime. [09:58] Ken-Young: have you added the virtualbox guest extensions? [09:59] popey, Oh, no I don't think I have. [10:04] chriadam, thanks! so, am I right in thinking that if I'm running my app with qmlscene for testing, there is no way to quit it from inside QML? [10:05] pretty much [10:05] force a segfault, that usually works ;-) [10:09] popey, Sadly, I still get the same error after adding guest extensions and rebooting. [10:09] * aquarius laughs [10:09] chriadam now goes on my "good but dangerous advice" list ;-) [10:09] Ken-Young: you sure they're loaded? [10:09] lsmod | grep vboxvideo [10:09] * chriadam grins [10:11] popey, It appears to be loaded, judging from the lsmod output. [10:12] Ken-Young: if you resize the window, does it redraw the screen at the new resolution? [10:12] poppy, do you mean if I resize the entire VirtualBox window? [10:14] popey, do you mean if I resize the entire VirtualBox window? [10:15] yes [10:16] popey, Yes, resizing the window results in the window being redrawn correctly for the new size. Switching to and from fullscreen mode works properly too. [10:17] ok, so it looks like it could be a bug in qmlscene not recognising that the virtualbox driver is a valid opengl renderer [10:17] Ken-Young: i will test it a little later here and confirm [10:17] popey, Thanks very much for your help! [10:20] Ken-Young: what version of ubuntu are you using in virtualbox? [10:21] popey, Ubuntu precise (12.04.2 LTS) [10:22] ok, just booting up a vbox vm [10:23] popey, I am running a non-PAE kernel, which I guess is nonstandard. [10:30] Ken-Young: on the guest or the host? [10:31] popey, Both. [10:31] 64-bit? [10:31] Nope, 32 but. [10:31] s/but/bit/ === chriadam is now known as chriadam|away [11:05] Ken-Young: you followed the guide at developer.ubuntu.com, right? [11:06] adding PPAs etc [11:07] popey, I followed the installation guide at on that page, but I don't know what a PPA is. [11:08] ok, so you basically pasted all the commands in, yes? starting at http://developer.ubuntu.com/get-started/gomobile/ ? [11:08] dpm: step one on that page adds a ppa but doesn't install anything... [11:09] popey, Yes, I cut-n-pasted those commands, and they seemed to execute properly. [11:10] ok [11:10] popey, One odd think is the guide implies the qt5 executables should have been installed in /opt/qt5, but in fact they ended up in /usr/lib/i386-linux-gnu/qt5 [11:11] s/think/thing/ [11:12] dpm: i assume this is because in the next step, "Install the Ubuntu SDK preview" it pulls stuff in from both PPAs [11:14] popey, yeah, it's intended to be like that, the steps still work. I just learnt on short notice about the packaging changes during the migration to qt5-proper glitch, so I had no time to change the structure of the page. Nowadays, I could just remove the "Install Qt 5" section and have 'sudo apt-get install ubuntu-sdk' (plus PPA instructions). If I make changes to the page, it needs a new theme deployment, but I made the command-lines configurable, so I [11:14] can change them on-the-fly [11:14] ok [11:14] I'll update the step at some point, but right now the instructions work [11:16] yeah ☺ [11:16] Things must have basically worked, because I did a fresh install of Ubuntu just prior to downloading the SDK components, and things like Qt Creator and qmlscene are present, and there's no other way they would have been installed, orhter than with the SDK. [11:21] Ken-Young, yes, we made sure the instructions worked before updating them. Glad to hear it all worked for you too! [11:21] Where we're having a bit of trouble is in the migration to the new PPA [11:22] for those people who installed the sdk on release day and then want to migrate to the new packages after we switched from the Qt 5 beta to the Qt 5 release [11:22] but it seems folks are managing to fix it, nevertheless [11:23] dpm, Everything seems to be installed correctly, but I can't run the demo app, because I get the error message "Unrecognized OpenGL version". [11:24] Ken-Young, did you add the virtualbox guest extensions as suggested? [11:25] dpm, Yes, and I rebooted after that. The problem did not go away. [11:26] Ken-Young, hm, not sure what it could be, then. If no one here can help you figure it out, you might want to file a question on Ask Ubuntu: http://askubuntu.com/questions/ask?tags=mobile,application-development [11:27] dpm, Thanks, I'll do that. [12:01] Will ubuntu phone install on existing phones or will it be only on new phones? [12:01] the touch preview can be installed on existing phones. [12:13] nice [12:33] can any existing phones output 1080p when plugged into hdmi even if their native display is 1280x800 .. [12:33] i know some can do this for video - but is this available to the rendering hardware generally (and hence ubuntu phone) [12:47] dpm: filed bug 1129061 which is what ken-young was talking about earlier.. [12:47] bug 1129061 in Ubuntu UI Toolkit "Applications fail to render under VirtualBox" [Undecided,New] https://launchpad.net/bugs/1129061 [12:47] dunno if it's a vbox, vbox extensions, compiz or qt issue tbh === francisco is now known as Guest5868 [12:52] popey, cool, thanks, added a comment too [12:52] doomlord: Like Note 2 ? [12:53] doomlord: Note 2 has great capabilities, supporting HDMI and USB Host simultaneously [12:53] interesting [12:55] Tons of people have been waiting Ubuntu-Phone :D [12:56] I hope it's as good as expected [13:17] i'm very excited by the prospect! [13:17] i've just been porting some code to android and thinking what is all this java nonsense for [13:18] a phone with a propper OS would be amazing! [13:55] Hello everyone, I am getting a Nexus 4 soon and I am excited by the capability of having it to work as a Ubuntu-Running-PC using the Ubuntu for Android scheme. Anyone have been using it? [13:55] driotinto: there is actually no info on when and how ubuntu4android will be released. [13:55] Oh. Ok. [13:56] k1l_, when is 21st Feb [13:56] k1l_: That is bad news. I hoped to see this early. It seems Canonical is concentrating on Ubuntu for Phone. [13:56] driotinto, k1l_ Ubuntu for phones actually includes Ubuntu for Android [13:57] i know there were some demos (with the motorola atrix which used the motorola webtop stuff) but seems like its in a state of hold until a manufacturer comes into the game [13:57] smartboyhw: yes that is kinda true. it includes a ubuntu for ubuntu to be correct :) [13:57] k1l_: But I don't yet feel like getting rid of my Android OS on phone. I would rather have Android OS running on the phone (for now) and have the option to use the dock to get Ubuntu OS on the big screen. [13:57] but he wants to stay with android and run a ubuntu when docked [13:58] Yes. [13:58] k1l_, it can [13:58] k1l_, oh so he wants android [13:58] It's on the website, http://www.ubuntu.com/devices/android and also you can see it in several youtube videos [13:59] driotinto: yes, that is still in dev-stage [13:59] k1l_: Oh, ok. So I guess waiting is all I can do now. Besides, I'd probably have to buy a suitable dock (and it doesn´t seem it is available commercially yet). [14:00] I hope Ubuntu4Android development is not spoiled by Ubuntu4Phone development. [14:01] Another question, is the Ubuntu for Phone going to be able to run Android applications from Google Play? I am not expecting it, and this is actually the main reason why I am not willing to give up Android right away... [14:02] 13:56:58 < smartboyhw> driotinto, k1l_ Ubuntu for phones actually includes Ubuntu for Android [14:02] thats not true [14:09] Anyway, thanks for wveryone's help. I´ll be monitoring the website for more info on the Ubuntu4Android! [14:10] i dont think android apps will work on ubuntu-phone [14:12] k1l_: That is what I thought... === nOStahl_ is now known as nOStahl === XenGi_ is now known as XenGi === ckpringle_ is now known as ckpringle === rsalveti_ is now known as rsalveti [16:18] anyone know if the ubuntu phone alpha release is going to include ubuntu desktop mode support? specifically with the nexus 4 [16:19] if so I'm going to buy a nexus 4 to try it out [16:20] I see this in the FAQ: When the phone is docked to a screen you should be able to use the full desktop applications. When they are on the small screen they would need a QML display which might be part of the same application. [16:20] which sounds good but what does "should be able" mean? :) [16:23] nbf: the nexus 4 doesn't have a dock, does it? [16:23] it has usb and a slimport (which is basically a displayport, hdmi, vga, etc) [16:24] I'm really hoping the slimport -> displayport adapter comes out soon [16:24] analogix has pictures of it in their docs but I can only find hdmi and vga adapters online [16:31] nbf: i don't know anything but someone said something about hardware support for the dual mode === ckpringle_ is now known as ckpringle [16:58] tick tock, tablet time === XenGi is now known as XenGi_ [18:01] #Lesenswert: #Microsoft #Office 2013 PC-Bindung in D? #PCWelt http://bit.ly/W61btG; #Golem http://bit.ly/W61ip3; #Heise http://bit.ly/W61kx7 [18:06] Sorry, wrong window ^^; === SkavenXXI is now known as SkavenXXI-[OFF] === francisco is now known as Guest44847 [19:05] What is this "Tick Tock Tablet" time on ubuntu.com? [19:10] check on #ubuntu-tablet [19:35] hi [19:35] i'm new to ubuntu phone dev [19:36] wanted to ask how large the required files to start are :) [19:40] required files? [19:44] yes, Qt SDK. i'm on a limited internet plan, need to know how big the files are [19:45] You could consult apt-cache for that. :) [19:46] ciphoenix: local library and coffee shops alleviate limited data plans :) [19:47] Qt sdk full download is ~ 400MB, but that's easily looked up online [19:48] ciphoenix: apt-get install should tell you the download size [19:53] mainerror: thanks [19:54] nOStahl: i'm from Nigeria. such WIFI hotspots aren't commonplace yet :) [19:54] darthmuffins: thanks :) [19:55] np! [19:58] ciphoenix: check your private message === XenGi_ is now known as XenGi [20:46] wow oh wow, have you guys seen this new filesystem for flash from samsung? It outperforms ext4 on nearly every test! [20:47] btrfs as well, considering that it for some reason, still is worse than ext4 [20:48] http://www.phoronix.com/scan.php?page=article&item=linux_f2fs_benchmarks&num=1 [20:48] I am frankly amazed at how good it performs [20:50] i mean look at dbench; it is 3 TIMES FASTER THAN EXT4 [20:50] I am wondering now if perhaps ubuntu-phone is thinking of shipping with it. [20:51] well actually, looking at it now, it fails enough in other benchmarks to equal it out [20:58] heard about it [20:59] shows some promise [21:08] Tizen might use it :) [21:09] But for a filesystem, I think it might be quite hazardous to use such new tech without very radical and obvious advantages [21:14] I hope they call the new flash file system FFS :P [21:34] Akiva-Vagabond forgets to say that F2FS doesn't really sync to disk when requested too :p [21:34] s/too/to/ [22:43] nOStahl: hah, that'd be an awesome acronym. [22:44] lol === highvoltage is now known as hv-onlogged [23:53] hi guys [23:53] when is the phone stuff coming out? [23:53] 16 hours? [23:54] phone stuff was mentioned for the 21st [23:54] where? [23:54] :O [23:54] oh yeah [23:54] haha [23:54] mattwj2002: one shall read the topic ;p [23:54] I saw that sorry! [23:55] *face palm* [23:55] k1l: can you tell me any more about the tablet? [23:56] nope [23:56] :P [23:56] okay [23:56] bye!