[00:00] not much documentation about .qmlproject files -- like, for example, does QtC only read projectname.qmlproject? Or can I create a second one and that gets read too? That'd be quite elegant. [00:03] if you have multiple qmlproject files, they would be treated as separate projects [00:03] ie, when you go to "open project" in qtc, you choose the .qmlproject file [00:05] i'm /still/ not quite sure what you're trying to do. if this is for the ucs thing, then the thing to do to make it work properly in both places, is to have your tool add stuff to the .qmlproject's importPaths, and ensure that the components get propertly isntalled into the respective lib/$arch directories, when the click gets built [00:05] yep [00:05] I agree. [00:06] or better, have your tool pull them into a lib/ structure, so you don't have to add all the separate import paths for each component and keep it updated (having arch-dependent paths in qmlproject file is not a great idea) [00:07] that's the plan, roughly, yep [00:07] I don't want to add arch-dependent paths to .qmlproject either, but I'm not sure it's avoidable. [00:08] huh [00:08] it already *has* arch-dependent paths in it. [00:09] importPaths: [ "." ,"/usr/bin","/usr/lib/x86_64-linux-gnu/qt5/qml" ] [00:09] so I can't really go wrong with adding "./lib/x86_64-linux-gnu" to the end of that. [00:09] anybody who commits .qmlproject to source control and then checks it out on a different machine with a different arch is *already* screwed. [00:10] oi [00:10] wtf is /usr/bin in there [00:11] oh well [00:11] i should probably go eat and look wantingly at more car parts or something [00:11] right, that solves the problem for pure qml stuff, anyway [00:11] I need to actually implement it :) [00:11] next step: work out how to do this same thing for cmake and qmake based projects. [00:11] and then I'm good. [00:12] cheers, pal; that was helpful [00:12] add cmake/UbuntuCompoinentStore.cmake [00:12] :) [00:13] I believe that's exactly the plan, but I'm not good with makefile stuff, so I shall look at that tomorrow :) [04:25] hello everyone [04:27] can anyone point me to a place for new developers using Ubuntu SDK? [09:58] Elleo, ping about making an extension plugin :) [10:10] aquarius: pong :) [10:11] Elleo, do you have a clear idea in your head of how to build a QML Extension Plugin (http://doc.qt.io/qt-5/qtqml-tutorials-extending-qml-example.html#chapter-6-writing-an-extension-plugin) for all three architectures (arm, amd64, x86)? [10:12] and if so, do you fancy spending a little time building a tiny one and setting it up as a downloadable component to my instructions that I can experiment with? :) [10:15] aquarius: sure [10:16] Elleo, cool. Invent a component of your choice; what it is is up to you :) [10:16] aquarius: although, you can actually get something straight from the SDK to play with if you create a new app and choose "simple ui with c++ extension" iirc [10:16] well. [10:16] although it won't *just* be an extension [10:16] I have done precisely that [10:16] and I have a .so file which can run external commands [10:16] and it can be included [10:17] but I don't think it's just an extension [10:17] and I think we should make binary component be extension plugins [10:17] aquarius: the .so file will be just an extension (if it's based on the sdk template) [10:17] oh, really? [10:17] aquarius: but that template also includes an app and ui stuff that make use of the extension [10:18] which is what I meant by it not being just an extension [10:18] that's OK -- I can just pull the .so file out [10:18] yeah [10:18] which is what I've done, for testing [10:18] but I agree with you that we ought to have a template which builds these things correctly [10:18] and puts the compiled files in the correct place for the component store to recognise them [10:18] I've decided on that stuff not [10:18] now [10:18] I think :) [10:18] yeah [10:19] I'm not especially familiar with qt creator's template stuff, but I don't mind helping to figure things out if needed [10:19] I also know what to do to a pure qml project to make it import such a component from a lib/$arch location, hooray [10:19] I do *not* know what to do for cmake or qmake projects to make them do the same [10:19] if you do know, that'd be handy info :P [10:20] afraid not [10:20] I'd assumed it was all done automatically by some part of the runtime system [10:20] I may have a bunch of questions for you about that in a bit, then :P [10:20] rather than being related to the build system [10:20] perhaps its setting an rpath on the binary? [10:21] although it wouldn't be able to do that for pure qml stuff [10:21] nope [10:21] aha [10:21] to make an extension plugin available to an app, you put it on the QML2_IMPORT_PATH [10:22] just glanced at the cmake stuff for one of my projects [10:22] this happens differently in Qt Creator and in actual deployedness on the phone [10:22] and it has set(QT_IMPORTS_DIR "lib/${ARCH_TRIPLET}") [10:22] on the phone, the apparmor wrapper sets QML2_IMPORT_PATH to include lib/$arch [10:23] in QtC, for pure QML projects, projectname.qmlproject has importPaths set in it. [10:23] I don't know how it's done for cmake or qmake projects in Qt Creator, though. In particular, QT_IMPORTS_DIR is for compiling, isn't it? Not for runtime inclusion of QML imports. [10:24] although I may be wrong about that. [10:24] if it's *already* the case, that's great :) [10:25] not certain how that's used yet, just poking around a bit at the minute [10:34] yeah, I'm not sure what's going on; I suspect prodding the SDK folks would produce better results though ;) [10:40] that QT_IMPORTS_DIR setting is the only thing I can find in the cmake setup that seems in anyway relevant [10:41] can't find anything much in the way of docs for it though [10:42] I suspect it might just end up being used to determine where to install plugins [10:47] aquarius: have to head out for a bit now, but will be around again this evening [11:03] Elleo, cheers :) [13:10] G'morning all... [15:26] popey when is the new porting guide going up? [15:41] Elleo, nik90_, aha, I can now install binary components in pure QML apps, and install QML components too. Hooray! End-to-end working tests :-) [15:57] aquarius: wo that's fast! [15:58] nik90_, not really, man; the original proposal was last February :) [15:58] aquarius: well what you had in last feb was proposal + demo...now its working prototype work in the past few days [15:58] nik90_, I'm pushing this stuff to a new branch in the component-store project; at some point when you have time, I'd like to bring you up to date on what I'm doing so you know and can give me thoughts [15:59] sure [15:59] when's good for you? [15:59] aquarius: tonight, I will be out...does tomorrow sound good? [15:59] it does. I have set aside this weekend to work on this stuff :) [15:59] cool [15:59] tomorrow I should be free for the whole day pretty much [16:00] just ping me when you want to talk [16:00] Still remaining to do are: correctly handle adding community components to qmake and cmake projects; handle adding curated components to projects (should be easy); document the whole world; deploy the server :) [16:02] but I can, right now this second, create a new QML app with Ubuntu SDK, type "ucs install sil/GetHomeDir", and then add "import ubuntu_component_store.sil.GetHomeDir 1.0" to my QML file and get a new Launcher {} item which returns my home directory, which pure QML apps can't do. [16:02] hooray! [16:02] I think hooray, anyway :) [16:03] sweet [17:27] nik90_, am I right in thinking that curated components will only be pure QML? [17:38] nik90_, on the assumption that that's true, one can now ucs install curated components. :) [18:08] aquarius: yeah for now curated components will be pure QML since we don't have much people to review c++ components. [18:21] Is r58 the latest versino of Ubuntu 15.04? I do not seem to get any updates after that, but that release is 16 days old... [18:22] Seems to be the latest entry in the cahnge log as well... [18:50] stu_, I think the development is on hold due to christmas holidays :) [18:54] Ok, they certainly deserve some holidays -- I was mostly curious as to whether something changed (maybe need to update from where to update). But looking around a bit more it is probably normal not to get any updates now. [19:35] stu_, https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/vivid/ubuntu-touch/ ... after the SDK team messed around with oxide the images are unbuildable since a few weeks now [19:51] ogra_: these are the main images right, system.img? [20:38] Makalak, this is the rootfs [20:50] https://twitter.com/imslavko/status/551477294137483266 lol :D [20:50] ops [20:50] sry [20:58] ha! [22:32] aquarius: awesome :)