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

Unable to use the design button on QT Creator

Just did a clean install of Qt Creator 3.0.1 on Ubuntu 14.04. All my buttons work except the design button. It's completely grayed out and I am unable to click it. It seems to only happen when ...
3
votes
2answers
29 views

How to make an application use local shared library instead of the system one

I have qtcreator installed using the qt online installer. It ships which its own version of qt library. The qt library are also installed in the system directories, but those are older. I have ...
0
votes
1answer
34 views

In 15.04, Ubuntu SDK “make” is failing to build and run Ubuntu Core apps for the desktop.

I am getting this error in compile 01:09:30: Starting: "/usr/bin/make" Scanning dependencies of target ubuntu-clock-app.desktop [ 1%] Merging translations into ubuntu-clock-app.desktop... Died at ...
0
votes
1answer
31 views

How to enable Qt Creator 3.2.2 to use GDB?

After installing Qt Creator 3.2.2 from source I tried to run my project with Qt Creator's debugger frontend, but instead of starting to debug I got an error from Qt Creator: The selected build of ...
0
votes
1answer
64 views

How to make and application for Ubuntu phone OS in QT creator? [closed]

I want to develop and application for Ubuntu Phone os. How to do this in QT creator? Is it really possible to create an app for ubuntu phone os? or is does the Ubuntu phone apps made in the same way ...
1
vote
0answers
62 views

Problem with Qt Creator menu bar

I've just installed Qt Creator and all the options of the main menu bar are invisible, but I can click them. How to fix this? Link to Postimg.org
2
votes
2answers
90 views

QML app with C++ plugin (cmake) adding resource file

How to add qrc file to "QML app with C++ plugin (cmake)" project ? I can't find a working instruction. I found only one thing, add this to CMakeLists.txt: qt5_add_resources(RESOURCES ...
0
votes
1answer
59 views

Blank Devices page in Ubuntu SDK IDE (Qt Creator)

I've installed Ubuntu SDK as per this guide, but now I want to add an Ubuntu Touch emulator, however the Devices page in the IDE is blank, see screen capture: I am using Ubuntu 14.04 LTS What am I ...
3
votes
0answers
55 views

How can I get menu items in a Qt Quick application?

I'm using Qt Creator 3.1.1 on Ubuntu 14.10 (the version installed when you install Ubuntu SDK - the two seem to be the same application). I'm running the default Unity 7 desktop. When I create a new ...
0
votes
1answer
93 views

Ubuntu SDK fails to SSH to BQ Ubuntu Phone

I'm using the Ubuntu SDK/QT Creator and trying to deploy an HTML5 application to my Ubuntu Phone. QT Creator can see the device correctly and I can SSH into the phone manually from the command line. ...
0
votes
0answers
47 views

ubuntu-sdk showing blank spaces where icons should be

When I launch Ubuntu-SDK in Ubuntu 14.10 (64-bit) every Qt Creator aspect works normally except all the content that was specifically added by canonical. This is especially annoying in the 'Welcome' ...
1
vote
1answer
26 views

Problems in qt creator

I have written code in the qt creator on a pc running ubuntu. After this when I tried to run the same code on another pc using ubuntu, it's not working. The errors are: MainWindow: no such file or ...
0
votes
0answers
42 views

Qt Creator's window is a background picture

When I open Qt Creator on Ubuntu 14.04 the main window captures background and shows it as its own window. I have to change to other tabs to get its own background.
0
votes
0answers
13 views

Create Ubuntu installer for Qt project [duplicate]

I'd like to distribute one of my Qt projects in an installer on Ubuntu but I have no idea about how to do that at all. Say, I have a very simple Qt application just showing "Hello World" on a main ...
2
votes
2answers
172 views

QT Creator wants me to remove many programs before I can install it via Ubuntu Software Center

I've just upgraded my Ubuntu-gnome version from 14.04 to 14.04.02 and somehow I lost my QT Creator software which I commonly use to do my coding. I decided to install it again. When I tried to ...
-1
votes
1answer
103 views

Problem in QT Quick Test for QML application

I have a problem in QT Quick Test for QML application, when I add import in my file.qml like: import QtQuick 2.3 import QtTest 1.0 import ValueField 1.0 <--- import "../myFile.qml" <--- ...
0
votes
0answers
19 views

Ubuntu-sdk-QTcreator not starting

A week ago the Ubuntu sdk worked fine for me.However today I tired to start it,it loaded the welcome popup and just crashed.I have tried reinstalling and purging it. I have also tried to load it in ...
0
votes
1answer
133 views

No option for C++ in Qt Creator (for project)

I've installed the Qt 5.4.0 for Linux 64-bit (542 MB) on gnome ubuntu 14.04, When I started new project, I couldn't find the "Qt C++ Application" tab. There is option for C,QT,BLACKBERY....... But no ...
0
votes
2answers
100 views

Access appmenu 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
63 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
0answers
43 views

How to build .deb package with ubuntu-sdk

How can i build a .deb package with ubuntu-sdk? I don't want to publish to the ubuntu software center, only need a .deb package for my Ubuntu-SDK/QT Creator project. Thanks
0
votes
0answers
55 views

Ubuntu SDK keeps crashing at random times

Ubuntu SDK keeps crashing at random intervals. I'm running Ubuntu 14.04 with latest version of Ubuntu SDK. Error is: QPainter::setBrush: Painter not active QPainter::drawPath: Painter not active ...
0
votes
1answer
67 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
24 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
1answer
263 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 ...
4
votes
2answers
311 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
29 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
503 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
112 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
50 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
77 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
38 views

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

Popey { working: visible ? 100 } What does that "?" indicate in this example?
1
vote
0answers
101 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
19 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
98 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
121 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
152 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
127 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
106 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
41 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
145 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
87 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
185 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
49 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
2answers
2k 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
186 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
70 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
47 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
10 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
260 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 ...