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
0answers
7 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.
1
vote
0answers
17 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
41 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 ...
0
votes
0answers
17 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
33 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
34 views

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

Popey { working: visible ? 100 } What does that "?" indicate in this example?
0
votes
0answers
34 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
16 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
39 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 ...
0
votes
1answer
41 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
51 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
49 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
46 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
35 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
67 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
46 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 ...
3
votes
0answers
98 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
0answers
35 views

Problem after editing rc.local in Ubuntu

I had a problem with QT Creator debugger. I received this error whenever I tried to debug : ptrace: Operation not permitted. Could not attach to the process. Make sure no other debugger traces this ...
0
votes
1answer
642 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
63 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 ...
0
votes
0answers
51 views

Install older Qt Creator in 14.04

How can U install Qt Creator 2.x on Trusty Tahr? I don't like 3.x series because it links against Qt 5 and, 1) my KDE is not linking against 5 yet, 2) I'm making widget plugins for QtC using Qt4.
1
vote
1answer
44 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
0answers
7 views

In Ubuntu SDK, how do you search for text which include linebreaks?

If you ctrl+f in Ubuntu SDK to browse through your code, and you paste within the search box a multi-line piece of text, it will fail to find any results. Is there a way to get around this ...
0
votes
2answers
69 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
84 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
420 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 ...
0
votes
1answer
452 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
104 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?
0
votes
0answers
25 views

How to remove shortcut to open device panel in QtCreator in Lubuntu 13.10?

I have just upgraded to Lubuntu 13.10 and when I use shortCut LShift + RShift to change keyboard layout in QtCreator it switches to the Ubuntu device panel. But in keyboard shortcut settings there is ...
0
votes
0answers
32 views

QML: How do I set my icon in the Ubuntu SDK with a CMakeLists based project?

How do I set my icon in the Ubuntu SDK with a CMakeLists based project? Do I need a specific type of image file, or can I use just a png?
3
votes
0answers
456 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
104 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: ...
3
votes
1answer
233 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
83 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
49 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 ...
2
votes
1answer
3k 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
291 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
20 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 ...
2
votes
2answers
269 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.
0
votes
0answers
57 views

ubuntu 12.04: Path Include in Make/options file

I am using OpenFOAM with QtCreator. Currently I have to implement some Integralfunctions with several input parameters like: Code: class IntegralFunctionB { private: double x; double y; ...
2
votes
1answer
802 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
42 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 ...
0
votes
0answers
434 views

qt creator 3.0.1 unable to initialize GLX on ubuntu 12.10 64 bit

My OS is Ubuntu 12.10 64 bit. When I run qtcreator-3.0.1.run file I am getting the following error: Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ...
2
votes
1answer
365 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
110 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
0answers
153 views

qDebug() output is not visible on a terminal

I use UBuntu 12.04 LTS. When I run a console application using Qt Creator an output of qDebug() is not visible on a terminal (I get only an empty terminal with a cursor). How to fix that ?
0
votes
1answer
83 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
276 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 ...
0
votes
0answers
19 views

Compare QtCreator v.2.7.2 with Ubuntu SDK

I'm used to QtCreator. Must I switch to Ubuntu SDK in order to develop apps for smartphones/tablets or can I develop the same just using QtCreator.
0
votes
0answers
53 views

Can I install the Ubuntu SDK alongside with PyQt?

I installed the Ubuntu SDK and everything goes very well. Now I want to install PyQt just to mess around with it. PyQt comes with Qt Creator, but it was already installed by the Ubuntu SDK. How can I ...