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
24 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' ...
3
votes
2answers
5k 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 ...
1
vote
1answer
16 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
1answer
245 views

ctrl+R shortcut doesnt work anymore

i was following the standard ubuntu touch app (currency converter), i messed things up with the showcase file, then set everything up again from scratch. Only difference being that the Ctrl+R shortcut ...
2
votes
2answers
1k 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
3answers
12k views

Where does apt-get install libqt4?

I've been searching for literally hours and I cannot figure out where for the life of me libqt4 is installed by apt-get. I installed: libqt4-dev libqt4-core libqt4-gui libqt4-xml libqt4-opengl ...
2
votes
2answers
150 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 ...
5
votes
3answers
3k views

Missing documentation for Qt5 on Ubuntu 13.04

I use Qt Creator for building applications and recently I decided to upgrade my Ubuntu from 12.10 to 13.04 and upgrade my current project from Qt4 to Qt5. The problem is that the Help section provides ...
0
votes
2answers
1k 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 ...
0
votes
0answers
20 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 ...
-1
votes
1answer
67 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" <--- ...
3
votes
2answers
177 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
2answers
94 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
0answers
14 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 ...
2
votes
2answers
1k views

Can I create a proprietary application using Qt?

I am using Qt4 to build an application and for some reason I want to keep it proprietary. Qt4 is released under LGPL, does that force me to release the code to my application. I ask this question ...
0
votes
1answer
217 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
1answer
1k views

Debugging applications in QTCreator

Every time I go to debug some code in QTCreator, I get this GDB error returning. Current setup: Ubuntu 11.04 QT Creator version: 2.1.0 GDB Version: GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2 ...
1
vote
1answer
42 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
56 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 ...
0
votes
0answers
33 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
40 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
44 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, ...
1
vote
1answer
860 views

Qt5 font rendering in Ubuntu 13.04

My fonts in general within QtCreator inside Ubuntu 13.04 looks 'ugly' when compared to how they looked in 12.10. 12.10 still used Qt4, so did something regarding the font rendering in Qt5 and the ...
0
votes
1answer
22 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
23 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
367 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 ...
3
votes
2answers
569 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
1answer
218 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
0answers
8 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
83 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 ...
2
votes
3answers
1k views

Mobile app development issues with qmlviewer not being found?

I am trying to follow the Mobile app development tutorial found here. When I try to run the currency converter in QT Creator I get this error: Starting external tool '/usr/bin/qmlviewer' '' ...
1
vote
1answer
95 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
1answer
111 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.
1
vote
0answers
44 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
1answer
38 views
1
vote
0answers
62 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 ...
0
votes
0answers
74 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
1answer
99 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 ...
1
vote
1answer
77 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
107 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 ...
2
votes
1answer
39 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 ...
1
vote
2answers
782 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 ...
3
votes
0answers
156 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
120 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?
1
vote
1answer
1k 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. ...
3
votes
0answers
74 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 ...
0
votes
0answers
44 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 ...
1
vote
1answer
133 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 ...