I downloaded a free version of qt (5.6 5.7) with the tools and I made a card and when I want to compile I receive an error message that says:
"Error compiling / deploying test project (kit: Desktop Qt 5.7.0
MSVC2015_64bit) When executing step "qmake"".
I tried downloading other tools, but I always get the same error.
Related
When installing Rtools version 4.2 on Windows 10, I get a pop-up window with the following message at the end of the installation process:
Unable to execute file:
C:\WINDOWS\system32\cmd.exe
CreateProcess failed;code 2.
The system cannot find the file specified.
The only thing I have done previously is to install R (version 4.2.1.).
I fear ignoring this message will lead to issues later on.
I use MSYS2 on Windows 10 and have installed Qt 6.2.0 and Qt Creator 5.0.2.
Then I set up Qt Kit and see this warning:
Qt Kits warning
Warning: The compiler "MinGW-w64 MINGW64 C++ (MSYS2)" (x86-windows-msys-pe-64bit)
may not produce code compatible with the Qt version "Qt 6.2.0 (mingw64)"
(x86-windows-msys-pe-64bit).
How to address this issue?
I use MINGW64 subsystem of MSYS2 that has following related packages installed:
mingw-w64-x86_64-gcc 11.2.0-1
mingw-w64-x86_64-gdb 11.1-1
mingw-w64-x86_64-qt-creator 5.0.2-2
mingw-w64-x86_64-qt6-* 6.2.0-2
I failed to figure out toolchain version that was used to build Qt6 packages in order to provide the same toolchain for building applications. The only information I got is ABI : x86-windows-msys-pe-64bit and QT_VERSION : 6.2.0.
Warning message says both compiler and Qt have similar x86-windows-msys-pe-64bit ABI, but it seems to be insufficient.
Until this point I successfully build, run and debug code, but still would like to get rid of this warning if it makes sense.
It turns out this warning goes away when GCC compiler in Qt Creator Kit settings and GCC compiler used to build Qt installation have exactly the same versions.
Using mingw64/share/qt6/mkspecs/qconfig.pri, as suggested by ssbssa, I've got GCC version Qt installation was built with and supplied Qt Creator Kit with GCC compiler that have the same version. Now I see the warning is gone.
This is the error that shows up when I try to run "pip install PySide" on my Jetson Nano. Can someone please let me know how I can fix this error?
CMake Warning at /usr/share/cmake-3.10/Modules/FindQt4.cmake:620 (message):
/usr/bin/qmake reported QT_INSTALL_LIBS as "/usr/lib/aarch64-linux-gnu" but
QtCore could not be found there. Qt is NOT installed correctly for the
target build environment.
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython2.7.so (found suitable version "2.7.17", minimum required is "2.6")
-- Found LibXml2: /usr/lib/aarch64-linux-gnu/libxml2.so (found suitable version "2.9.4", minimum required is "2.6.32")
-- Could NOT find LibXslt (missing: LIBXSLT_LIBRARIES LIBXSLT_INCLUDE_DIR) (Required is at least version "1.1.19")
Qt QTGUI library not found.
Qt QTXML library not found.
Qt QTCORE library not found.
CMake Error at ApiExtractor/CMakeLists.txt:82 (qt4_add_resources):
Unknown CMake command "qt4_add_resources".
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-build-mimaL7/PySide/pyside_build/py2.7-qt4.8.7-64bit-release/shiboken/CMakeFiles/CMakeOutput.log".
error: Error configuring shiboken
PySide does not have official release package for ARM systems. You have to build it yourself. All I can afford is this .whl, but keep in mind that it was built on Ubuntu 20.04 with JetPack 4 and Python 3.6 on board.
I'm seeing following error while trying to Install Qt5.12 on travis-ci linux. Someone please help
$ ./qt-opensource-linux-x64-5.12.10.run
QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" since plugins are disabled in static builds
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: minimal, xcb.
I succesfully build Qt 4.8 (without QtWebKit) on CentOS 5.8 (Qt Assistant and the demo's run fine). I also built Qt Creator 2.4.1 against Qt 4.8. I did not observe any errors during the process of building Qt Creator. However, when I attempt to run Qt Creator I receive the following error:
[root#localhost bin]# ./qtcreator
Cannot resolve 'dbus_get_version' in your libdbus-1.
Aborted
Has anybody encountered this error before? How did you fix it? Unfortunately upgrading to a better OS (such as Ubuntu) is not an option for me.
Thanks,
David
QtDBus module loads libdbus-1 library in runtime (via dlopen). That's why you don't have compile/link errors.
You can try either to upgrade dbus package (or whatever package contains libdbus-1.so) or use previous version of Qt.
(In Gentoo QtDBus-4.8 depends on dbus-1.2 and QtDBus-4.7.4 depends on dbus-1.0.2).