Questions tagged [qt-creator]

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.

59 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
1k 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 "...
lofidevops's user avatar
  • 20.9k
5 votes
0 answers
2k 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 ...
Ali MasudianPour's user avatar
3 votes
1 answer
1k views

Qtcreator freezes after few minutes of use

I just installed Qt 4.1.0 Based on Qt 5.7.0 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit) And every time I run it after a few minutes of use it freezes. I have Ubuntu 16.04.1 LTS, on a laptop (...
elichai2's user avatar
  • 681
3 votes
0 answers
460 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 the ...
Darshak Parikh's user avatar
3 votes
0 answers
1k 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 ...
tomoqv's user avatar
  • 839
2 votes
0 answers
49 views

What happens to the Ubuntu SDK spin of QtCreator now that Unity8 has dissolved?

What happens to the Ubuntu SDK spin of QtCreator now that Unity8 has dissolved? Is it going to continue development? Are its plugins still useful to Canonical such as for say, snap packaging? Are ...
Anon's user avatar
  • 12.1k
2 votes
0 answers
455 views

Unable start qt creator on ubuntu

I did install qt creator in ubuntu 14.04 using Ubuntu software center, but whenever i click on icon it just flashes but will not start, can please someone tell me the solution so that i can fix this ...
pavan betageri's user avatar
2 votes
0 answers
933 views

Qt-Creator freezes my Ubuntu

I am trying to develop apps for Ubuntu mobile, but whenever I try to run the app in an emulator everything freezes and then I have to restart my system. I am using Ubuntu 14.04 LTS and Qt Creator 3.1....
shivam's user avatar
  • 21
2 votes
2 answers
2k 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 modules/...
leouss4dev's user avatar
2 votes
0 answers
2k views

How can I set up a build target in Qt Creator to compile for 32 bit on 64 bit Ubuntu?

I am running 64 bit (x86) Ubuntu and would like to be able to build Qt projects for a target architecture of 32 bit (x86). Qt Creator allows the configuration of multiple 'build kits' for compilation ...
lazyteq's user avatar
  • 137
2 votes
1 answer
1k views

“Qml2Puppet” windows appearing in Qt Creator

Using Qt Creator 2.7.0, when I switch to design view of a qml file, I'm now getting 3 additional, unresponsive windows opening up, all with the title “Qml2Puppet”. This didn't used to happen. I've ...
Simonski's user avatar
  • 275
2 votes
0 answers
183 views

Ubuntu Phone App Development Clarification

I attempting to follow the Ubuntu Phone App development tutorial to make a Currency Converter, and I am simply unable to complete the tutorial. I have installed all of the latest QT/Phone related ...
Dominic Jordan Hasford's user avatar
2 votes
1 answer
507 views

Problem with libqt4-dev. Messed up dependencies

I'm running Ubuntu 12.04 and tried to update ubuntu-sdk but today it wasn't possible without adding phablet-team/tools PPA as described here https://wiki.ubuntu.com/Touch/Install#Step_1_-...
mivoligo's user avatar
  • 830
2 votes
0 answers
2k views

Mobile app development: "No qmlviewer installed" when trying to access Qt 5 in Qt Creator

As we all know, trying to force Qt Creator to use qmlscene instead of qmlviewer is like trying to force Eclipse, after already having installed JDT, to use CDT instead. Googling "No qmlviewer ...
realkstrawn93's user avatar
1 vote
1 answer
263 views

Syntax error in object.h file from python3.10-dev package

I am writing a code to edit Sqlite database from c++ and then using PyBind11 to use the program with python. I installed PyBind11, built it till here no issue but when I am building the code it shows ...
Raghav's user avatar
  • 11
1 vote
0 answers
3k views

'/lib64/ld-linux-x86-64.so.2': no such file or directory

Hello I have problem when i want to install qt creator in ubuntu using raspberry pi. the problem say '/lib64/ld-linux-x86-64.so.2': no such file or directory. can someone help me with this.
nur88's user avatar
  • 39
1 vote
1 answer
2k views

Qt Creator kept warning about "Cannot create file ... : Permission denied"

I'm on Ubuntu 16.04, and did a fresh install of qt creator. Using this command: $ ./qt-unified-linux-x64-3.1.1-online.run The Qt folder after installation is like: $ ll total 127000 drwxrwxrwx 8 ...
foodtooth's user avatar
1 vote
1 answer
6k views

Can't launch Qt Creator in Ubuntu 18.04

My environment initially had qt4 and Qt Creator seemed to work fine back then. I installed qt5 and after that Qt Creator does not launch anymore. Qt Creator works fine in my virtual machine however. ...
LostDeveloper's user avatar
1 vote
1 answer
3k views

building a pro in qtcreator gives "qtWidgets: No such file or directory"

I'm using Ubuntu 16.04. After installing qtcreator 3.5.1, opening and building a .pro file gives the following error: qtWidgets: No such file or directory
user2585501's user avatar
1 vote
0 answers
314 views

Getting camera buffer using Qt with c++ and QML

I am new in Ubuntu touch apps development. my question is : is there a method to get a buffer or images from phone camera using C++. after that, i must process these images pixel per pixel and past ...
Houssem Merdaci's user avatar
1 vote
0 answers
772 views

error: cannot find -lQt5Multimedia

I copied a Qt project from my laptop running on ubuntu 14.04 LTS into Jetson TK1 running on 14.04.1 LTS. And when I try to build the project its showing the following errors: error: cannot find -...
Sam's user avatar
  • 31
1 vote
0 answers
164 views

qtcreator 3.5.1: beautify on every safe

I have installed ClangFormat as beautifier for qtcreator, and it works via the hotkey in qtcreator, but I want it to beautify all code-files on every safe. According to http://doc.qt.io/qtcreator/...
wotanii's user avatar
  • 129
1 vote
0 answers
344 views

Problem at create a new target in qtcreator

At create the first project and create the target, give me the next error: Console: ricardo@zeus:~$ ubuntu-sdk file:///usr/ubuntu-sdk-ide/lib/Qt/qml/QtQuick/Controls/ToolBar.qml:143:9: QML Item: ...
Neoniet's user avatar
  • 115
1 vote
0 answers
38 views

Will Ubuntu-SDK as module for other frameworks

I use CLion. For me (and for most people, I suppose) QT Creator is not good choice for working. Will it be possible in the future to install Ubuntu-SDK to other programs (for example CLion)? Because ...
Alexey Ananyev's user avatar
1 vote
2 answers
395 views

Ubuntu IDE tries to run CMake-based ARM projects on desktop instead of device: bug or what?

I have imported CMake-based project into Ubuntu IDE. It uses plain C++ with no QML components. When I try to run it, it does not deploy to device, but runs on desktop (unsuccessfully, reporting it can'...
MaxEd's user avatar
  • 111
1 vote
0 answers
578 views

Using qt debug symbols from ppa in qtCreator

How to make use of debug symbols in qtCreator, that are installed using ppa? I use Stephan Binner "Qt 5.5.1 for /opt Trusty" packages, including packages with -dbg postfix. Running command: dpkg-...
Dorian's user avatar
  • 270
1 vote
0 answers
87 views

After installing QtCreator, lightdm not turn on xubuntu 14.02

I just simply wrote sudo apt-get install qtcreator in terminal and saw how he removing xserver and some graphical packages in installation process. At the end, he install them again, but after reboot, ...
Ispen's user avatar
  • 11
1 vote
0 answers
454 views

Have Qt Creator execute gdb command after all libraries are loaded

I would like to setup Qt Creator debugger to ignore all boost files when stepping through my code. Just to test, I added the command: "skip file /usr/include/boost/ptr_container/ptr_sequence/...
Levi Armstrong's user avatar
1 vote
0 answers
1k 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
user3513483's user avatar
1 vote
0 answers
78 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 ...
sebag's user avatar
  • 11
1 vote
0 answers
1k 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 ...
Jatin Kaushal's user avatar
1 vote
0 answers
850 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.
Anon's user avatar
  • 12.1k
1 vote
0 answers
29 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 ...
Anon's user avatar
  • 12.1k
1 vote
1 answer
430 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 ...
Rohit Ranjan's user avatar
1 vote
0 answers
59 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 ...
Daniel Holm's user avatar
1 vote
1 answer
774 views

Ubuntu touch tools

I'm doing a porting exercise to port an application from Ubuntu to Ubuntu Touch. The application uses gcc 4.1.2, CMake 2.6.4, binutils 2.22. Q1. What tools are needed for setting up a Ubuntu Touch ...
bikram990's user avatar
  • 186
1 vote
1 answer
221 views

QT creator tutorial: Itemstyle invalid

Running the Currencyconverter tutorial "itemstyle" in the following line is underlined with red: ItemStyle.class: "title" with an error "invalid property name" How to fix this error?
hpack's user avatar
  • 11
0 votes
0 answers
86 views

Qt creator not installed properly on my ubuntu 23.04 pc

I have installed Qt creator on my pc using the online installer. but when I run the command qtconfig in my terminal I get this output:qtconfig: could not find a Qt installation of '' I can create ...
AmirAli Rahmani's user avatar
0 votes
0 answers
155 views

error QTcreator using ubuntu 22.04

Traceback (most recent call last): File "/home/123/Documents/untitled1/widget.py", line 6, in <module> from PySide6.QtWidgets import QApplication, QWidget ImportError: /snap/...
che niling's user avatar
0 votes
1 answer
416 views

Best way of building a Ubuntu CMake app as cross platform on Visual Studio 2022 Community Ed. c++?

Questions: Are there CMake differences between Ubuntu 22.04 and Visual Studio 2019 Comm Windows 10/11? Aside from CMake version minimum 3.20 for VS2019, I had been using 3.23 on Ubuntu. Qt required ...
Sildeag's user avatar
  • 153
0 votes
1 answer
80 views

Ubuntu 20.04 text editor jump

If I'm writing in Qt Creator and go to firefox do some browsing, tab switching and go back to Qt Creator, sometimes the cursor jumps and scrolls to some random location (I think to the top) which is ...
immerhart's user avatar
  • 101
0 votes
1 answer
348 views

Use startup application to run project file of QT creator

I am using Ubuntu 18 and want to run a project(created using QT Creator) when Ubuntu starts up. I have used startup application to add any program that will run when we start Ubuntu.But I don't know ...
Manjot Kaur Hansra's user avatar
0 votes
2 answers
988 views

After upgrading Qt, Ubuntu still uses the old version

On my Ubuntu machine, I have a version of Qt installed. This was installed a while ago, and I cannot remember how I installed it. But if I run apt list --installed from the command line, there are ...
Karnivaurus's user avatar
  • 1,024
0 votes
0 answers
598 views

Uninstall old Qt Creator, keep the new one

When I execute Qt Creator from the Unity dash (Ubuntu 16.04) I find 2 versions of Qt Creator (I installed both of them): Qt Creator 3.5.1 based on Qt 5.5.1 Qt creator (community) 4.7.1 based on Qt 5....
K. Weber's user avatar
  • 361
0 votes
1 answer
3k views

qtcreator says file not found in issues list

This problem seems annoyingly intermittent. Sometimes I'll build a project and all the errors in the issues list say "file not found". I've triple checked the file exists. The make command prints an ...
jozxyqk's user avatar
  • 1,111
0 votes
0 answers
439 views

issues with two version of qtcreator?

I recently compiled qtcreator from the source files, but noticed i was missing some plugins, so I uninstalled by sudo make uninstall rm -rf qtcreator.dir qtcreator.tar I then later found a wizard ...
I am not Fat's user avatar
0 votes
1 answer
547 views

Can't click OK to change qtcreator to use tabs for C++

In qtcreator's Tools -> Options -> Text Editor -> Behavior there's tabs and spaces settings. This doesn't affect C++. Instead, the coding style needs to be set in Tools -> Options -> C++ -> Coding ...
jozxyqk's user avatar
  • 1,111
0 votes
0 answers
42 views

Writing code in c++ and it skips some

Sorry if the title was a little confusing. What I'm doing is creating a simple app to install certain programs in ubuntu. A friend wanted me to do this for him so he will have all of his apps in one ...
Christopher Champion's user avatar
0 votes
1 answer
2k views

How do i make QtCreator to stop using both gtk+2.x and gtk3

I am trying to build an opencv project in QtCreator on an ARM board ( ODROID-XU4). Its a gui application but when i try to execute the code it throws an error "GTK+ 2.x symbols detected. Using GTK+...
MarKS9's user avatar
  • 1
0 votes
2 answers
3k views

qtcreator 3.5.1 (Qt 5.5.1) crashes on Ubuntu 14.04, VritualBox Could not initialize GLX Aborted (core dumped)

I just installed Qt 5.5.1 on Ubuntu 14.04LTS under VirtualBox 5.0.14. I can't runt Qt Creator, after a long list of warnings at the end it prints Could not initialize GLX Aborted (core dumped) ...
ulitosCoder's user avatar