Qt Creator is a cross-platform integrated development environment (IDE) using the Qt Framework. Questions about how to use the tool to develop your applications, installation issues.

learn more… | top users | synonyms

0
votes
2answers
183 views

AppMenu of Qt Creator in GNOME Flashback

I use GNOME Flashback (Metacity) in my Ubuntu 14.04 LTS installation because of performance (it's running in VirtualBox). In this mode, the menu bar of an application is usually placed below its title ...
1
vote
1answer
245 views

Is there Qt Creator documentation available in a ubuntu or debian package?

From QtCreator, aka the Ubuntu SDK, I can ordinarily access documentation for classes such as QString and all QObjects, however, I can not access the documentation for classes such as: ...
0
votes
1answer
618 views

Do I need to install libcurl source package to use it for development?

I am working on a project that I used to use in a Windows environment. I recently migrated to KUbuntu and installed everything I needed (Qt, QtCreator and libcurl). However, after installing libcurl, ...
0
votes
1answer
42 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 ...
0
votes
2answers
709 views

Error connecting Qt Creator to Raspberry Pi using ssh

I have generated an image for the Raspberry Pi board using buildroot 2014.11, but while connecting Qt Creator via ssh to Raspberry Pi board it shows the following error: Connecting to host… SSH ...
3
votes
3answers
643 views

using ubuntu-sdk to create app with problems

I upgraded my ubuntu 14.04 to 14.10 to use the latest ubuntu-sdk. But When I created a simple UI project there is just a red wave line under the "import Ubuntu.Components.1.1". So I moved my mouse to ...
0
votes
1answer
57 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.
2
votes
0answers
787 views

How build against qt 5.3.1?

Trying to build qt-creator v3.2.2 from source on Ubuntu 14.10. Fails. Qmake can't find qt5.3.1 $ qmake -r ... Project WARNING: QmlDesigner plugin has been disabled. Project WARNING: This plugin ...
1
vote
1answer
446 views

Creating a shorcut for application

I have two versions of qtcreator: first is installed by apt and binary is located in /usr/bin/. Second is installed in a custom location (I used a bundle from qt website). I run second version from ...
1
vote
0answers
65 views

Qt-creator publish tab missing click part

I am trying step by step to write some simple tutorial Ubuntu apps using qt-creator. First I've chosen HTML5 App then after writing some hello code or even after doing nothing I've tried to create a ...
1
vote
0answers
139 views

How do I run .ui files in ubuntu 12.04?

I created a very basic .ui file and edited it using pyqt. Now when I click the ui file, it opens in QT Designer. How do I run it? All it does in print ham (hehe). I'm sorry about my language, Please ...
1
vote
1answer
50 views

(QML) What does the “?” do in defining properties?

Popey { working: visible ? 100 } What does that "?" indicate in this example?
1
vote
0answers
204 views

Anybody know how to delete a file from QML without resorting to a C++ plugin?

Anybody know how to delete a file from QML without resorting to a C++ plugin? It should be possible to do in the folder that my app uses for data storage.
1
vote
0answers
21 views

In the Ubuntu SDK, is there a way to view all global variables in current project?

In the Ubuntu SDK, is there a way to view all global variables in current project? Working on one of the core apps, and I want to figure out if any global variables have been defined for the current ...
0
votes
2answers
180 views

Qt Creator - auto code generation

I have Ubuntu-Sdk IDE and I am doing HTML5 Programming in Qt Creator IDE, it is working absolutely fine, but when i click on Ctrl + Space, Auto Code is not generating, Please let me know what can i do ...
1
vote
1answer
224 views

unable to install ubuntu-sdk

qtcreator-plugin-ubuntu: Depends: libgcc1 (>= 1:4.1.1) but 1:4.9-20140406-0ubuntu1 is to be installed Depends: libqt5core5a (>= 5.2.0) but 5.2.1+dfsg-1ubuntu14.2 is to ...
0
votes
1answer
842 views

QtCreator does not start up

I have installed Qt Creator using Ubuntu Software Center but when I try to run it nothing happens. There is no error message, no new process, no new window.
2
votes
1answer
324 views

How do you equally space out elements in a Row?

Row{ width: parent.width spacing: ???? Checkbox{} Checkbox{} Checkbox{} Checkbox{} } So just to be clear, the checkboxes should be spaced in such a manner that however wide ...
1
vote
1answer
283 views

How to you get a flickable to do a smooth scroll?

Flickable{ Button{ onClicked: parent.????????? } Or do I have to create a function for this?
2
votes
1answer
52 views

Why does the Ubuntu SDK tell me, “do not use comma expression”, and what should I use instead?

So for example: onCurrentlyExpandedChanged: flickable.DragOverBounds, flickable.contentHeight += itemHeight,console.log(itemHeight) The commas will have a yellow underline, and the tooltip will ...
0
votes
2answers
291 views

Numeric pad always enter digits

In KDE there is an option to keep number work as if it is on: . But it does not work in edit area of Qt Creator. How can I solve this problem?
3
votes
0answers
177 views

Unable to build QtQuick 2 projects

I'm running Xubuntu 14.04, and I have the following packages installed: qt5-default (5.2.1) qtcreator (3.0.1-0ubuntu4) qml (5.2.1-3ubuntu15.1) They were installed from the official repos and are ...
4
votes
0answers
356 views

(QML) Flickable not working as supposed

So, while building an Ubuntu app I needed to use Flickable for scrolling, so now I have code of the form Page{ ... Flickable { anchors.fill: parent content.height: element1.height + ...
0
votes
2answers
5k views

Ubuntu Qmake is not an executable

I have the latest versions of qtcreator, qt5-qmake build-essential and g++ installed. In option of Build & Run and choose qmake in /usr/bin/qmake I get this error: The qmake executable ...
1
vote
1answer
447 views

Where are the Build and Src locations for QtCreator?

In the QtCreator Plugin Creation Wizard, this http://doc.qt.digia.com/qtcreator-extending/images/firstplugin-pluginsetup.png window asks for Qt Creator Sources, and Qt Creator Build. I installed ...
1
vote
1answer
53 views

Pair Programming in Ubuntu SDK?

How do you do collaborative code editing, aka pair programming, in the Ubuntu SDK? I heard you can do this in Vim, and I wonder if the Vim functionality in QtCreator makes this possible.
0
votes
2answers
1k views

How to get KDE4 for building a project in Ubuntu 12.04?

There is a command find_package(KDE4 REQUIRED) in the CMakeLists.txt file from the question How to make a project of Krusader. My attempts to build the project in the Qt Creator result in a message ...
2
votes
1answer
833 views

Ubuntu SDK: How do I implement a “onClick” for an image in QML?

I have a background image for my page, and I want to implement a sort of page refresh when the background is clicked. However, I didn't find any actions for the image element in QT quick. What's the ...
0
votes
1answer
3k views

Install old QtCreator on Ubuntu 14.04

I want to build my application on Ubuntu. The last versions have been tested and programmed under Windows, because it is a multiplatform application. Sadly, under Ubuntu the systray icon did not work ...
1
vote
1answer
3k views

unable to run make during installation of kernel 3.3.6

desktop:~/Desktop/linux-3.3.6$ make xconfig make[1]: Warning: File `scripts/kconfig/.zconf.tab.o.cmd' has modification time 1.7e+04 s in the future CHECK qt * Unable to find the QT4 tool qmake. ...
0
votes
1answer
448 views

Qt creator Learning tutorial for ubuntu 12.04

I am a new user for Ubuntu and qt creator, I want to learn Qt program with examples. Where could I find documentation about Qt Creator?
4
votes
0answers
853 views

Ubuntu and Qt creator keyboard layout change problem

When I run Qt Creator on my Ubuntu 14.04 with English layout, it always types in English and it won't change if I change my layout to other language. In front, when I run Qt Creator with Persian ...
3
votes
2answers
428 views

How to configure version control for Qt?

It might be just a basic thing for many, but I'm stuck at "Qt version control", and it's really annoying me. I'm on Ubuntu 12.04 LTS and my Qt version is 2.4.1. Here's the message which is displayed: ...
4
votes
1answer
2k views

QML: How to do variables?

In QML, I am just looking for a way to do fairly simple variables: Bool String Integer
2
votes
1answer
235 views

QML: QtQuick Extension Plugin - What is URI?

When starting a new Qt Quick Extension Plugin, it asks me to specify Object Class Name (Easy enough), but also something called URI. What does URI stand for? What does this project need URI for? ...
3
votes
1answer
70 views

What is the difference between Ubuntu.Components and QtQuick?

QtQuick 2.0 Ubuntu.Components 0.1 Are two common imports when developing applications for Ubuntu. Are these classes? Can you import member functions this way? If yes, how can tell what member ...
5
votes
2answers
10k views

Ubuntu 14.04 QtCreator Qt5 examples missing

After upgrading to Ubuntu 14.04 I removed the official qtcreator in order to install the modified version from the software center because I'd like to try the SDK. Fortunately, the docs are now ...
0
votes
1answer
897 views

module “QtQml.Models” is not installed

After upgrading to Ubuntu 14.04 I removed the official qtcreator in order to install the modified version from the software center because I'd like to try the SDK. Fortunately, the docs are now ...
1
vote
0answers
35 views

Use SystemSettings 1.0?

I'm developing a new app that I need to use the SystemSettings module for (I need to get the device serial, IMEI and stuff). When looking for a way to get these numbers I came across Ubuntu System ...
3
votes
2answers
1k views

Difference between Qt Creator and Ubuntu SDK?

Having downloaded them both when I installed the Ubuntu SDK, I wonder if there is any tangible difference between the two, such as the libraries being employed.
2
votes
2answers
2k views

“No executable specified.” Ubuntu SDK Unity8

Was working last night, but today when I started up again, I could not run unity8 out of QtCreator/UbuntuSDK. After building and running, it just states: "No executable specified." FYI; This is a ...
0
votes
0answers
43 views

Which PPA should I branch for developing the Unity Desktop UI itself? [duplicate]

In 14.04 using the ubuntu sdk. Imported lp:unity8, and lp:unity-mir. Unity8 requires unity-mir. unity-mir requires Qt5 core. I have it installed from the repositories, and so I just do not get what I ...
2
votes
1answer
787 views

Set Application Icon

I'm building a QML application with the Ubuntu SDK. I've figured out how to add an application icon to the .desktop file, but I'm not sure where to add the window icon itself. I've seen code for ...
0
votes
1answer
238 views

Ubuntu-SDK Plugin Loader Errors: Could not resolve dependency 'Core(2.7.1)' Could not resolve dependency 'ProjectExplorer(2.7.1)' [duplicate]

(In Ubuntu 13.10) Ubuntu-SDK opens with the following errors: Does anyone know how to resolve these dependencies?
0
votes
1answer
130 views

Missing package in Ubuntu SDK - qtdeclarative5-ubuntu-webapps-api

Installing the Ubuntu SDK failed because of missing package qtdeclarative5-ubuntu-webapps-api this was the message from apt-get: The following packages have unmet dependencies: ubuntu-html5-sdk ...
2
votes
1answer
688 views

How do I add a qrc file to my Ubuntu Touch qml project?

My UT QML project makes use of a set of images, and I was planning use them via "qrc:///pathtoimages/myimage.png" style of url. In Ubuntu SDK, I can "add new... Qt / Qt Resource File". The file is ...
2
votes
2answers
2k views

How to put MainView into maximized

[using ubuntu sdk to write an application for the desktop] Is there a way to change the window state of the MainView? MainView { ... width: units.gu(100) height: units.gu(75) Page ...
0
votes
1answer
124 views

QtCreator doesn't let me create Ubuntu Touch apps!

I've gone through the instructions for installing the SDK found here: http://developer.ubuntu.com/apps/create/get-the-sdk/ using Xubuntu 12.04. Everything went well except, for some reason, QtCreator ...
3
votes
0answers
848 views

TypeError: Cannot call method 'hasOwnProperty' of null, while creating a QMLscene window

I am trying to make a simple Ubuntu Touch web application with Qt Creator. I have set up a new project according to the tutorial and committed the files to Bazaar. I have set a url instead of the ...
0
votes
1answer
41 views

The pages that ubuntu-sdk adds to Qt-Creator can't be zoomed

Ubuntu-SDK adds 5 buttons to the Qt-Creator toolbar (wiki, pastebin, irc, core apps and api). The sole function those buttons seem to have is to link to some web pages. Those pages can not be zoomed ...