Tag Info

New answers tagged

1

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

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" ...


0

I usually see that error as well. However it is just a warning and if you have the kits configured as explained at developer.ubuntu.com then your app should run on the Nexus 4 without any issue.


0

Not an answer, but I can't comment yet. Can you share any more code? Curious as to why there are so many focus changes. What image are you using on your Nex7?


0

I am using Gnome3 as my window manager, so not aware about awesome. But this workaround worked for me sudo apt-get remove appmenu-qt5 Souce : Link to bug report with work around Do let me know if this works for you.


1

A convenient way for developers to do app testing is by starting them through adb. To make that convenient we are providing a cli tool, called ubuntu-app-launch. So create a remote connection with phablet-shell and start your applications using their desktop filename: ubuntu-app-launch com.ubuntu.calculator_calculator_1.3.316 ubuntu-app-launch ...


4

You can also install the LogViewer app from the store to see the logs with a graphical interface. The application provides the following features, Graphical interface for viewing logs Exporting logs to pastebin


3

Logs for your application can be found in the ~/.cache/upstart/ folder on your device. I'd recommend to open/cat them using a remote connection (with phablet-shell)


1

I have seen this problem and for me cleaning up the QtCreator's local config solved the problem: $ rm ~/.config/QtProject/qtcreator -r


1

I believe this line indicates what the error is: g++ version must be 4.9! And I guess the reason is because your click chroot (the place where the code is built) is not up-to-date and contains an older version of g++. To update your chroot: In Qt Creator, go to the Tools > Options menu option In the Options dialog, select the Ubuntu tab Then click on ...


2

The ubuntu UI Toolkit has no dedicated treeview component, neither the upstream QtQuick controls have. But here are few interesting writing about the topic: http://www.codeproject.com/Articles/632795/QML-TreeModel-and-TreeView http://qt-project.org/forums/viewthread/30521


5

After having a chat with designers and SDK developers, it seems that the plan moving forward is to deprecate OptionSelector, and in general embedding UbuntuShapes in controls. I understand that there is no particular reason for having both components, as they have overlapping functionality. So the recommendation is to use ItemSelector for now.


5

You can do it using some Javascript code in QML: import QtQuick 2.0 import Ubuntu.Components 0.1 Item { width: 200 height: 150 ListModel { id: model } ListView { id: listview anchors.fill: parent model: model delegate: Text { text: jsondata } } function getData() { ...


1

See Is it possible to use Python with the Ubuntu SDK? I don't think that the current status is different: pyqt might not be the best choice in terms of licensing commercial applications And taken from the ubuntu-phone mailing list archive: While PyOtherSide may work, it's not a supported language or platform for the Ubuntu SDK, so we can't ...



Top 50 recent answers are included