Tag Info

New answers tagged

0

I had the same error and fixed it by navigating to "Projects" on the left navigation bar. I had to "Add Kit" and select "Desktop." If you already have Desktop, select it and then run your project.


0

Is this still a problem for you? Perhaps exposing the system level functionality through your app's UI might be the best way to go. I suspect locking at the app level would be considered a bug by the system developers so it's not offered.


0

The phone must be in developer mode, which can be turned on through System Settings -> About this phone -> Developer mode.


2

The instructions for installing the SDK tell you to add the ubuntu-sdk-team/ppa PPA. However, it seems that some updates from the phablet-team/tools PPA are also required for it to work correctly. Running sudo apt-add-repository ppa:phablet-team/tools sudo apt-get update sudo apt-get upgrade made the UI of the Publish and Devices tabs appear, and allowed ...


0

You can do this by putting your MainView in a QtQuick Window and setting visibility: Window.Fullscreen on that. I'm not sure that this is the recommended solution, but it does seem to work. import QtQuick 2.0 import QtQuick.Window 2.2 import Ubuntu.Components 1.1 Window { visibility: Window.FullScreen MainView { useDeprecatedToolbar: ...


1

set(CMAKE_AUTORCC ON) add_executable(${PROJECT_NAME} ${SRC_LIST} modules/ProjectName/resources.qrc)


-1

I have the same problem. I get the following errors: app.qml:64 Type FileDialog unavailable qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:43 module "QtQuick.Controls.Private" is not installed qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:42 module Did you find a solution?


0

qt5_add_resources(RESOURCES modules/ProjectName/resources.qrc) That thing converts qrc files into C++ files. Names of C++ files are stored in the RESOURCES variable. Executables and libraries are compiled from C++ files by using add_executable and add_library in CMakeFiles.txt. In the "QML app with C++ plugin (cmake)" project template the "C++ plugin" ...


0

I'm exactly in the same condition... blank devices page/Ubuntu 14.04.2 LTS. When launching qtcreator from terminal I got an error trace: file:///usr/share/qtcreator/ubuntu/qml/devicespage.qml:2:1: module "Ubuntu.Components" version 1.0 is not installed It seems that there is already a ticket of this problem: ...


0

Unfortunatelly you should turn off 3d acceleration. Don't know why, but just do it. It's solved same problem with my installation.


0

The appid is not the package name. What you need to have set as you are asking, is the package name, and it should be set that way in the manifest.json file already. If it is not, it is a bug and you should report it in Launchpad.


2

In order to use the Cordova APIs you need to create a Cordova application as described here: https://developer.ubuntu.com/en/apps/html-5/tutorials/cordova-camera-app-tutorial/ Cordova applications and their development flow are made so that they are as close as possible to what a Cordova developer is used to, and separate from the HTML5 application ...


0

If you try to create a QML App with C++ plugin and use the qmake option you will not be able to install the app on a device. The error: Framework "ubuntu-core-15.04" not present on system Therefore, in the SDK, choose QML App with C++ plugin (cmake). It will then run on your device.


2

You just need to learn the CMake language. It is the language of the CMakeListes.txt files that are all over the project. This language specifies how to build the project. And this language is independent from the QtCreator IDE that we are using. So, you can do builds without QtCreator and create CMakeListes.txt manually where you wish. Back to the ...


0

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


0

This message: ./camera-app: symbol lookup error: ./camera-app: undefined symbol: _ZN6QDebugD1Ev makes me believe you compiled it with a 15.04 Kit and are trying to run on a 14.10/RTM device/emulator. Try again with either both on 15.05 or both on 14.10.


0

You are using an example from Qt. It doesn't include packaging config files to install it on the device/emulator. Create another project with New Project > Ubuntu > QML App with Simple UI (qmlproject), Framework ubuntu-sdk-14.10-qml. Copy 'content', 'doc' and 'clocks.qml' from the "clocks" example to this new project. Rename clocks.qml to Clocks.qml. Add ...


1

I've just verified and seems QCameraInfo::availableCameras() always returns an empty list indeed. This seems like a bug. I've reported it here: https://bugs.launchpad.net/ubuntu/+source/qtmultimedia-opensource-src/+bug/1438072 Please confirm and add any other findings you might have related to QCamera and C++.


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

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


0

After looking carefully at the outputs from du and similar tools, I discovered that the big directory is /var/lib/schroot. So I moved it to another place sudo mv /var/lib/schroot ~/Dati/SDK and the symlinked it sudo ln -s ~/Dati/SDK/schroot /var/lib/ Until now, it works.


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/



Top 50 recent answers are included