2
votes
1answer
80 views

Why wouldn't sound be heard on the phone when it works on the desktop with an Ubuntu Touch app?

I have an Ubuntu Touch application in the works. The application needs to playback sound. I've used QtMultimedia from C++ for sound playback. The sound plays fine on PC but not on the phone. The odd ...
3
votes
0answers
29 views

apt-get install <package> equivalent using C++ apt-pkg library

I am building a small QT (C++) application where I ask user the software he want to install. Once he selected some packages a, b, c from the list all I have to do is run sudo apt-get install a b c ...
2
votes
1answer
70 views

How to detect events like lock/unlock screen, enter/return suspend and monitor power off

I am wondering if there is any way to detect system wide events under linux such as: user un/locked session user logs in/out machine sent to suspend screensaver goes on and the monitor switches off ...
0
votes
0answers
36 views

Way to catch shutdown event in Unity, Ubuntu 13.04

I'm developing gui application (C++/Qt) and now search for correct(documented) termination way for application. Is there any documentation how Unity DE notifies gui applications to exit (some analog ...
1
vote
0answers
145 views

Develop in C/C++ for Qt Ubuntu Touch projects

as said in the question I want to develop the code in C or C++ for my Ubuntu apps. I don't feel confortable in Javascript at all, and when I try to create a C or C++ file the IDE returns me Failed ...
4
votes
0answers
299 views

QtCreator creates unwanted windows [closed]

This issue occurs on raring with the build "qtcreator 2.8.1-0ubuntu1~raring1~test1", the latest from the software center. It works fine in general, but if you click on "Welcome" and than on "Develop", ...
0
votes
0answers
33 views

Some QLabel are not getting translated when app is run in other language ?

I am running kde app kstars on my kubuntu 13.04 system from terminal using following command KDE_LANG=fr ./kstars Some labels file from http://paste.kde.org/p6e42cd0d/ are not getting translated ...
5
votes
2answers
996 views

How to pass the image preview from the QML Camera component to a C++ plugin

I'm writing an Ubuntu Touch QML app that captures and processes images from a camera device. The processing is done by a C++ plugin to which I'm passing the URL of the image. I can successfully save ...
0
votes
1answer
111 views

How to add Password encryption

I have an encryption app that just encrypts a string and then can decrypt also.. But how can I make it so the user sets a password and the other person has to put in that password to decrypt the ...
0
votes
3answers
219 views

How to open a crontab file in c++

I am working on a QT application which makes the usage of crontab easier with GUI. But I am facing the trouble of including the jobs in the crontab file from my application . So how do i open a ...
2
votes
1answer
453 views

i want to open a file in the root directory in my c++ application in write mode.

I have a file in the root directory which I want to open for editing in my QT application. Generally we use "sudo (editor) filepath" to open the file with roots permissions. But i want to achieve ...
2
votes
2answers
1k views

Ubuntu Touch app with c++ core and QML interface. How to create?

How to create Ubuntu Touch application with c++ core? In examples I see only pure QML apps.
1
vote
1answer
436 views

Where can I find a Simple Hello World example for Ubuntu SDK (QT)?

I've been trying to get a simple window with button. And i have no idea on how to "bind" a button from the QML thing to a C/C++ function for example. I followed the example from developer.ubuntu.com ...
5
votes
1answer
3k views

Receiving error while trying to debug in QtProject

I installed the latest version of the QtProject so now I can debug C++ code. While trying to debug for the first time I got this error: ptrace: Operation not permitted. Could not attach to the ...
0
votes
2answers
349 views

Is this Ubuntu One DBus signal connection code correct?

This is my first time using DBus so I'm not entirely sure if I'm going about this the right way. I'm attempting to connect the the Ubuntu One DBus service and obtain login credentials for my app, ...
4
votes
1answer
187 views

Getting list of installed apps (NOT packages)

How can I get list of installed apps (based at files in /usr/share/applications/) without writing own parser? I need just app name, path to app icon and path to launch app. I'm using C++ with Qt ...
1
vote
1answer
143 views

Unity, C++, opening a Unity folder out of a QT-application

I wrote an QT-application, which shows a "QTreeWidget" of a certain directory and its sub-directories. Now I would like to make unity open a folder e.g. /home/Username/, by clicking one of the ...
8
votes
2answers
1k views

Unity Launcher API for C++

I am trying to develop some program in QT with QT SDK. Yesterday I was reading about Unity Launcher API on official ubuntu website. But there is example only for Vala and python. Is possible to use ...
1
vote
1answer
308 views

Problem installing qtbase [closed]

I am getting the following error when installing "qtbase" package for R: [ 68%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_1.cpp.o /home/mroot/qtbase/kdebindings-build/smoke/qt/x_1.cpp: In ...