[03:58] hey guys I have a problem with QT 5.4 qml sample HelloWorld [03:59] http://pastebin.com/fEmAPcdK [03:59] the menu items only show once [03:59] can't bring them up again [04:00] learner, hey [04:00] let me take a look [04:00] thanks [04:01] learner, btw; what are you developing for / with? [04:01] learner, The ubuntu sdk is an ide for both qml, qt, and c++ [04:01] Qt creator that came with Qt 5.4 [04:02] learner, are you on linux? [04:02] I'm just learning qt after a few years of not having used it [04:02] last time i used it it was 2004 [04:02] learner, ah cool [04:02] yes i'm on ubuntu [04:02] learner, did you learn c++? [04:02] learner, ah great! [04:02] learner, for a better hello world example, download the ubuntu SDK [04:03] Ubuntu uses QML by default now, so I think its templates are more developed than Qt's QtQuick ones. [04:03] yes AkivaAvraham I used to use qt all the time till 2004, then i started working with ada and primarily developed with ada so I haven't used it for a long time and a lot has changed [04:03] learner, so then you understand all the ins and outs of c++, memory management, and all that jazz? [04:04] ok that's lovely, I just want to know why these menu items are behaving this way, and i'm more than willing to use another development ide [04:04] yes AkivaAvraham [04:04] learner, its the same ide, but with ubuntu plugins [04:04] ok do i apt-get install them? [04:04] :) The only reason I asked, is that there is a great manual for teaching c++ and QT at the same time. I recomend it to newbies, of which you are not :D [04:04] yah sorry ! lol, leg me grab it for you [04:05] are you on 14.04? [04:05] yes [04:05] okay cool beans [04:05] learner, sudo add-apt-repository ppa:ubuntu-sdk-team/ppa [04:06] learner, sudo apt-get update && sudo apt-get install ubuntu-sdk [04:06] That should be it. Alternatively, you could grab 15.04, or 14.10, but you'll need the ppa still [04:06] erm, I think [04:07] learner, also the great thing about the ubuntu sdk, is that we have testing built in, that you can program in python [04:07] i'd rather stay on 14.04 until 16.04 comes if possible\ [04:07] learner, +1 :D [04:08] okay ping me when you got that jazz all ready [04:08] will do thanks AkivaAvraham [04:34] !ping [04:34] pong! [04:36] AkivaAvraham, it's done installing [04:37] okay [04:37] learner, i'm on low battery, but i'll be back on in 40 minutes or so. [04:38] ok np [04:38] alright so lets start [04:38] learner, create a new template [04:38] choose from one of the ubuntu options. [04:39] learner, there are two types of templates, and one of them is handled by CMake, which allows you to use Qt and C++. [04:39] If you are planning pure qml though; that isn't neccessary. [04:40] no i'm doing a c++ project [04:41] going to write a webserver + web contents + APIs [04:41] learner,but you want QML though, right? [04:41] yes [04:41] okay then [04:41] one sec [04:41] I want multiple representations [04:42] so i'll have these interfaces that will be implemented differently [04:42] the web interfaces will display using html, and desktop/mobile interfaces using qml [04:42] learner, okay, go new file or project > Ubuntu > "App with QML Extension Library" [04:43] learner, well you can program this in html5 btw [04:43] one sec, it's still building ubuntu env [04:43] oh? [04:43] what about the server? [04:43] although I'm not an html5 guy. [04:43] i'd rather use c++ wherever possible [04:43] learner, i'm the wrong guy to ask [04:43] it's a more solid ground for me [04:43] Alrighty~ [04:44] i've done python too, and i'm tired of django, and the whole bs of tiny projects that don't work in different versions [04:44] also I will be using BDD [04:44] For QML, and Qt, the only things that you may need to know, beyond getting used to the extremely wonderful qt library [04:45] are the preprocessor macros that allow you to inteface [04:45] ok, have they changed a lot? [04:45] i'm guessing they have [04:45] learner, no clue, but the template will handle it for you [04:46] the only one you will be writing yourself is probably Q_INVOKABLE [04:46] ie, you can "Invoke" the c++ function in qml [04:47] ok some sort of IoC then [04:47] learner, oh btw; because you are using this library, there is a good chance that this app will just work on ubuntu phone. [04:48] wouldnt that be cool :) [04:48] that'd be a lovely plus [04:48] i'd be happy if it'd work on android as well [04:48] will make my life much easier [04:49] I think i'll develop the windows and mac versions using html5 [04:49] learner, for debugging, #include and and use qDebug() << stuff; [04:49] but if i can do the android and linux versions using qt creator and cpp i'd die a happy man [04:49] is there a BDD for Qt as well [04:50] BDD? [04:50] behavior driven development aka gherkin [04:50] like igloo [04:50] Probably, but I don't know. [04:51] learner, oh you mean for testing? [04:51] yes [04:51] TDD/BDD [04:51] learner, yah ubuntu touch has something called autopilot3 [04:51] you write the tests in python, [04:51] ok [04:51] it comes bundled with the projects [04:52] it uses pyqt? [04:52] learner, no; just python afaik. [04:52] ok [04:52] good [04:52] cause i hear bad things about pyqt [04:52] it has memory leak problems [04:52] learner, it will do things like, "Move mouse to this button, click it" [04:52] nice [04:53] something like selenium [04:53] learner, ive decided that python is not a programming language for me :) Scripting, yes, but I am actually more inclined to use qml these days to write quick apps. [04:54] AkivaAvraham, yeah i don't like interpreted languages anymore [04:54] i've done ruby, perl, and python [04:54] it's very shaky [04:55] learner, python was a good starting language though. [04:55] and the break of py2 to py3 really messed me up [04:55] i have apps on django, that i can't test anymore [04:55] learner, them intentionally breaking print was... why? [04:55] cause the TDD/BDD app, lettuce, only supports python 2.6 and 2.7 [04:55] and django 1.72 is py3 only [04:55] It really is remarkeable how python3 is still in limbo [04:56] yeah [04:56] they didn't have a good roadmap [04:56] like i like py3 and all [04:56] but it's kinda like they didn't have a good idea what they were gonna do to shift apps up [04:57] and you have these tiny agile project that release minor changes that end up being huge changes every 2 weeks [04:57] learner, yep. [04:57] and then all of a sudden one project using one tiny version another, another [04:57] and you get into library hell [04:57] learner, although I must say, my favourite web app was powered by python. [04:58] you can't use this module cause it becomes incompatible with that one [04:58] Heh. [04:58] working on python for me, is playing counterstrike [04:58] learner, oh btw, ubuntu has a new packaging type. [04:58] you're getting shot at from left and right [04:59] oh? [04:59] do tell [04:59] learner, yah it is called Click Packages. [04:59] They are standalone, and they created them because they tried with deb [04:59] but as I understand it, could not get it to have the security features they desired [05:00] so with click, they are basically standalone. [05:01] so if I want to execute python code, I need to bundle an interpreter in my code [05:01] So very good on security :) [05:03] so you have full sandboxing? [05:04] learner, ah that is the proper term; thanks [05:04] learner, they use apparmor, so you give yourself permissions [05:04] learner, and while using the phone, say if something wants access to your personal info, afaik, it prompts you on the fly [05:04] they should probably use fail2ban, apparmor and jail [05:05] instead of being like android, where you install, and just accept all the permissions. [05:05] well android really is made for google to steal your data [05:05] we all know that [05:05] unfortunately users don't [05:06] learner, I was really dissapointed by android. [05:06] The Java Virtual machine... it just does not cut it. I wanted Linux [05:06] Thats why I am excited for ubuntu touch. [05:08] yeah but when you develop apps you need to cater to users, not to wht you feel is right [05:08] if it were up to me, i'd get rid of all windows, android, and ios machines [05:08] and only allow linux [05:08] or bsd [05:08] and nothing else [05:08] and ban google.com [05:08] learner, to each his own. I may not make any money doing what I do, but doing what you love is rarely that easy :) [05:09] learner, anyways let me get back to what I was working on. ping me when you need a synopsis of qml [05:10] will do [05:10] still waiting for the dev kits to set up [05:10] learner, oh and in qtcreator, for docs, click on a class or object, bring up the hud, and type "context help" [05:10] it seems to be slower than the installation [05:10] ok i'll do that [05:10] learner, are you building from source? [05:11] it seems to be [05:11] :? [05:11] i just clicked on create a dev kit [05:11] ohh [05:11] that [05:11] and selected amd64 [05:11] okay [05:11] yah thats for your build environment. [05:11] but it's doing compilations it seems [05:11] learner, yah that takes awhile [05:12] touch is amd64 too? [05:12] learner, so if you had a phone that had arm, and you wanted to test the app, you would select arm, build it, and run it on the phoen. [05:12] or do i need another environment dev kit for that [05:12] learner, it depends on the device [05:12] ok [05:13] learner, so you can also build emulators in this, its based on the android emulator. [05:13] so your probably familiar with it. [05:13] adb [05:13] thats it [05:17] i can't wait to start working on this [05:17] thanks a lot for the help [05:17] learner, :) [05:17] learner, QML is one of my favourite languages. So straight forward [05:18] it's very much like angular.js [05:18] learner, although nothing is better than gnu-apl [05:18] lol [05:18] i haven't done much of that, i'll have to take your word for it [05:18] learner, btw, when you start creating your app and you have some screenshots, would you mind posting it to our subreddit? [05:19] sure [05:19] http://www.reddit.com/r/ubuntuappdev [05:19] learner, have you had the chance to try ubuntu touch on a tablet or phone? [05:19] not yet [05:20] learner, have you seen it? [05:20] i'm ordering a fujitsu tablet next month, gonna install it on that [05:20] i've seen vids / screen shots [05:20] not used it nope [05:20] learner, I tried it for 45 minutes, and after when I switched back to android, I kept instinctively trying to side swipe [05:20] to launch apps. [05:21] at that point I knew that Ubuntu had created something really wonderful. [05:21] well ubuntu has a lot of smart people behind it, making smart choices [05:21] :) [05:21] one thing i really got upset about was the drop of the old gnome though [05:22] a lot of people use xfce nowadays for the feel of gnome 2 [05:22] learner, not me; I love unity7 because of the hud. [05:22] it is incredibly useful [05:22] i kinda have 3 different desktops now, unity, kde and xfce [05:23] learner, in fact, I am developing my plugin for qtcreator to utilize the hud, so you can just type the test you want to run, and go. [05:23] for a dev like me, i like a clean desktop with capability of a 4x4 wall / cube [05:23] to quickly swich and rotate [05:23] s/swich/switch/ [05:23] learner, woah you still use the cube XD [05:23] yeah :P [05:24] learner, compiz is still really great. [05:26] yep [05:26] i still have a few desktops with terminal hardcoded in [05:26] learner, do you use the hud at all in unity? [05:26] so like it has nothing but a terminal in the background loaded in [05:26] I think that is a feature most people overlook. [05:27] i use it to launch apps sometimes [05:27] learner, thats the dash [05:27] learner, the hud is different [05:27] the hud lets you launch menu commands [05:27] no that's the one i use [05:27] you type in what app you want [05:28] or like search for files [05:28] learner, no thats the dash XD [05:28] ok maybe [05:28] press left alt [05:28] not super [05:28] learner, its really useful in Gimp which has hundreds of menu items [05:29] cool [05:29] or for menu commands which don't have keyboard shortcuts. [05:29] i don't use gimp, i use photoshop but i get the point [05:29] :O [05:29] learner, ive never used photoshop [05:29] learner, can you tell me if it is actually that much more advanced than gimp? [05:30] in terms of raster design yes [05:30] hmmmm [05:30] learner, you know photoshop can run on linux now, right? [05:30] in terms of use of bezier curves it's much easier to use than gimp [05:30] learner, they stream it in on chromebooks [05:31] without wine? [05:31] Yah [05:31] its bewildering [05:31] I can only imagine how much of a mess their code base must be when it is easier to stream the application in, rather than just develop a port. [05:32] well photoshop's base is QT [05:32] you know that of course [05:32] learner, no; i'm shocked actually [05:32] Now I'm even more surprised. [05:32] the main functionalities like the Gaussian calculations they're all simple c++ libs [05:33] so less than 5% of photoshop is really machine dependent [05:33] the rest is very easy to port [05:33] almost all of its ui is fully portable to any machine [05:33] learner, why don't they then just port it to linux? [05:34] AkivaAvraham, money! [05:34] waht? [05:34] okay i'm sure theres a reason. [05:34] they want to sell photoshop licenses for huge amounts of money [05:35] if they started providing photoshop on linux, then they wouldn't be able to charge those huge amounts anymore [05:36] you know the story of macromedia right [05:36] how adobe bought them [05:36] learner, maybe. Nope. [05:36] do tell [05:36] oh wise and vetted one :) [05:36] macromedia was a much much better software company than adobe [05:36] lmao [05:37] adobe only had one project that sold a lot [05:37] photoshop [05:37] the rest of its apps were mediocre [05:38] illustrator was soo much worse than freehand they literally copying freehand [05:38] ha [05:38] dreamweaver [05:38] flash [05:38] fireworks [05:39] all of these are macromedia inventions [05:39] then all of a sudden, adobe buys macromedia [05:39] why? because they had billions of bucks lying around from photoshop [05:40] then all of a sudden illustrator becomes great [05:40] ha [05:40] it starts becoming better than corel draw even [05:40] why, cause they basically dropped the illustrator engine and used the freehand one instead [05:40] learner, just curious, you know gimp finally has a unified interface right? No more 3 window if you don't want it. [05:41] I used it with a tablet, it was actually really nice to use with a stylus [05:41] well that's good, but the problem with gimp isn't just wth the ui [05:41] although I don't use gimp for much. [05:41] well that was a huge problem [05:41] * AkivaAvraham hated the three window ui [05:42] gimp isn't UX driven [05:42] meaning they don't sit and think hmm, how would a designer wanna use gimp [05:42] Unix? [05:42] user experience aka ux [05:42] interesting [05:42] learner, I honestly think though the Gimp and the HUD, is such a killer combination. [05:43] AkivaAvraham, you're not a painter are you? [05:43] I think photoshop has that as well of course [05:43] learner, exactly [05:43] a tablet user, don't want lots of menus [05:43] they don't want to type for a command and bring it up [05:43] they want button combos [05:43] learner, well that is what the hud does. [05:44] type for a command, and there it is [05:44] a designer using wacom 24 hd touch [05:44] they will have a wheel and a few buttons [05:44] they'll map them to a set of things [05:44] and that's what they'll use [05:45] the only time they use the keyboard is when naming groups, layers, or smart objects [05:46] * AkivaAvraham gets back to work === chihchun_afk is now known as chihchun [10:13] hei, don't .click packaging work on ubuntu desktop? [10:22] Ashik, not *yet* [10:23] Ashik, they seem to work on vivid unity8 preview, but I cannot ensure you how much [10:29] ok, thanks. [11:03] mzanetti: hi, when you around and have time, see the currency-prop-1.png in the drive and let me know which one you like if any :) [12:15] .click is for the next version of ubuntu, it's not implemented yet [12:15] even the design isn't finalized [12:15] don't use it yet [12:17] really? i thought it was mature enough that the myapps stuff was all supposed to be self-packaged using click already [12:26] i don't think so, not from what i've read [12:27] i really hope it becomes standard soon though, the whole sandboxing thing is very intriguing [14:11] Hooray! Just had my app approved and published. Thanks for the help everyone! :) [14:14] mzanetti: hey, I had problems with my internet earlier, so I'm not sure if you have answered about the currency symbol or not :) [14:15] mivoligo1: hi. no, didn't reply as I saw you going offline [14:15] ah ok [14:15] so what you think then? [14:15] mivoligo1: I've talked with some people and they seem to agree that instead we should show a coin [14:15] mivoligo1: not sure how that works color-wise though [14:16] what do you think? [14:16] from your proposals I think I like the first one the most [14:16] mzanetti: by a coin you mean a circle with something inside I guess [14:17] yes [14:17] well, dunno, just an idea... [14:17] mivoligo1: I've pushed a bunch of sounds :) [14:18] mzanetti: did you downgrade the required components as well? :P [14:18] arh right. let me do that [14:19] thanks [14:19] mzanetti: I tried running the game on 14.10 in virtualbox and it's painfully slow [14:20] hmm.. [14:21] well, pushed the downgrades [14:21] mzanetti: I guess my computer is not really up to speed [14:22] I still need to do another round of optimisations though. [14:22] while it still works on the phone, it's reaching the limits [14:30] mzanetti: about this bug with the stars: the svg file for them uses blur but in the game it'll be lost [14:32] oh, I see [14:32] mzanetti: so I may redesign them a little [14:33] mivoligo1: whatever you think is better [14:33] we can also keep the current ones... [14:33] I just noticed it right now as I way paying attention to properly scaling all the icons [14:36] mivoligo1: now I only need to finish the last 4 levels, create the new tower info dialog and then I think we're set. anything else missing? [14:37] mzanetti: what about the levelpack creation tutorial? [14:37] that would be a website I'd say [14:38] ok [14:39] mzanetti: I've seen some testing going on in the drive, what the guys think? [14:40] feedback was quite good so far [14:41] I'd give them some more time to complete more levels . mainly I want to find out if there are some levels too easy [14:43] ok :) [14:46] mivoligo1: can you edit InfoPage.qml and enable line 66 and 69? [14:46] mzanetti: see the coin-1 in the drive, something like this or more real? [14:46] * mzanetti looks [14:47] hmm... looks quite nice [14:47] lets see how it looks in the game [14:48] mzanetti: colour can be reversed of course [14:49] mivoligo1: would look great in the panel I think. not sure what to do in the price tags of the towers though [14:53] mzanetti: can we have to version? or should I make it like golden or something? [14:53] s/to/two [14:54] I don't think in the panel it would look good with another color. needs to be white on black [14:54] It probably would work for the price tags, but my main concern there is space [14:55] I guess in there we sould just have the M [15:01] mzanetti: you mean just the letter M or that fancy sign? [15:03] mivoligo1: the fancy sign [15:05] mzanetti: what about the tower info? There we need the dark one :D [15:06] mivoligo1: yep. we can also have the coin there as there's enough space [15:07] mivoligo1: hmm. I can't see the price any more in the new tower info dialog [15:07] mzanetti: so we need one white coin, one black coin, one white M sign right? [15:08] mzanetti: it wasn't finished :P [15:08] ah ok. thought you dropped that intentionally [15:08] we might have a problem with vertical space on the phone there then [15:08] if it doesn't work out I'll do the two-column thing again like it is atm [15:09] mzanetti: I was thinking if we can put price on the tower icon [15:09] ah, nice one [15:09] yep, works for me [15:09] but might be a little tight if the tower is locked [15:10] true [15:11] mzanetti: let me try a mockup [15:13] mivoligo1: hmm... the current code makes it a bit nasty to show both... (not that its impossible, but the component is quite generic and doesn't support it atm) [15:13] so if it's not a must have I'd like not to mess with that any more [15:13] OK [15:14] we could just not show it if locked (which is what the component does atm) [15:14] mzanetti: so go with 2 columns for now [15:14] or do the two column thing, yeah [15:14] well, I'll implement something and then we can have look [15:14] great [15:15] mzanetti: I thing a player could plan ahead if she knows the price of upgrades and stuff fro that dialog [15:16] yeah.. [15:17] mzanetti: do you have "release" date already planned? ;) [15:17] nope [15:18] doing another teaser? :D [15:18] :D not really [15:20] maybe for an update, it's quite time consuming although the effect is short :) [15:22] yeah... guess so [15:22] they were great, tho :) [15:22] thanks :) [15:26] mivoligo1: what do you think of the new sounds? [15:26] mzanetti: let me check them :) [15:30] mzanetti: very good, definitely suits the game! [15:31] they are so funny :D [15:33] mzanetti: I'm listing them in the music player, I guess there's one song for one each theme, right? [15:35] mivoligo1: I wanted to do that at first, but then I realized it might be boring to play 6 levels in a row with the same sound [15:35] and also there's more sounds than worlds [15:35] so I'm cycling them [15:35] good idea [15:36] mankeys spinning monkeys is never boring though ;) [15:47] haha [15:49] mzanetti: electro last level has 0 slowdown. Is that intentional? [15:49] hmm, no [15:49] that's a bug [17:20] mzanetti: check the new stars, please. I've also changed qml files but obviously didn't check in practise how it looks :D [17:21] mivoligo: ok, cool. will try in a bit [17:25] mzanetti: the stars are now more in the style of play/pause, 2x/1x buttons [20:30] popey, do you want a changelog for the new music-app? ... i can put it in the usual place? [20:31] that would be super! [20:31] popey, what was the store version at again? [20:31] r745 [20:32] popey, we're just landing a translations update now.... so for the spanish pack someone will need to do the extra strings then wait for lp to land and then the final click you can grab on tuesday morning...that shouldn't stop any QA'ing tomorrow though [20:32] popey, unless you can get a spanish person to do the translations before lp tomorrow morning ;) ... is that ok? [20:34] we can ask dpm in the morning [20:35] popey, cool thanks... i'll let you know when we have the final click we're just testing everything now :) [20:35] nice one! [20:55] popey, i think it is these two that need translating? https://translations.launchpad.net/music-app/remix/+pots/music-app/es/+translate?show=untranslated [20:56] ahayzen: speaking to spanish people now [20:57] popey, \o/ ... in spanish ;) [21:00] hehe [21:06] ahayzen: I have proposed translations, someone else should validate. [21:07] popey, ok :) [21:07] popey, the other languages will have to 'lag' until the next store update [21:42] popey, suppose we could do this one as well ;) https://translations.launchpad.net/music-app/remix/+pots/music-app/en_GB/+translate?show=untranslated [21:49] * popey looks [21:49] done [21:59] popey, \o/ thanks can't have en_GB getting out of date ;) [21:59]