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.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

I'm unable to get Qt5 to work with SQLite

I'm unable to get Qt5 to work with SQLite. Using Ubuntu Desktop 18.04.4; Qt Creator 4.5.2 (Based on Qt 5.9.5 (GCC 7.3.0, 64 bit)) QSqlDatabase::drivers(); reports ("QSQLITE", "QMYSQL", "QMYSQL3") ...
2
votes
2answers
193 views

QtCreator not recognizing linked libraries after upgrading Ubuntu to 20.04

I've upgraded from Ubuntu 18.04 to 20.04 and besides some nasty grub issues most things worked out of the box. But my QtCreator (Qt Creator 4.11.0, Based on Qt 5.12.8 (GCC 9.3.0, 64 bit)) is facing ...
0
votes
0answers
26 views

Run debug with sudo permission using qt creator

I want to debug my app at terminal with sudo permission. I tried to change the terminal settings to /usr/bin/xterm -e sudo and /usr/bin/gnome-terminal -x sudo, but it is just open empty terminal and ...
4
votes
1answer
151 views

How do I discover my current system encoding?

In QtCreator, they have something that looks like this: I changed the defualt encodring setting in an attempt to get my ide to display emojis, and now my system is really acting up. Including web ...
0
votes
0answers
90 views

QtCreator global menu in Unity 19.04

I just installed the version of Qt Creator available with the default repositories in 19.04 and noticed it has no global menu enabled on Unity (which I use instead of the default GNOME). Anyone knows ...
1
vote
1answer
334 views

How to install Qt-Creator 2.5.2 in Ubuntu?

I am using Ubuntu MATE. I have installed Qt Creator 3.5.1 on my system but I want to install Qt Creator version 2.5.2. How can I install it?
1
vote
1answer
568 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 ...
0
votes
0answers
32 views

How do i enable QT declarative module & script module in Ubuntu while installing QT 4.8?

I want to enable QT declarative module and script module while installing QT 4.8 through the following link : "How to install Qt verion 4.8.1 in Kubuntu 14.04". I am using Ubuntu 14.04. please help :)
0
votes
1answer
120 views

Where is .deb file created after running the command sudo make install in qt 4.8 installation process in Ubuntu?

Please refer to this link How to install Qt version 4.8.1 in Kubuntu 14.04. I have run ./configure make sudo make install Where is .deb file created after run the command sudo make install in qt 4....
0
votes
1answer
1k views

Cant find Qt5Designer, qt5svg and qt5x11extras

I'm trying to install KLatexFormula and it's cmake script is giving the error that it cant find the package config files Qt5DesignerConfig.cmake and qt5designer-config.cmake. Cmake asked me to add ...
0
votes
2answers
202 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 ...
0
votes
1answer
2k 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. ...
2
votes
1answer
1k views

No examples are shown in Welcome screen of qtcreator

So I installed qtcreator package on ubuntu 18.10. I found out that to get the examples, I also needed the qtbase5-examples and the qtbase5-doc-html package. But there are still no examples shown in ...
0
votes
0answers
169 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....
4
votes
1answer
2k views

Font size in Qt Creator is too small

I am trying to install Java 9 on Ubuntu 18.04 as I heard it could work as a solution for super small font of Qt Creator. However, when I type in the terminal: sudo apt install openjdk-9-jdk I get ...
0
votes
2answers
3k views

Start using PyQt with Qt Creator

I would like to use PyQt with some Qt Creator. How many and which packages I have to install? $ sudo apt-get install qtcreator If I install just qtcreator, do I have to install also PyQt? $ sudo ...
7
votes
3answers
16k views

Gtk-Message: Failed to load module “overlay-scrollbar” Ubuntu 17.10

I run application in reinstalled Qt Creator 3.5.1 (opensource) Based on Qt 5.5.1 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 32 bit) And the building is successful. But also there are warnings: Gtk-...
0
votes
1answer
1k 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 ...
0
votes
0answers
382 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 ...
3
votes
1answer
3k views

PyQT Creator Qt designer: No such file or directory

There is a bash command that comes with installing PyQT Creator called designer that will run a tool called Qt Designer, found under the Qt Creator package. It helps you create GUIs - pretty cool ...
0
votes
1answer
312 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 ...
1
vote
1answer
1k views

OpenCV imread() problem

I have installed OpenCV lately and I cannot use imread(). This is my code #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <iostream> using ...
0
votes
0answers
297 views

Errors while compiling an imported project in Qt Creator

I'm trying to compile an existed project from other machine on qt creator. I'm getting this message: 4:34:38: Exécution des étapes pour le projet Vsoil... 14:34:38: Débute : "/usr/bin/make" all -- ...
1
vote
1answer
2k 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
2
votes
0answers
44 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 ...
5
votes
1answer
2k views

Qtcreator hangs and crashes

I have a big problem with Qtcreator I can't even write a code because it hangs/crashes whenever I bring up Qtcreator on ubuntu 16.04. I have Qt Creator 3.5.1 Based on Qt 5.5.1 (GCC 5.2.1 20151129, ...
1
vote
1answer
1k views

unable to open QtCreator

I installed QtCreator 5.8 by download Qt.run file(Qt 5.8.0 for Linux 64-bit) from Qt offical site( http://www.qt.io/download-open-source/#section-2). I installed by command line(sudo ./qt.run)....
1
vote
0answers
226 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 ...
1
vote
0answers
685 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 -...
0
votes
0answers
40 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 ...
2
votes
1answer
980 views

Qt5 - how to use Free? Asking for money

I need to use Qt5 till i release my final version, my client wont pay until he see the whole application is stable and not having any issue. But Qt5 is asking money before even i get a client. In ...
1
vote
0answers
147 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/...
2
votes
2answers
1k views

How to send commands to terminal and receive data from it?

Linux, Qt Creator. I ran this in a debugger: #include <stdio.h> char p[1000]; int main() { scanf("%s",p); return 0; } It works. However, no terminal appears when I double click the ...
1
vote
1answer
2k views

How to insert “tab” character in Qt Creator

In Qt Creator (3.0.1, Ubuntu 14.04.LTS), how do you insert a literal "tab" character (\t) (into a C source file) in the Text Editor? (Within a line, the Tab key inserts spaces as per your C++ ...
5
votes
4answers
4k views

Qt Creator not working with VirtualBox 3D Acceleration

I am running vanilla 64-bit Ubuntu 14.04 LTS in latest VirtualBox (5.1.12) under Windows 7. I have VB's latest Guest Additions installed. I have switched VB's Display Enable 3D Acceleration on. I ...
4
votes
1answer
1k views

Force OpenGL software rendering for specific programs

I am running Ubuntu 16.10 in Virtualbox (v5.1.10 latest) on a Windows 7 guest. All OS are x64. Since forever, Virtualbox has had the problem that enabled "3D HW acceleration" crashes some OPenGL ...
0
votes
0answers
174 views

Unresolved dependencies when trying to install Qt Creator

I face this problem when I install the Qt Creator. I am using Ubuntu 14.04 LTS.
3
votes
0answers
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 (...
1
vote
2answers
74 views

Ubuntu SDK and Qt Creator on same machine

Can Ubuntu SDK and Qt Creator coexist on the same Ubuntu machine without one affecting the other? Machine is running Ubuntu 16.04.1 AMD64.
3
votes
1answer
5k views

How to remove an old version of Qt and keeping the new one?

I have Ubuntu 16.04 installed on my PC (it has Qt Designer...etc preinstalled). Today I installed Qt5.5 using these instructions. When I open Qt Creator it detects two versions of Qt (Qt5.5 and Qt4....
1
vote
0answers
313 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: ...
0
votes
1answer
1k views

Qt creator 5.7 installation in ubuntu 14.04

I was using an old version of Qt creator, then I downloaded Qt-creator5.7 and installed manually in my home folder. I couldn’t find any executable with name qt/ qtcreator in the home/Qt5.7.0/5.7/...
1
vote
1answer
854 views

qt-creator will not install

I tried to install qt creator from both app grid, software-center, and gnome-software. All 3 yielded an error similar to this error: I expanded the "details" section and got this output: The ...
0
votes
1answer
502 views

QT Creator release build

So I was just wondering about this and I couldn't find a sure answer online and I need to be sure. I have some libraries in my project like OpenCV. And the question is: after I build the release ...
0
votes
1answer
675 views

QtCreator crash upon editing

I am using Ubuntu 16.04 on a laptop Dell XPS 15 9550. Current kernel is 4.4.0-34. Display resolution is 3840x2160. I am using nvidia prime and currently the nvidia driver 370, but I select "Intel" in ...
1
vote
1answer
349 views

How to add binary third party libraries in qt creator (Ubuntu-sdk verison of QT-Creator)

I try to write an app for ubuntu unity8 and i use a third party library in that app. My problem is that i would like to use the binary version of that library in my app and not the source files of ...
2
votes
1answer
576 views

How to install QtRuby + Qt4 on Ubuntu 14?

I wish to program in ruby in QtCreator. If I'm right, I need to install QtRuby + Qt4, but with no success on Ubuntu 14. How to do? Thanks!
0
votes
1answer
79 views

Ubuntu SDK unable to play scope

I've just created a Unity Scope project in Ubuntu SDK. However I'm not able to run it, If I target the Desktop, I have the following error : Starting /usr/ubuntu-sdk-ide/share/qtcreator/ubuntu/...
1
vote
0answers
35 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 ...
0
votes
1answer
799 views

QT Creator cannot start ubuntu apps on ubuntu 16.04

If i create a new project with QT Creator (Ubuntu 16.04) QML App with C++ plugin (cmake) Framework: ubuntu-sdk-15.04.4-qml Desktop Unix-Generator (Desktop) ( CMake works without problems ) I start ...