I have complied "frameBuffer" canvas3D example using Qnx kit and trying to run that executable on my Qnx target but it is throwing below error:
./framebuffer &
[1] 1216519
QML debugging is enabled. Only use this in a safe environment.
QQnxScreen: QQNX_PHYSICAL_SCREEN_SIZE variable not set. Could not determine physical screen size. Defaulting to 150x90.
qrc:/main.qml:39:1: module "QtQuick.Controls" is not installed
qrc:/main.qml:40:1: module "QtQuick.Layouts" is not installed
qrc:/main.qml:38:1: module "QtCanvas3D" is not installed
qrc:/main.qml:39:1: module "QtQuick.Controls" is not installed
qrc:/main.qml:40:1: module "QtQuick.Layouts" is not installed
qrc:/main.qml:38:1: module "QtCanvas3D" is not installed
qrc:/main.qml:39:1: module "QtQuick.Controls" is not installed
qrc:/main.qml:40:1: module "QtQuick.Layouts" is not installed
qrc:/main.qml:38:1: module "QtCanvas3D" is not installed
Can anyone suggests how to get installed these missing module. I am using Qt Crea tor 3.5.1(enterprise) licensed version.
Try to set the path QML2_IMPORT_PATH= "qml path", which should be available in your QT installed folder.
Related
I am using PySide6 and am trying to use the GraphicalEffects module.
As per documentation here:
https://doc.qt.io/qt-6/qtgraphicaleffects5-index.html
I am doing:
import Qt5Compat.QtGraphicalEffects
The error I am getting:
"Qt5Compat.QtGraphicalEffects" is not installed
How do I install this module? I have PySide6.2.2.1 installed on my Linux machine.
Its a known issue when installing from pypi. It will be fixed in pyside 6.4.
You can also build from source and it will be added automatically if you installed it with Qt-online installer.
An alternative would be to copy the module from the root directory and include it in the development environment.
Here is a more detailed description: QT6.4 QML PYTHON module "Qt5Compat.GraphicalEffects" is not installed
Works with Pyside6 or PyQt6.
MMMMMM#unbuntu:~/QT/test4Qml$ qmlscene main.qml
qmlscene: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmlscene': No such file or directory
My Qt Development Environment does not have qmlscene. I googled it, and I only found *.deb. How should I do it?
As far as I know, Qt is not installed by default in /usr/lib/x86_64-linux-gnu/qt4. That directory is the default path when linux detects a dependency which requires Qt.
Where did you installed Qt? How did you installed it? Did you set the PATH environment variable to where Qt binaries are installed?
Usually, you have to follow the next steps:
1.- Install the the basic requirements for building Qt applications.
2.- Download Qt. I recommend Qt 5 using an offline installer. Otherwise, you'd need to compile from the source. Here you have a list of older versions of Qt.
3.- Set the environment variable PATH to the directory where you Qt bin directory is installed.
I try to write a program in Qt Creator using db library. When i run my application in Qt Creator, i get that error: "QSqlDatabase: QODBC driver not loaded
QSqlDatabase: available drivers: QSQLITE"
The qsqlodbc.dll and qsqlodbcd.dll files exist in the plugins/sqldrivers folder of the Qt 5.1.0 installation.
Why can not it find the driver altough it exits in the default installation?
Thanks
I would like to write an application for Windows CE. I have already followed all the relevant steps, and started to write the application with Qt Creator.
However, when I started to build the code, there was the following error message:
QtCored4.lib(QtCored4.dll) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'THUMB'
Maybe some more details:
I downloaded the library for Windows CE and I configured Qt-Opensource-Version 4.8.3 with following parameters:
configure -platform win32-msvc2008 -xplatform wince50standard-armv4i-msvc2008
All went well. Qt Creator did recognize the new version and added Windows CE as supported platform.
Now, I guess, that there will be the same problem with QtGuid4.lib. Does anybody know, where I get a compatible file?
The import library for a DLL - the .LIB file - contains machine code stubs that are linked into your program, that call through the import table for the EXE. Therefore, they have to match the processor family that you're compiling for.
You need to obtain the .lib file for the Windows CE ARMv4I build of QtCored4.dll. Try these instructions for building Qt for Windows CE.
Essentially this is a repost of this question which was never answered. I am trying to set up Qt for static linking following these instructions.
So far, all I've done is go to where my Qt version is, and run
configure -static
I get some output, ending in:
Sources are in..............C:\QtSDK\Desktop\Qt\4.8.0\msvc2010
Build is done in............C:\QtSDK\Desktop\Qt\4.8.0\msvc2010
Install prefix..............C:\QtSDK\Desktop\Qt\4.8.0\msvc2010
Headers installed to........C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/include
Libraries installed to......C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/lib
Plugins installed to........C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/plugins
Imports installed to........C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/imports
Binaries installed to.......C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/bin
Docs installed to...........C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/doc
Data installed to...........C:/QtSDK/Desktop/Qt/4.8.0/msvc2010
Translations installed to...C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/translations
Examples installed to.......C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/examples
Demos installed to..........C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/demos
WARNING: Using static linking will disable the use of plugins.
Make sure you compile ALL needed modules into the library.
Running syncqt...
I couldn't find a pro file for QtCore module
syncqt failed, return code 9
Please help
It's a known issue compiling Qt 4.8.0 from source.
Just delete syncqt.* in qt bin folder :
http://labs.qt.nokia.com/2011/12/15/qt-4-8-0-released/#comment-49942
http://labs.qt.nokia.com/2011/12/15/qt-4-8-0-released/#comment-49951
http://labs.qt.nokia.com/2011/12/15/qt-4-8-0-released/#comment-49953
I'm in the same situation of user963258 and I get the same error.
I deleted syncqt.* from qt bin folder, but I then get the same error
qmake gives code 3 when attempting to configure qt for static building
Why Qt4.8 has so many issues?