Writing applications for Ubuntu (including Ubuntu Touch) and questions about the application submission process to the Ubuntu Software Center. This covers both open source and commercial applications.

learn more… | top users | synonyms

2
votes
1answer
63 views

GNU C - Signals never arrive to the handler

I'm working on a university project which needs to be written in GNU C and run on Ubuntu server. My primary OS at home is Ubuntu 14.04 on my PC. The project is about multi thread programming and I ...
0
votes
1answer
511 views

GNU Toolchain required on Ubuntu 13.04 - for offline PC

I am very new to this site. Recently I have successfully installed Ubuntu-13.04-32Bit-Desktop version on my Dell laptop and IBM PC. Earlier I was developing Qt-5.0.2 based applications on Windows 7. ...
6
votes
1answer
842 views

How do I submit .jar file to the ubuntu software center

I am writing an app using JAVA Swing for all platforms. After that I want to add this app to Ubuntu Software Center for free Is it possible? My app is just one *.jar file, its helping to play card ...
0
votes
1answer
549 views

how to compile a C code to call an octave function and make the GUI using GTK+2

i am trying to call a octave function from C code but the problem is that when why run this command in octave mkoctfile --mex addition_GUI.c error occurs addition_GUI.c:1:20: fatal error: gtk/gtk.h: ...
9
votes
1answer
7k views

How to create very very simple GUI application for Ubuntu?

I want to make a simple GUI Application. Can anybody give me source code of a simple GUI Application? So far, I have been competing in Programming Competitions (I have been using C++ for it) and now I ...
1
vote
1answer
14k views

Can Ubuntu provide an IDE for C, C++ programming? [duplicate]

I am a beginner in the field of programming. I have tried to learn C and C++ on a Windows 7 computer using the Turbo C++ compiler, but faced frequent failures and finally my laptop's motherboard ...
2
votes
0answers
73 views

Ubuntu Touch App with Simple UI (QMake) - how to connect C++ to QML

I've noticed that the Ubuntu SDK now has a template for an 'App with Simple UI (QMake)'. This creates a C++ Ubuntu application project with a sample UI containing a Label and a Button (Needs a 15.04 ...
10
votes
1answer
413 views

Howto create a new C++ based Ubuntu touch project in Ubuntu SDK?

There is no option to start a C++ and QML based project in Ubuntu SDK. It only offers to create a QML project with no C++ codes. If I try to add C++ classes to the QML project, I get this error: ...
0
votes
1answer
23 views

Replace secret key placeholder at build time

I'm developing an Ubuntu touch app in QML, and would like to keep an API key reasonably secret (at least I don't want to have to commit it into the VCS). I see that you can define environment ...
11
votes
5answers
2k views

What is Bazaar and how do I use it?

I wanted to get a program, which is installed via bzr. I have successfully installed bzr, but it asks me to authenticate (despite that I`m logged in to Launchpad). Bzr help seems to be oriented ...
0
votes
1answer
50 views

complete list of wowza ModuleBase events? [closed]

does anybody knows where I can find full list of events supported by Wowza ModuleBase class !? ex. onSessionCreate, onRTPSessionCreate, onAppStart, etc.. edit: I just realised that this question ...
2
votes
1answer
86 views

U1DB problems with apparmor

I'm having problem with u1db and apparmor. The application works fine, but when it is packaged apparmor does not allow the app to save data into $HOME/.local/share/.. so I can't actually save my ...
2
votes
1answer
119 views

Where is the qt-mt (qt multithreaded) library on ubuntu 14.04?

I'm trying to install some software for a Mightex camera and the first step is to run a ./configure file, after getting a lot of messages where it checks for libraries it fails with the following: ...
0
votes
1answer
69 views

Why was my app rejected with “(REJECT) reserved policy group 'debug': not for production use”?

I uploaded my app to the store but received this error message: found unexpected Exec with architecture 'all': ./qtcdevicedebughelper.py (REJECT) reserved policy group 'debug': not for production ...
0
votes
1answer
19 views

How do I add a Device Kit to an existing project

I am writing a QML Ubuntu Application and unfortunately forgot to check the boxes for the different Device Kits when I created the Project. How do I get those Device Kits to show up at the run menu?
0
votes
0answers
32 views

Ubuntu QML App UI problems

I need some help... I am currently building a new QML Ubuntu App and I am struggeling with the UI.. The App sends a request to an external server, gets some JSON back and appends that to a ...
1
vote
1answer
268 views

Read lines from a text file in QML Qt/Quick

I need open a text file and read it's contents line by line and store each lines in a string list in qt quick 2.2. Can every one help me?
5
votes
3answers
131 views

How to add some padding between a ListView and its footer?

Consider the following QML snippet: ListView { //... footer: Text { text: "Sample Text" } } This will display the text "Sample Text" directly at the bottom of the ListView. ...
14
votes
2answers
880 views

How do you package HTML applications for Ubuntu Touch?

Gomobile talks about HTML5 applications but doesn't explain how to package or install them on Ubuntu Phone/Touch. Is the "Unity Webapps" stuff webapps the same for Ubuntu Touch? (API documentation ...
0
votes
0answers
27 views

How to create a source tarball for a java application built by ant?

I've written an application in Java and would like to package it for Ubuntu and upload it to my PPA. I've already read through the documentation and set up my environment, but I don't completely ...
0
votes
1answer
60 views

What does policy_version_is_highest mean?

My app was just reviewed and the feedback comments mentioned "policy_version_is_highest". What does this mean?
8
votes
1answer
181 views

How to deploy an Ubuntu touch application for other GNU/Linux distributions?

My situation: I have created an Ubuntu touch application using Ubuntu SDK, in QML & C++. The application uses Ubuntu UI Toolkit (Ubuntu.Components 0.1) I want the application to run in other ...
0
votes
0answers
13 views

“Search your computer” widget get overlay by other views?

There are times that every view/window that is opened is overlaying the search widget that you open with "Super" key. No matter what window you open or set true/false for "Always on top". This is very ...
0
votes
1answer
143 views

Ubuntu.Components version 1.1 is not installed

Anyone knows why I'm getting this error? I do have Ubuntu Components in /usr/lib/x86_64-linux-gnu/qt5/qml I'm on Ubuntu 14.04. Installed the SDK through the PPA. Last time I installed SDK from the ...
2
votes
1answer
89 views

Why XMLHttpRequest send only “server connection established” in readyState attribut?

I try to store the result of JSON webservice into a List view. I create my request in javascript but my readyState value is always 1 and never change. I don't understand what is wrong. This is my ...
0
votes
1answer
33 views

How do you create an additional interpreter?

Short and sweet version: I figured breaking it down into steps would make it easier. I'm building a website I hate SQL. It makes no sense to me, for a programmer to have to learn an additional ...
0
votes
0answers
39 views

Creating floating “widgets” for Unity environment

I'm looking for a way to make a screenlet-like widgets for Ubuntu, just without the screenlet app. I can't find info on how screenlet gets to this functionality as their website is down. I want to ...
0
votes
1answer
24 views

Weird bug in qml and oxyde

I have made an app with this source code: http://pastebin.com/zMwtusZJ However when I try to run the app the webview instead becomes black and does not load the web page. Here is the crash output: ...
1
vote
1answer
277 views

Ubuntu touch. adb devices is not recognizing nexus 4

I am using ubuntu touch in my mobile nexus 4. adb was working perfectly and also adb helped to test some of apps I have created in my mobile. Now I am finding that adb is not working at all (ex: adb ...
-1
votes
2answers
87 views

How many Applications do Ubuntu have? [closed]

I am wondering how many applications Ubuntu have in total.
0
votes
1answer
24 views

How do you return a list of the current project folders and files of your current project in QtCreator?

I think Qt must have this, because QtCreator has a list on its sidebar: Ideally I am just looking for a Qt function that will just return this list. Thanks.
4
votes
3answers
1k views

How do you check if a property is undefined in qml?

How do you check if a property is undefined in qml? This is what I am trying to do: Button { id: myButton text: if (text === "undefined"){"default text"} }
22
votes
17answers
17k views

Is there a Visual Studio style tool/IDE?

I have been developing in the windows space with Visual Studio for a while now with work, but I have also been using Ubuntu for a while and am keen to get into some software development for linux. I ...
2
votes
0answers
46 views

Unity 8 scopes: changing the card color has no effect

The example scope that comes with the ubuntu-sdk implements a client for the OpenWeatherMap API. If I specify "card-background" in the category renderer template (because I want to have background ...
0
votes
0answers
264 views

Incorrect display of Ubuntu Emulator (SDK)

I've installed ubuntu-sdk and created i386 instance of Ubuntu Touch image (ubuntu-emulator create myname --arch=i386). After I run it by ubuntu-emulator run myname and everytime I get the following: ...
0
votes
2answers
60 views

Best way to update files on production server from development server

I am developing a website for my own company. To do so I have 2 servers: Server 1: a development server where I upload and test files. I use Adobe Dreamweaver CS6 to put and get files I am working ...
0
votes
1answer
90 views

Ubuntu Touch: How can I debug ubuntu touch apps on the device? [duplicate]

My app works well on desktop but I can't figure out why does it crash on my nexus 7. How can I debug it while it runs on the device?
3
votes
0answers
90 views

Documentation / guides for offline ubuntu phone scopes

I've been working on an Ubuntu phone scope that is NOT connecting to the internet, it is retrieving local results. I am having difficulty, which is mostly due to not having a guide for how to write a ...
3
votes
2answers
69 views

Ubuntu SDK: How can I see error logs for my ubuntu touch app?

I've built an ubuntu touch app, it works well on desktop, but when I install it on the device and try to launch, it crashes. Where can I find error logs or any other output that the app can give me to ...
2
votes
1answer
96 views

Ubuntu SDK, Ubuntu touch app: “Error: Error opening shm.”

I am building an app for Ubuntu Touch. It works well on desktop, but when I try to open it on nexus it starts opening a splash screen but immediately crashes. Here's the logs: t_shm() at ...
0
votes
1answer
54 views

UbuntuShape component doesn't show the background color.

This code gives me an UbuntuShape with the background color red: UbuntuShape{ height: units.gu(6) width: units.gu(6) color:"red" } but when I set an image with the code below, the ...
-1
votes
1answer
1k views

Ubuntu sdk not getting installed 12.04

First I used the compound command given here but it gave some errors so I executed each command separately that I may be able to figure out the where is the error. Adding repository and updating was ...
1
vote
0answers
45 views

Ubuntu QML Alarm not working properly

I've been trying to create a simple app capable of setting system alarm. But although I can see the set alarm at correct time in the event list under my clock indicator (on desktop), it doesn't notify ...
0
votes
1answer
96 views

How do I remove dependencies from a deb installer for an isolated system?

I have created a deb package for an application created in Qt. I have included all the libraries that the application depends on, to be installed in a folder next to the application itself: ...
3
votes
1answer
35 views

How do I add categories to a scope?

I'm playing around with the Ubuntu SDK. At the moment I'm trying to create a Unity 8 Scope. Currently I'm stuck with the following: How do I add categories to the scope (the selection list above the ...
2
votes
1answer
81 views
3
votes
1answer
52 views

how to change to next page when clicked on button

hi guys I'm new in qml programming and i was just wondering how can i switch to an other page when the user clicks on my button. by the way how can i make a new page in the ubuntu sdk so that when ...
0
votes
0answers
16 views

Ubuntu SDK, Ubuntu Touch: Disable automaticOrientation for one element?

I am building an Ubuntu Touch app. Option "automaticOrientation: true" rotates the whole interface, but I need one element to stay in place and ignore it. Is this possible?
2
votes
1answer
28 views

Scope settings - what does “list” type returns?

i am trying to get the string selected from a list (defined in the settings.ini with name [listname]) using this code: unity::scopes::VariantMap config = settings(); std::string selected_string = ...
0
votes
2answers
23 views

How do I make and upload a package for my game?

I developed a game using the C programming language with SDL for graphics. Now, I just have a folder of the project (with project files). But I don't know how to make a package of this game to upload ...