Tag Info

New answers tagged

0

Rejected because you uploaded a debug build of your app. Debug builds are made to test your app on devices and emulators; to upload to the store, you need to create a release build. The Publish tab in Ubuntu SDK lets you create a release build click package; increase your version number and then create a release build click package from the Publish tab and ...


0

We always require the highest security policy version. By updating the value to the highest available (which also is the current) version, the app developer also acknowledges the newest security policy.


1

Ubuntu Components 1.1 is not available for Ubuntu 14.04. You have to upgrade to 14.10


1

Try changing the following line: xhr.open("GET", "http://api.flickr.com/services/feeds/photos_public.gne?format=json&nojsoncallback=1&tags=munich"); ...to: xhr.open("GET", "http://api.flickr.com/services/feeds/photos_public.gne?format=json&nojsoncallback=1&tags=munich", true); Note the true argument given to the async parameter. There's ...


0

I found out what was wrong. #!/home/jesse/Desktop interpret Needed to be: #!/home/jesse/Desktop/interpret /usr/bin/env is a command itself. Python is an argument passed to it. Thanks to @muru for this.


0

I was unable to reproduce your problem, but when I ran your sample, I didn't see the webview at all. It looks to me that your positioning is very confused. You have a Column containing a single Row, which contains another Column. This doesn't really make sense. It's obscured by incorrect indentation, so the first take-away is, clean up your code before ...


0

Someone helped me with this on Google+ You need to enable Developer Mode by going to 'About this phone' in System Settings, then right at the bottom it says 'developer mode' After that adb should recognise it fine.


2

It will be a bit a manual work but the Ubuntu app directory shows the application per category with a number. So all the non-applications will be filtered from the results. accesories: 822 developer tools: 245 education: 396 games: 918 internet: 406 office: 242 science: 226 sound and vision: 446 themes and tweaks: 190 Universal access: 26 There are some ...


0

If you've added the universe & multiverse and added archive.getdeb.net, then Synaptic might tell you there's about 45,000 packages listed. That includes tons of non-application packages, libraries and things. And there are lots and lots of programs written for Ubuntu or any linux that are not in the repo's, it's kind of an uncountable number.


1

You can list the files in a given directory with QDir::entryList(). QDir has a number of other methods that may be useful for you as well.


0

To compare with undefined you write text === undefined. This will evaluate to false if text is null. If you want check if value is present (i.e., check for both undefined and null), use it as condition in if statement or ternary operator. If you need to store result of comparison as a boolean value, use var textPresent = !!text (though double ! might appear ...


2

What I ended up doing was creating a Column and inserting a Rectangle before the content I wanted to appear in the footer: Rectangle { color: "transparent" width: parent.width height: units.gu(3) }


2

Do you really need to statically link to all of Qt5? I would imagine that most modern Linuxes already have it in their repositories. It may just be that all you need to do is include Ubuntu.Components in your binary. If I were doing this, I'd just copy the Ubuntu.Components source into my project directory, as if it were another module. I've never ...


1

import QtQuick 2.3 import QtQuick.Controls 1.2 Button { id: myButton text: text ? text : "default text" } This answer throws a warning for me. QML Button: Binding loop detected for property "text" Changing text to modelText instead throws an error. ReferenceError: modelText is not defined This stops the Javascript execution for me; i.e. the ...


0

I would use a something like git. That way you can have separate branches for production and development, once you are happy, merge the development branch in to production, and then git pull http://en.wikipedia.org/wiki/Git_%28software%29


0

First, you need to make your system partition writable by doing 1: touch /userdata/.writable_image and rebooting your phone/tablet. Be aware that you cannot install over-the-air (OTA) updates after doing this. Then you need to install gdb: apt-get install gdb Finally, when launching the app from Qt Creator like shown here, instead of pressing the "Run" ...


2

I'm using the ContactModel.qml available in the SDK example. To add some spacing between your footer and the last list element you can create a dedicated component for your footer and modify the layout the way you want inside it: import QtQuick 2.0 import Ubuntu.Components 0.1 Item { width: 200 height: 350 ListView { width: 180; ...


0

You can certainly create your own apt repository and configure your production server ot use it. You do NOT need to post your debs in a public ppa (i.e., Ubuntu archive). This wki page gives you the basic steps to create a deb repository and how to update it when you put new versions of packages in it. The guide is about creating a local, disk-based ...



Top 50 recent answers are included