Tag Info

New answers tagged

2

We have several, take your pick: Google+ Facebook Reddit (New) Ubuntu Forums Discourse AskUbuntu


1

The Development and Programming section of Ubuntu Forums has a subforum named "Ubuntu Application Development". You could also consider the ubuntu-app-devel mailing list and the #ubuntu-app-devel IRC channel on Freenode (can't post IRC links, so: irc://irc.freenode.net/ubuntu-app-devel). Lastly, if it is development, you can always ask here, or on Stack ...


3

This property holds the name of the object. The objectName is a QString property of QObject which defaults to an empty QString. You usually set this property when you need to find QML elements from Qt. By this way the signals, properties and functions of a QML element can be accessed from Qt (C++) code. Autopilot tests use this property to introspect your ...


2

1: It's used to lookup objects by name 2: All of them, it comes from QObject 3: It's used by autopilot to introspect your app from test cases 4: I'm not really sure 5: I don't think the id is discoverable from outside tools (like autopilot)


0

Well, what do you want to program? Different coding languages are better for different things, probably the best thing to do however is to ask this question on a programming forum or something similar. You will probably get more answers someplace like that.


0

QML is definitely a great option for creating 2D games and can save you a lot of time and lines of code compared to other languages. As an example, V-Play (www.v-play.net) is a cross platform 2D game engine based on Qt/QML with many useful V-Play QML game components for handling multiple display resolutions & aspect ratios, an entity & component ...


3

TREE is the current branch you are on. MERGE-SOURCE is the branch you merged from into the current branch. Let's say you're on trunk, and you merge from some other branch feature-123 and you get a conflict. If you look at the diff, you might see lines like these: <<<<<<< TREE changes you did in your current branch ======= changes ...


1

I noticed that all icons used for shortcuts are png files not ico... I created a png for my icon and it magically worked. This fixed both the association with the launcher and the fact that the launcher did not work


10

Make it Open Source! That way anyone can jump in and maintain, fix, whatever, when for whatever reason you just can't anymore, although this can happen due to basic operability (stares at air apps...) some apps just need an extra hit with a hammer to keep them working. Graditor: Packaged for 14.04 with little difficulty: PPA named gradiator-mateo for ...


6

In my experience (near 30 years now), hardware and low level code (BIOS for instance) change not that much or more accurately, keep a very good ascending compatibility. (I wrote twenty five years ago a little game program in assembler, running with DOS and VGA display: it's still running fine on modern Windows computers). So I would say: avoid dependencies ...


0

The problem is that you are trying to build something that requires packages only available on 14.10, on 14.04. You will need to build in 14.10. You can do this from the SDK by setting up an appropriate kit for building your package, and it will create a chroot of 14.10 to build the package for a phone.


1

It is not possible with the current list items to change the font. The solution for now would be to use an Empty list item and to add a Label inside where you change the font. We are working on completely new list items which will be much faster to create, and which will be more flexible including the possibility to change fonts.


1

To fix installing the SDK first install ubuntu-sdk-libs-dev sudo apt-get update sudo apt-get install ubuntu-sdk-libs-dev Then install the sdk: sudo apt-get install ubuntu-sdk


1

onClicked: { Qt.openUrlExternally("http://bbc.co.uk/"); }


1

Why do you think it does not work? The following snippet of code works correctly for me: import QtQuick 2.0 import Ubuntu.Components 0.1 MainView { id: root width: units.gu(100) height: units.gu(100) Row { id: row spacing: 2 Rectangle { color: "red"; width: 50; height: 50 } Rectangle { color: "green"; ...


1

You can use almost all the javascript syntax in QML (See http://qt-project.org/doc/qt-5/ecmascript.html). The fastest method is Math.round(<NUM> * 100) / 100 But (<NUM>).toFixed(2) works (but is too slow according to this question on SO) The following snippet of code presents both implementations: import QtQuick 2.0 import Ubuntu.Components ...


2

You can use QChart.js - QML bindings for Charts.js (a simple HTML5 Charts javascript library using the canvas element) I forked the project here to support resize events (for a desktop use). I basically need to reset the canvas context to allow resize events to properly redraw the surface with an updated window size (See ...


1

For your particular debian/rules:16: *** missing separator. Stop. error, make sure you have tab characters in your debian/rules file. Spaces to indent do not work.


1

You are supposed to export the variable, not its value. I.e. export LD_LIBRARY_PATH not export "$LD_LIBRARY_PATH" Edit (example): $ LD_LIBRARY_PATH='/usr/share/My Company, Inc/ProductName' $ export LD_LIBRARY_PATH $ env | grep LD_ LD_LIBRARY_PATH=/usr/share/My Company, Inc/ProductName $


1

In JavaScript/QML, objects are data (variables), with properties and methods. You can also create your own objects. This example creates an object called "results", and adds four properties to it: property var results: {"passed": 15, "failed": 2, "skipped": 1, "IlikeYourQuestions": 1}; You could also add methods to it, but with just a set of properties, ...


1

You can use Ubuntu Touch Emulator For More Details Is there an Ubuntu Touch emulator or a way to install it in a VM?



Top 50 recent answers are included