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
8 views

(QML) 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 ...
0
votes
0answers
16 views

(QML) 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
22 views

(QML) 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
29 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
20 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
45 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
22 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
74 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
33 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
20 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
42 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
6 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
41 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 ...
1
vote
1answer
41 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
95 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
78 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
62 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
17 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
24 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
339 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
60 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
58 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
52 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
38 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 ...
1
vote
1answer
1k 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
164 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
19 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
114 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
31 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
398 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
310 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 ...
1
vote
1answer
148 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
72 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
110 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
76 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
165 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
15 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
41 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 ...
0
votes
0answers
38 views

Why does Qt Creator automatically exit randomly after about 5 minutes?

I’m running Ubuntu 13.10 and have upgraded Qt4 to Qt5. While using Qt Creator 2.7 I’m facing two problems at this time. When I run Qt it only stays open for about five minutes or so. Also when you ...
0
votes
0answers
92 views

Qt Creator Problems

When you open the Qt Creator you get the Welcome screen. When I click anything it opens a new window that is see though. Also now it will only stay open for a few mins then it just closes. What ...
0
votes
0answers
211 views

App development without Qt Creator

Is it possible to develop app for Ubuntu without using Qt Creator? I wrote the same code in other text editor and compiled using qmlscene fileName.qml. An error popped up saying "components": no such ...
0
votes
0answers
42 views

QT4 IDE library

I am new to gaming code but I love the QT IDE. Qt does not have the libs. I want to use: OpenGL and Allegro. Is there a way to get these libs. in Qt or how do I use them?
0
votes
0answers
73 views

Qreator doesn't start - How to fix it?

I've installed Qreator using the following command sudo add-apt-repository ppa:qreator-hackers/qreator-stable && sudo apt-get update && sudo apt-get install qreator After a ...
1
vote
2answers
234 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
67 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
469 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
31 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 ...
0
votes
1answer
62 views

Can't create a project

I installed the IDE, following the instructions on your website. Than I went on to: http://developer.ubuntu.com/apps/qml/tutorial/ The tutorial says: In Qt Creator, press Ctrl+N to create a new ...
0
votes
0answers
170 views

QtCreator install not recognized

I've installed QtCreator 5.1.1 according to this site Install Qt-5 and everything is working well with it. I installed it /opt/QT5. Unfortunately, Muon software center does not list QtCreator in its ...