New answers tagged

0

Looks like your missing libqt5gui5 from your stage-packages UPDATE: So to expand my answer a bit more. Here is an simple working example to snap a CMake/Qt/QML application and make it runnable from qtcreator // main.cpp #include <QGuiApplication> #include <QQmlApplicationEngine> int main(int argc, char *argv[]) { QGuiApplication app(argc, ...


1

According to this thread the arm emulator is not currently in a stable state - it is slow and prone to locking up. They recommend using the i386 emulator instead. It appears the basename: missing operand error itself is not critical. It is probably the next thing it's trying to do that is not succeeding, or stuck in an infinite loop.


1

I found the solution by myself. Adding TARGET_LINK_LIBRARIES(Projectname library) to CMakeLists.txt made it run.


1

This is what I did to embed an image in the "binary": I'm using a qmake project with the default folder structure in Ubuntu SDK. I made a directory to store my images: project_name/backend/your_click/images. With the backend folder I created a new resource file resource_file.qrc that contains the following: <!DOCTYPE RCC><RCC version="1.0"> <...


0

You have a couple of options here, either use U1DB which stores json documents in a sqlite database and has good documentation. Or you can use Qt's Local Storage module which you can interact directly with a sqlite database.


0

You can see a copy of the OptionSelector qml here it uses UbuntuNumberAnimation when it's not expanded. There's no option for switching it off and if the feature is required you're going to have to patch upstream and wait a while for new versions of the library. You could make your own open selector widget though, remove the animation part and make sure you ...


1

At the moment there is no such functionality provided by the Ubuntu HTML5 sdk. See https://developer.ubuntu.com/api/apps/html5/current/UbuntuUI/ for a complete list of provided components. Although there's nothing to stop you rolling your own bottom edge navigation in an HTML5 app :-) You could even possibly propose such a feature to the HTML5 sdk if you ...


0

I am able to run on the Desktop target now. I've installed qt5-defaul and then configured the QT version in the Desktop target. Not tried with the emulator but the Desktop is sufficient to develop


0

I had the same error by launching a scope app. I had to install qt5-default then configure the QT runtime in the Desktop Kit target.


0

As pomsky suggested in hin comment I had to choose "ubuntu-sdk-15.04.4" in the manifest.json - File.



Top 50 recent answers are included