qttools | Qt Tools -
kandi X-RAY | qttools Summary
kandi X-RAY | qttools Summary
Qt Tools
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of qttools
qttools Key Features
qttools Examples and Code Snippets
Community Discussions
Trending Discussions on qttools
QUESTION
I just started learning Docker and trying to build a C++ project for Windows on Ubuntu. For that I use this project which almost works, but I have linking error, particularly it fails to link against libssh.
I run the build of my project using this command:
...ANSWER
Answered 2021-Feb-17 at 09:07I simply needed to copy the missing file to the existing container:
QUESTION
I'm using KTimeTracker to monitor my time on different projects. I have a PHP script that periodically runs to give me an idea on how long I've worked in the day.
The PHP script used to connect to KtimeTracker using qdbus to save to file and then use qdbus to export the CSV file.
For those that wonder why I'm bothering with this setup, I work from home and need to monitor my time to ensure I'm working the right number of hours.
The script worked perfectly well for quite a while but has recently started failing when using qdbus. The simplest call to qdbus is :
qdbus org.kde.ktimetracker /KTimeTracker saveAll
The result of this is
Segmentation fault (core dumped)
qdbus org.kde.ktimetracker /KTimeTracker
ANSWER
Answered 2020-Nov-21 at 14:23replace qdbus
command with qdbus-qt5
QUESTION
After successfully building static QT and my application binary on Linux I moved to Windows to try out the same.
...ANSWER
Answered 2020-Jul-05 at 19:59The problem was with VirtualBox display driver which by default doesn't support OpenGL. When I turned on the 3D acceleration in VirtualBox settings the Qt Qml static application worked. This also justifies why my statically linked application worked on Windows 10 as those were installed on direct hardware, not on VM, thus was using proper underlying driver and opengl.
So this implies when you use -opengl desktop
flag it uses underlying operating system's opengl library and even though mingw links with -lopenglw32 it still depends on system's opengl.
QUESTION
I'm trying to build our application using Qt 5.13.0 installed via Conan/Artifactory. We run our own Artifactory server and the Qt version there is self-build (and statically linked) in our CI solution. We use the Conan recipe for Qt written by the bincrafters, slightly modified to apply some patches for known Qt bugs and set some flags for building properly on Android and WebAssembly.
When trying to build the application, the linker fails to find the necessary dependencies for Qt itself because it tries to look them up in the home folder of the user who build the Qt package, not the user who's running the build.
Here's an excerpt from the build log, showing the attempt at linking all previously compiled object files together:
...ANSWER
Answered 2019-Sep-17 at 11:00Indeed, when building qt, all paths to dependencies are hardcoded in configurations files (mkspecs\modules\qt_lib_*.pri).
I assume you are building your application with qmake, because you use static qt, and static qt is incompatible with cmake. One thing you could try is to pass the full path to harfbuzz lib to qmake by adding argument QMAKE_LIBS_HARFBUZZ=/home/kaupes/.conan/data/harfbuzz/2.4.0/bje/stable/package/c68551ae35bf5d62e66263379d58a38416eb84a9/lib/libharfbuzz.a
to your qmake invocation.
Edit: it seems to be a knwonw behaviour of qt >= 5.12.1 : https://bugreports.qt.io/browse/QTBUG-72903. This feature has been reverted in 5.14.x and 5.15.x with https://github.com/qt/qtbase/commit/9864d2c6f3b628ca9f07a56b197e77bd43931cca
QUESTION
Qt: 5.9.8
Host: ubuntu 19.04
Compiler: arm-linux-gnueabi-gcc (Ubuntu/Linaro 8.3.0-6ubuntu1) 8.3.0
build command:
...ANSWER
Answered 2019-Aug-20 at 09:57you have set the option -no-feature-completer
, try to reconfigure the build without it.
QUESTION
I write my pet project. At first, it was based on cmake and I set the path to qt libs from the console, e.g. cmake -DPATH_TO_QT:STRING=/home/user/Qt/5.11.1/gcc_64/
The variable PATH_TO_QT
was declared as set(PATH_TO_QT "/path/to/your/Qt/" CACHE STRING "Path to Qt")
With this configuration, my project worked very well.
However, I wanted to add in my project Conan Package Manager and I did it. My conanfile.txt:
...ANSWER
Answered 2018-Dec-04 at 11:06I solved the problem myself. So if you have the same problem you can try to install the next dev-libs:
QUESTION
I am trying to build meta-toolchain-qt5. However, I am getting these errors. I am following the guide - Guide Qt5 build
Here are the things I have done so far -
Inside poky -
...ANSWER
Answered 2019-May-22 at 02:23You have two options
First
tslib
is provided by meta-oe
layer so you need to get that layer and add that to your BBLAYERS
so inside your poky tree
QUESTION
On a Debian 8, I have installed openssl library (both runtime & dev), version 1.0.1t. Those were installed using apt-get
. So, default location: /usr/include/
and /usr/lib
.
I compile a file that uses openssl library: (generated from qmake
)
ANSWER
Answered 2019-Mar-20 at 18:57/usr/local/include
is in default search paths for your compiler
You can check those by calling echo | g++ -E -v -
You should get output similar to this:
QUESTION
Compilation of Qt 5.10 in debug mode with MSVC++ 2017 x64 compiler fails. In release mode, the error does not appear.
Error itself is:
```
...ANSWER
Answered 2018-Feb-15 at 10:53QRandomGenerator definition conflicts with min macro defined by MSVC. See the related bug in Qt. It's already fixed and is available in Qt 5.10.1.
As a workaround you can add
QUESTION
There is a imx6 board with linux3.0.35&Qt4.8.5.
I have updated Qt4.8.5 to Qt5.9.2 by cross compile Qt5.9.2 source code.
QML application can build OK and display OK with Qt5.9.2.
But touch invalid, although the touch display work well.
The log in eventfilter() as below:
...ANSWER
Answered 2018-Jan-25 at 04:10Set QT_QPA_GENERIC_PLUGINS as tslib and evdevkeyboard, but not evdev.
The issue was fixed.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install qttools
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page