Tag Info

New answers tagged

0

For me, the correct combination was QML App with C++ plugin (cmake) with the framework ubuntu-sdk-14.10-utopic.


1

If your application is designed to run under application confinement (usually required if you plan to ship through the click store), it will be restricted to access files only within its own silo. Files you wish to store permanently should be stored in .local/share/<appid>. <appid> is the unique string identifying your application, showing up ...


0

I've found a solution, just needed to add these lines to my .qml file WebView { ... context: WebContext { devtoolsEnabled: true devtoolsPort: 9232 } ... } From here: Enabling the devtools inspector when using Oxide in an Ubuntu SDK QML app


0

The Ubuntu SDK offers style components in Ubuntu.Components 1.2 version to allow app developers to customize components to their liking. PageHeadStyle is one such component that can be used to customize the page header throughout the app. Before using this style component, one needs to first define a custom application theme which would include these custom ...


1

In Ubuntu 14.04 and Ubuntu 14.10 QtSerialPort is provided by the libqt5serialport5-dev package from the Ubuntu Software Center.


0

I'm afraid you can't: your application is confined, and cannot access any files under the ~/Pictures directory. More info about this topic at https://developer.ubuntu.com/en/apps/platform/guides/app-confinement/


0

Still unsure if this is the correct way to show and hide elements in an expandable list but it seems to work. If someone more experienced in QML could maybe jump in and expand on this? I'm simply adding elements as usual but added a condition the the visible parameter to hide or show the elements based on the currently selected row. ... delegate: ...


2

You do something like: // Main.qml MyItem { id: thisIsMyItem } Button { onClicked: console.log(thisIsMyItem.name) } The idea is that you can use the components you declared in the same document referenced by their id. You call these files "documents" in QML. Another thing is that you don't need to use the myItem id in MyItem.qml, you can simply ...


3

It's indeed not yet hooked up to the backend yet (atm you can only get such sensor events using the platform-api directly). I included a story in the Phone Foundations backlog to hook this into Qt.


1

This would be the appropriate API I guess, however, it doesn't seem to be hooked up to the backend yet. At least for me right now it it seems to give random values. http://doc.qt.io/qt-5/qml-qtsensors-ambientlightsensor.html I think a bug report might be appropriate at this point.


0

You will need to provide an OAuth implementation on your server, and on your web site, allow the user to authenticate to your service via any of those other services through OpenID (or whatever shared authentication mechanism they provide). Then you would provide a plug-in to Online Accounts in your client application package, which would allow the user to ...



Top 50 recent answers are included