=== X_o is now known as Guest46513 [03:06] error: QtGui/QMainWindow: No such file or directory #include <--I have this error. How can I install this library ?? Sorry I'm rookie [03:06] Guest46513, is this an include? [03:06] #include [03:06] ? [03:07] yes [03:07] Guest46513, what version of ubuntu you running? [03:07] 14.10 [03:07] Guest46513, upgraded or newly installed? [03:08] newly [03:08] okay... and its ubuntu [03:08] not lubuntu [03:08] or edubuntu [03:08] or xubuntu [03:08] ubuntu [03:08] okay [03:08] if thats the case... sec [03:09] okay..!! [03:09] Guest46513, take out the slash [03:09] #include [03:09] okay [03:10] Guest46513, you shouldnt need QMainWindow. [03:10] Guest46513, speaking of which; what are you trying to develop? [03:10] Guest46513, or are you just practicing? [03:11] ./Videos/Qt-prog/q/mainwindow.h:7: error: QtGui: No such file or directory #include ^ [03:12] Guest46513, have you done something to muck up your qt libraries? [03:12] ./Videos/Qt-prog/q/main.cpp:2: error: QApplication: No such file or directory #include ^ [03:13] pastebin your header file. [03:13] or whatever file this is on [03:13] #ifndef MAINWINDOW_H #define MAINWINDOW_H #if QT_VERSION >= 0x050000 #include #else //#include #endif namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); protected: void changeEvent(QEvent *e); private: Ui::MainWindow *ui; }; #endif // MAINWINDOW_H [03:14] Guest46513, thats not pastebin [03:14] #include "mainwindow.h" #include int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; w.show(); return a.exec(); } [03:14] oh, sorry [03:14] on the left, there is a pastebin button [03:15] np [03:15] we were all newbies at one point. [03:17] http://pastebin.com/yRs7w541 << that is mainwindow.cpp [03:18] okay lets see the header [03:19] http://pastebin.com/SMaCb6ea <<-- mainwindow.h [03:19] By the way; do you know c++? [03:20] something not that much [03:20] Guest46513, you are using the sdk right? [03:21] yes [03:21] Guest46513, http://i.imgur.com/lNNHVtP.png [03:22] future reference, that is where the better pastebin is. [03:22] Guest46513, are you trying to write a program here? [03:22] Guest46513, what program are you trying to write? [03:22] Is this supposed to be for ubuntu touch? [03:23] show a message hello world [03:23] Guest46513, okay :) [03:23] Guest46513, that is easy [03:23] #include [03:23] ui->pushButton->setText("Hello")l [03:23] ui->pushButton->setText("Hello"); [03:23] qDebug() << "Hello world" [03:24] ah you are building a UI. [03:24] are you following a tutorial from Bucky or Void realms? [03:24] yes [03:24] Guest46513, who? Bucky? [03:24] voidrealm [03:24] ah [03:24] Voidy; very good [03:25] Guest46513, and your goal is to develop what ultimately? [03:25] I like the way explaint in that tutorial [03:26] The reason I ask, is because if you want to develop for the phone, you should learn qml first, and qt second. [03:27] not, at this time I just want to develop a program for BBB [03:27] BBB? [03:27] better business bureau? [03:27] Beaglebone black [03:27] * AkivaAvraham looks that up [03:28] no, lol [03:28] raspberry pie sort of thing? [03:29] Guest46513, Let me ask you a c++ question... If you don't know it, then I can save you some headaches. [03:29] Guest46513, what's the stack, and what's the heap? [03:30] I know as guru but I can works with classes and variables [03:30] what? [03:30] I dont know as a guru [03:30] okay [03:30] Guest46513, this isn't a guru sort of thing when working with c++ [03:30] a little bit [03:31] :\ [03:31] Guest46513, easier question, What is & for? [03:31] Guest46513, trust me on this; I tried learning qt from scratch. [03:31] I want to learn qt I like it [03:31] address= & [03:31] good :) [03:31] :) [03:32] Whats does dereference mean? [03:32] What* [03:32] hold on let me thing [03:33] referr to a character [03:33] referr to a characters [03:33] mmmm nope [03:34] it takes the address, and grabs the object it points to. [03:34] so if int* x = new int(1); [03:35] x would equal the address to the new integer, that was created on the heap. [03:35] I know "new" was involved [03:35] so x wouldn't return an object, just the address. [03:36] you would go *x, and that would dereference the address, and return you the object. [03:36] Guest46513, anyways; I have the perfect thing for you [03:36] http://www.reddit.com/r/UbuntuAppDev/comments/2qy5ko/guide_for_new_ubuntu_developers/ [03:36] at the bottom of this tutorial I am making, I provide a link [03:37] to a guide that you can get for free, that teaches you "C++ the Qt Way" [03:37] so you learn Qt and C++ at the same time [03:37] instead of having to learn C++ with a bunch of standard libs, and then Qt by itself. [03:38] Guest46513, https://drive.google.com/file/d/0B2XdRsCSWUwWaFhIOFJCX0V5YVE/view is a version you can download from my google drive. [03:39] one question [03:39] Guest46513, sure === chihchun_afk is now known as chihchun [03:39] How can I fix that problem ?? [03:40] Guest46513, I don't know. It looks like you have messed up your qt libraries, or that you are following an obsolete tutorial from void [03:40] he works with Qt4, and you are on Qt5 [03:41] Guest46513, in any case, I can guarantee you, just given the fact that I am self taught c++ and qt, [03:42] if you do not go through the instruction manual I gave you, and just stick to Void Realms or Bucky Roberts, you are not going to learn it properly [03:43] mainly, you will not be able to understand the documentation provided by Qt. [03:43] Guest46513, I think Void Realms is best when you want a demonstration on how to use a Qt Class, as he covers most of them. [03:44] to fix that problem I have to install a library? [03:44] But you have to remember; he is assuming a ton, A TON of C++ knowledge, when he takes you through that. [03:45] Guest46513, You shouldn't have to... [03:45] lol...!! [03:46] Guest46513, hmmm? [03:47] I want to follow voidrealms tutorial but with that error I can't do it [03:49] Guest46513, you can try bucky as well, but you seriously, need to learn C++ or you will be spinning your wheels for months. [03:51] Guest46513, Like, I made the mistake of trying to learn Qt through Void Realms without learning C++; it was a huge waste of time. The best tutorial is the one from ICS that teaches you Qt and C++ at the same time. [03:58] AkivaAvraham: can I uninstall qt and re-install [03:58] ?? [03:59] Guest46513, is this a fresh ubuntu install? [03:59] yes [03:59] You shouldnt need to do anything unless you really screwed soemthing up [03:59] reinstalling Qt I don't think will help. [04:00] :( [04:00] You can try installing qt4 [04:00] but then you are learning to use an old library. [04:01] Guest46513, why not try to build a qml app? [04:01] that would be a better starting point if you just want to build a gui [04:02] Im installing qt4 [04:02] QML was designed specifically to make qt apps quicker. That is what Most of Ubuntu uses these days ... [04:02] okay. :P [04:03] if I can't fix it I will format my computer :S [04:03] to fix that problem [04:03] Guest46513, I think the tutorial is just old [04:03] qt witn C++? [04:03] I know qt4 uses an import not used in qt5 [04:04] Guest46513, no, voidrealms [04:04] Guest46513, are you going to use the documentation I suggested to you? "Learn c++ the Qt way"? [04:05] I tried make a program by default and the program show the same error [04:05] yes [04:05] cool [04:06] that tutorial use qt5 or qt4? [04:06] I'm a bit tired now, almost asleep... [04:06] okay, thx dude [04:06] it was written for qt4, but the stuff you learn off the bat is synonymous with both [04:07] but if you get teamviewer, I can check it out for you [04:07] ok [04:07] you make it sound like you have a borked installation, or you havent set up your runtime properly [04:08] runtime properly << do you have any info for that ? [04:08] build environment I mean. [04:08] okay === chihchun is now known as chihchun_afk [08:29] good morning [08:30] good morning [10:37] mhall119: do you recall who wrote the content hub docs on developer.u.c? I just saw https://bugs.launchpad.net/developer-ubuntu-com/+bug/1407753 and wondered who to ping about it [10:37] Good morning all; happy Apple Tree Day! :-) [10:37] Launchpad bug 1407753 in Ubuntu App Developer site "Content Hub documentation is missing various pieces" [Undecided,New] === _salem is now known as salem_ [11:13] davidcalle, did we decide what to do with the cookbook section(s)? [11:14] dholbach, not really, afaik. But I think we should fix what we have on the site, it's a few links, and decide after. [11:15] davidcalle, so remove cookbook links for now? [11:15] dholbach, no, fixing them :) [11:15] ah ok [11:15] are you working on that now? [11:15] (I saw you had the bug assigned to yourself) [11:15] dholbach, what do you think ? (I'm happy with both solutions) and I don't mind doing it [11:16] we should probably have a chat with mhall119 [11:17] I could imagine that in the future we would hook up the djangosnippets instance with the developer site [11:17] dholbach, ok. On a related note, we should find a design pattern (a box probably) to hook up askubuntu links and snippets in articles. [11:20] yeah, that'd be nice [12:01] gcollura: hello [12:02] t1mp, hi :) [12:02] I just noticed https://code.launchpad.net/~gcollura/ubuntu-ui-toolkit/fix-1341814-and-1400297/+merge/245552 when I was going to start to figure out how to fix those bugs [12:02] awesome that you worked on it :) [12:02] t1mp, :D [12:03] the diff in that MR however shows some unrelated changes to the .po files [12:03] t1mp, I know, that's because I had to re-propose the branch targetting /staging this time [12:04] because my branch was based off trunk, sorry, if you want I can rebase everything [12:11] gcollura: give me a few minutes and I'll get back to you, I'm in a short meeting now [12:11] yeah sure t1mp :) [12:25] I'm back [12:25] gcollura: yes, please rebase it from staging [12:30] t1mp, sure, give me a second :) [12:31] gcollura: awesome :) I also left two small suggestions for improvements as comments on https://code.launchpad.net/~gcollura/ubuntu-ui-toolkit/fix-1341814-and-1400297/+merge/24555 [12:32] great idea, t1mp thanks for your review :) [12:39] t1mp, done https://code.launchpad.net/~gcollura/ubuntu-ui-toolkit/staging-fix-1341814-and-1400297/+merge/245645 [12:57] gcollura: I top-approved https://code.launchpad.net/~gcollura/ubuntu-ui-toolkit/staging-fix-1341814-and-1400297/+merge/245645 [12:58] gcollura: thanks again :) if all goes will it will land in staging automatically today. [12:59] thanks t1mp :D [13:03] dholbach, hi, are cpp docs missing from developer.u.c? [13:04] jgdx, what are you looking for? [13:05] jgdx, I don't think we ever went into much detail regarding C++ Qt app development - the scopes docs talk about C++ though [13:05] but maybe you can explain what specifically you were looking for [13:05] dbarth, that's it—was looking for /api/devel/ubuntu-14.10/cplusplus/connectivity-api/ [13:05] dholbach, ^ [13:05] ok [13:05] dbarth, tabfail, sorry! [13:06] oh ok [13:07] dholbach, [1] refers to this documentation IIUC [1] https://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Connectivity.index/ [13:08] jgdx, I guess you mean dbarth? [13:10] dholbach, I actually meant you :) [13:11] jgdx, what can I do for you? [13:12] jgdx, everything under /api/ is pulled in from the actual docs in the source itself [13:12] t1mp, do you know if this change can get backported to ubuntu-sdk-14.10? I need this fix in an app [13:12] dholbach, thanks! [13:13] jgdx, you could try to ping pete-woods on #ubuntu-touch about it [13:14] or any of the folks who are listed as committers here: https://code.launchpad.net/~unity-api-team/connectivity-api/trunk.15.04 [13:15] dholbach, right. [13:42] davidcalle, if you run linkchecker again - does it look better now? I think I fixed most of things now [13:43] (apart from some blog entries and the cookbook) [13:43] dholbach, running [13:43] yoohoo [14:01] dholbach, almost perfect, I'm fixing a few missing stuff... and didn't checked zh-cn yet :p [14:01] davidcalle, great - looks like we're finally getting somewhere [14:05] dholbach, indeed. Now, there is only https://developer.ubuntu.com/en/web/api/ubuntu-13-10/ , we have kinda lost the documentation (it wasn't on the API website). I'm going to retrieve it. [14:07] davidcalle, do you know if somebody talked to dbarth about those pieces and where we're going to host them? [14:08] dholbach, no, probably because the project is being replaced by the new webapps. It won't be updated anymore. [14:09] I'm wondering if we should drop it already(?) [14:14] dholbach: i'm there [14:15] we're keeping the 13.10 documentaiton for reference, as the last supported release [14:15] however i felt there was not much point in making a 14.04 version, knowing that tihngs would change within the 5 years of the LTS cycle [14:16] dbarth, 13.10 is not supported anymore [14:16] ie, the apis are there as-is, but we'd like to be able to upate the APIs once we fully understand how they fit into the desktop convergence scenario [14:16] ah [14:17] well, i'd still keep the documentation around; i updated the text to clarify that it was desktop only, and mostly there as a reference [14:17] unless it is a major pain to support the doc from a site structure or package pov [14:18] dbarth, we moved to a new infrastructure and it looks like the page was not moved over, but something else referred to it [14:19] davidcalle, right? ^ [14:21] dholbach, dbarth, right. The branch is at https://code.launchpad.net/webapps-documentation and we would need to host it somewhere (or port the content). [14:23] maybe I'm missing something, but if we don't support it any more, it would likely confuse developers, no? [14:25] dholbach: that's a point [14:25] dholbach: could we then also remove the cookbook questions? or filter them out in the web section ? [14:26] dbarth, so the content in https://developer.ubuntu.com/en/web/cookbook/ is stale as well? [14:26] yes, refers to the destkop webapp integration afaict [14:27] i could provide the videos from our last online workshop as a substitute for the cookbook content [14:27] davidcalle, ^ shall we unpublish https://developer.ubuntu.com/en/web/cookbook/ for now then? [14:28] also if you can shortcut the tutorials and guides links to just the content, ie without having to go via that short intermediate page? [14:29] dholbach, probably yes. Ok if I unpublish the whole? [14:29] davidcalle: the whole section, yes i think so [14:29] ie the whole cookbook section [14:30] dbarth, and API right? [14:30] dbarth, https://developer.ubuntu.com/en/web/api/ [14:30] davidcalle: yes [14:31] dbarth, ok. [14:31] davidcalle: you can also add this link to the tutorials section: https://plus.google.com/events/c3prd0erlagajl8tq9d689q6en4 [14:31] UOS - Ubuntu Webapps & HTML5 Apps Workshop [14:32] and that's the slide deck link for the presentation as well: http://goo.gl/NTdTTy [14:33] dbarth, ok, and I'll move the guide to be only one page, since it covers all aspects. [14:33] coolio, thanks [14:34] dbarth, np [14:34] dholbach, ^ [14:34] davidcalle, brilliant, thanks [14:34] davidcalle, maybe we should leave the other pages as redirects afterwards still? [14:34] just to make sure we don't lose anyone on the way :) [14:35] seo, yes [14:36] dholbach, yep [14:36] or rather avoiding broken links [14:36] yep [14:36] great [14:52] dholbach: most likely kenvandine wrote the content-hub docs [14:52] ok, thanks [15:05] aquarius: ping [15:06] nik90_, pong [15:06] aquarius: I added python-bzrlib as a dependency to the debian control file...are there any other dependecies? [15:06] erm [15:06] Does it require python > 3.0? [15:06] it does not [15:06] because there is no bzrlib for pytohn3 afaict :( [15:07] I blame Barry :) [15:07] ah ok [15:07] so I need to add python2.7 as a dependency [15:07] I even started off writing the thing as python 3, like a good boy [15:07] shouldn't need to -- bzrlib should surely pull it in? [15:07] but I don't know much aboutpackaging dependency stuff [15:07] true [15:08] bzrlib pulls in python-configobj, python2.7, python (>= 2.7.1-0ubuntu2), python (<< 2.8), libc6 (>= 2.14) [15:08] it's All One Script -- doesn't dh_python or whatever it's called work this stuff out for you? [15:08] pkgme did. [15:08] so I guess then python-bzrlib should be sufficient [15:08] I am not sure....I am at a basic level of debian packaging [15:08] sounds plausible to me, but the reason I didn't do the debian packaging is that I don't know anything about it ;) [15:08] ok [15:08] it should work [15:09] so I ain't the guy you wanna ask here. Should be reasonably easy to test that it works though, rihgt? [15:09] yes [15:09] I am doing that now [15:09] nice one [15:15] aquarius: debian packaging done -> https://code.launchpad.net/~nik90/component-store/fix-debian-packaging/+merge/245661 [15:16] aquarius: so when you branch lands in trunk, I will push out an update to the PPA (trusty, utopic and vivid) [15:16] s/you/your [15:17] ay [15:17] yay [15:17] nice one === charles_ is now known as charles [15:28] gcollura: no, the new stuff is only for vivid [15:28] bzoltan: ^we don't backport to utopic right? [15:28] t1mp, :/ ok then [15:29] gcollura: unless you can get someone to mark this as rtm critical [15:31] t1mp: not the UITK... only the tools [15:31] bzoltan: ok. It was about this fix, https://code.launchpad.net/~gcollura/ubuntu-ui-toolkit/staging-fix-1341814-and-1400297/+merge/245645 which is UITK [15:42] t1mp: yes, I have seen that MR. It is good, but obviously it is for Vivid only [15:55] gcollura: it is ugly, but maybe you can set your Page.config.contents.parent to null when your Page.active becomes false [15:55] as a workaround for vivid [15:57] t1mp, it's not enough, because that patch also fix the bug 1400297 [15:57] bug 1400297 in ubuntu-ui-toolkit (Ubuntu) "PageHeadState doens't correctly update head.contents" [Undecided,New] https://launchpad.net/bugs/1400297 [16:06] mhall119, who takes care of the Ubuntu membership certificates ? [16:07] mhall119, I requested the certificate in 2013, never received it. [16:08] gcollura: oh, pity. [16:09] gcollura: working around that is more work (maybe by having a single contents Item of which the contents is updated by the app, and setting the back action depending on whether you are in search mode or default mode).. [16:09] gcollura: eventually devices should switch to vivid, but that is not going to happen very soon [16:10] hmm [16:10] gcollura: I wonder if you can add a MyPageHeadState that inherits PageHeadState, and then use MyPageHeadState instead to define the states [16:11] gcollura: ^ to your app code (without changing uitk in utopic) [16:19] t1mp, maybe I could add a Connections { target: page.head; onContentsChanged: { } } [16:22] hey, can anyone here help me write and run auto-pilot tests? [16:26] I get this error, and don't know what to make of it: [16:26] NotImplementedError: On desktop we can't install click packages yet, so we can only run from source. [16:26] balloons, ^ ? [16:27] rickspencer3, where do you see that? [16:28] beuno do you know what the status is of the online store for the apps ? [16:29] balloons, when I do "sh run" on the run file created in the autopilot test directory that was created when I created my project [16:30] rickspencer3, ahh. I would invoke ap directly; let's look at the run file. just a sec [16:34] balloons, I'm not certain what you mean [16:34] I get the same thing if I just do: autopilot run FaireDesCourses [16:34] if that's what you meant [16:34] rickspencer3, i recreated your error, so i see what you mean [16:35] the __init__.py file handles the setup and ll=aunch. it's not seeing the source. clearly a bug in the template [16:38] rickspencer3, let's fix your file however [16:38] balloons, I changed _get_app_qml_source_path(self): to return the hard coded path the main.qml and it worked [16:39] of course, not too useful if someone wants to branch the code, but at least I am in business :) [16:39] balloons, so, the web page with the autopilot docs if offline, is there somewhere else I can find the docs? [16:39] right. the file isn't following best practice [16:39] rickspencer3, yea i know. there's an rt for it :-( [16:40] balloons, where else can I find the docs? [16:40] rickspencer3, this is older but should serve you well enough [16:40] http://unity.ubuntu.com/autopilot/ [16:40] thanks balloons [16:40] justCarakas, WIP, no release date yet, but not too far off [16:43] * balloons looks for template updating bug [16:45] balloons, it wold be sweet to have that auto-pilot doc available as a pdf [16:46] it's built with sphinx.. i wonder if we can set that as an output too [16:47] if not, there is probably a simple tool that will convert html to pdf [16:47] balloons, ooh, or epub might be even nicer! [16:49] right.. i guess we could publish all those. i'll file a bug to add them [16:50] rickspencer3, what template do you normally use for new projects [16:50] Ubuntu -> Simple [16:51] not simple (qmake?) [16:53] balloons, yes, it's App with Simple UI (QMake) [16:58] balloons, so, I want to do page object pattern [16:58] any hints on how to do that with qml? [16:58] i.e. how do I call a function on the page in qml from the test? [16:58] rickspencer3, we have an article on it on d.u.c [16:59] balloons, http://developer.ubuntu.com/en/apps/platform/guides/acceptance-testing-using-the-page-object-model/ [16:59] ? [16:59] yes. does it help? [17:00] balloons, I guess so [17:00] you can't reference a qml function durectly from ap. that's too low level. ap tests should be user stories,user interaction [17:00] I assumed that I would write the functions in teh qml [17:00] you can test at that level in qml [17:00] but it looks like I write a wrapper function in the test [17:00] and call that [17:00] om26er: you're not the only one, I'll find out who's responsible now that jono's left [17:02] justCarakas, you might like appstore.bhdouglass.com until an "official" store comes alone [17:03] obviously not :) [17:03] aquarius, oO [17:09] rickspencer3, many of the core apps follow the model well and follow best practices for setup, etc. you can sneak a peek at them [17:09] balloons, which one is the easiest to understand, and can you paste me a link? [17:12] balloons, do you know how I am supposed to use autopilot to click on an action button? seems objectName does not work for it :/ [17:13] rickspencer3, lp:ubuntu-calculator-app and lp:ubuntu-calendar-app [17:13] calc is easy app, and more or less gets it right [17:14] rickspencer3, there is a helper for many of the uitk elements [17:14] the docs for that is offline too, linked for d.u.c. the local copy on your machine isn't in html sadly [17:16] rickspencer3, syntax is like this [17:16] header = self.get_header() [17:16] header.click_action_button('objectname') [17:16] ah [17:17] rickspencer3, you'll want to clone the setup of one of the core apps or otherwise import ubuntuuitoolkit to get the helpers [17:17] balloons, where is get_header implemented? [17:17] lp:ubuntu-calculator-app [17:17] oops [17:18] AttributeError: 'MainViewTestCase' object has no attribute 'get_header' [17:18] rickspencer3, import ubuntuuitoolkit [17:18] inside calc, look at it's helpers [17:18] __init__.py [17:18] one does the setup work, the other is the helper definitions [17:19] it has class objects and useful functions [17:20] balloons, can you link me to the specific file that you mean in lp? [17:20] rickspencer3, yes [17:22] it doesn't seem that the calculator app used "get_header" [17:23] http://bazaar.launchpad.net/~ubuntu-calculator-dev/ubuntu-calculator-app/trunk/view/head:/tests/autopilot/ubuntu_calculator_app/__init__.py [17:25] rickspencer3, if you pull the calc reboot branch, andrea just bootstrapped it so you can see a proper shell with no tests if you wish [17:26] rickspencer3: the get_header method is implement in the MainView page object. [17:26] anyways, the file linked contains what we call helpers for the test suite. it inherits from the uitk helpers [17:26] elopio, so self.get_header() is supposed to work? [17:26] so you would have something like self.app = self.launch_test_app(...) [17:26] because I get this [17:26] AttributeError: 'MainViewTestCase' object has no attribute 'get_header' [17:26] then self.main_view = self.app.select_single(ubuntuuitoolkit.MainView) [17:27] rickspencer3, your testsuite isn't setup in a way that allows you to easily use it [17:27] and then you do self.main_view.get_header() [17:27] balloons, well, I didn't set up the test case! [17:27] yes, elopio has laid it out [17:27] I am using what came with the template [17:27] rickspencer3: but as the templates in qt creator are terribly outdated, I'm not sure what's the state of your code. [17:27] rickspencer3, i know :( i'm filing a bug to fix that [17:27] oh geez [17:27] if you want you can push it and we can take a look. [17:27] elopio, ok [17:28] elopio, lp:~rick-rickspencer3/+junk/fairedescourses/ [17:30] rickspencer3: I see. Give me 15 minutes to remove the ugly parts from your test case. [17:30] probably easiest to just propose a merge to fix it [17:30] not sure what those are, but ok [17:31] elopio, rickspencer3 fyi: https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1408042 [17:31] Launchpad bug 1408042 in qtcreator-plugin-ubuntu (Ubuntu) "Template tests don't reflect best practice" [Undecided,New] [17:31] balloons, so, I think someone needs to stay on top of that [17:31] not sure how the sdk team is supposed to find out that the templates are out of date [17:32] ideally, via a test [17:34] rickspencer3: balloons: Now that the templates are stable for various training programmes it is good time to get the template tests in shape. It is in my January plans. [17:34] elopio, so, I think I shall go get some lunch and exercise, so will check when I get back, is that ok, or are you near eod? [17:35] rickspencer3: the day is young. I will send you an email with my diff. [17:35] thanks elopio [17:35] you are a prince among men :) [17:35] np [17:35] I really appreciate the help [17:35] I am keen to post a video showing autopilot working on my app ;) [17:36] :) [17:36] flattery will get you everywhere :) [17:37] and beer. [17:38] elopio, flat beer however wins you no friends === bfiller is now known as bfiller_dentist [17:47] om26er, I am getting this error on jenkins: 15:43:09.172 ERROR content:47 - Could not add content object 'None' due to IO Error: [Errno 13] Permission denied: '/var/log/syslog' [17:47] om26er, could you help me with that? [17:51] balloons: flat beer will get you half the way. [19:38] Is it possible to tweak the background colour of the emulator window? I think it ought to be black, so that when you record videos or take screenshots of it you don't get tiny white corners around the Ubuntu Edge image. [19:38] Also, we'll get a bq skin for it, right? :) [19:42] ooh, /usr/share/ubuntu-emulator/skins. Interesting. Maybe I can do a nicer shot of the edge which doesn't have the horrible artifacts in the image. Although I can't see how to configure the skin that I use; is there a way? === salem_ is now known as _salem [20:00] elopio, not as easy as you were hoping? [20:00] :) [20:01] rickspencer3: https://code.launchpad.net/~elopio/+junk/fairesdescourses/ [20:01] rickspencer3: fixing it was easy: http://bazaar.launchpad.net/~elopio/+junk/fairesdescourses/revision/25 [20:02] huh [20:02] I got a little too far, because I would feel ashamed of that code if you show it around. So the following revisions are what the template should lead you to. [20:03] so if I just try to merge r30, I'm good to go? [20:04] rickspencer3: yes. [20:04] rickspencer3: and if you get stuck while implementing the rest of the test, ping ubuntu-qa and we'll give you a hand. [20:05] btw, the task to prettify the templates is already in our backlog. I think that today it's priority will be bumped a little :) [20:06] elopio, between qmltestrunner and autopilot, we have a really excellent story for developers [20:06] I think we should show it off a lot more [20:07] rickspencer3: I agree. [20:08] balloons: one thing we are missing is a document where we make it clear which tests we want in autopilot and which ones we want in qttest. [20:08] balloons: we don't have that yet, right? [20:08] elopio, cools, seems to be working now [20:08] thanks [20:08] your welcome. === bfiller_dentist is now known as bfiller [20:49] does anyone have the problem with the device always shown as booting in the SDK? [20:52] elopio, hey, so I have a page stack ... main_view.wait_select_single doesn't seem to be able to find anything a page pushed onto the page stack [20:53] elopio, nm [20:53] I didn't use the objectName keyword :) [21:22] hey, does anyone know how to use get_children_by_type ? [21:22] in autopilot? [21:24] rickspencer3: it should be something like: myproxy_obj.get_children_by_type('TextField') [21:28] rickspencer3: it will only select immediate children though [21:29] hmmm [21:31] sergiusens, ping about the emulator skin :) [21:50] veebers do you know I how specify the "typename" for a standard list item? [21:51] is it like: [21:51] list.select_many("Ubuntu.Components.ListItem.Standard") [21:51] ? [21:51] nm, I guess it's [21:51] rickspencer3: just 'Standard' [21:51] list.select_many("Standard") [21:51] weird, but ok :) [22:00] rickspencer3: actually, select_many|select_single(ubuntuuitoolkit.listitems.Standard) [22:01] elopio oh? [22:01] then you will inherit some helpers already implemented, like swipe_to_delete. [22:01] aquarius: are you wanting to use a custom skin? if so you can set it something like ubuntu-emulator run --skin="blah" ... [22:01] elopio, any helpers for CheckBox ? [22:01] rickspencer3: of course. [22:01] DanChapman, I am! how do you know this? :) And... where does it look for skins? only in the system folder? [22:02] rickspencer3: http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_checkbox.py#L27 [22:02] elopio, is there reference somewhere that I can see how to do it? [22:02] select_single(ubuntuuitoolkit.CheckBox) [22:03] rickspencer3: the autopilot tutorial explains how to define and use custom proxy objects. And the toolkit API docs show the existing custom proxy objects that you can use. [22:03] but everything is offline atm. [22:03] hmmm [22:03] ok [22:03] I am making good progress [22:04] elopio: ah nice, thanks for the further info. I really need to get into the UI code to see what extra helpers etc. are all there [22:04] elopio, so, I assume there is a helper in the header to go back? [22:05] rickspencer3: there is :) [22:05] http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_header.py#L94 [22:06] rickspencer3: but better use self.main_view.go_back() [22:06] aquarius i found it by poking around ubuntu-emulator :-) anyway i believe these are the paths it checks http://bazaar.launchpad.net/~phablet-team/goget-ubuntu-touch/trunk/view/head:/ubuntu-emulator/run.go#L49 [22:08] rickspencer3: actually, now that I see it you shouldn't do header.click_action_button(...). You should do self.main_view.click_action_button(...) [22:08] that way if they go crazy again and move the actions to a different place, your test will not have to change. [22:08] oh nice [22:09] by the way .. "they" == "me" [22:09] also, I don't think designers "go crazy" so much as "improve designs" :) [22:09] we should not malign them for doing their jobs! right? [22:09] right... :D [22:13] DanChapman, aha, I can pass it skindir [22:13] DanChapman, I like how all these command line options are totally undocumented ;) [22:15] DanChapman, but now I can make other skins... although I am not the most talented artist. mhall119, it'd be very cool if someone got on to the design team and got a bq emulator skin ready for the phone release. (And a bunch of Ubuntu bq images for publishing screenshots of one's app on websites, too, for similar reasons) [22:16] \o/ my first autopilot test [22:17] o/ [22:17] elopio, no we don't have a doc explaining the difference nicely, but it's on the list for me. sucks i can't type now [22:18] its intended to go on the revamped d.u.c site [22:18] aquarius: probably wouldn't be the design team skinning the emulator [22:18] balloons: we have added a task to our backlog to do autopilot and qttest docs. Maybe you should talk to jfunk to join our team during that sprint, at least partial time. [22:18] that would be awesome. [22:18] elopio, balloons: aye that would be awesome :-) [22:19] mhall119, not expecting a designer to skin the emulator. What's needed is a png of the bq phone at the appropriate size. That's totally a designer job :) Dropping that png into the emulator deb file is not. [22:19] ohh excellebt. a whole sprint for that. [22:19] mhall119, I'd ping one of them myself with the specs for the png file but I don't think I know anyone there who's a visual designer any more :) [22:19] aquarius: right, I'll poke the emulator maintainers to tell design what they need to make it happen [22:20] mhall119, nice one; that's exactly what I was hoping for [22:20] once I figure out who is maintaining the ubuntu-emulator [22:20] then the emulator will look like our new phone [22:20] and not be an Edge with horrible artifacts around the, er, edge [22:20] balloons: well, not a whole sprint. We probably will have to fix the templates and do some other cleaning during those two weeks. [22:21] yes.. but a sprint for cleanup tasks and docs will be nice. i asked for some of those cards [22:23] ubuntu-emulator; this is new... [22:26] elopio, does ap work with scopes? [22:27] rickspencer3: yes, we have some initial helpers in unity to do the basic things, open them, click items, get information. [22:27] groovy [22:27] but some more work is needed. It's in progress as part of the click sccope automation. [22:28] elopio, https://plus.google.com/109101768243927790674/posts/G3ZqXLR7WtN [22:30] rickspencer3: awesome! specially the last sentence :) [22:30] :) [22:34] Cannot install /tmp/com.ubuntu.developer.akiva.classical-music-youtube-dl_0.1_i386.click: Framework "ubuntu-sdk-14.10" not present on system (use --force-missing-framework option to override) [22:34] am I just missing a package? [23:22] What would be the best way to go about getting youtube-dl installed on the ubuntu touch? [23:23] it is a python script through and through so