All Questions
577
questions
0
votes
0
answers
27
views
Crash When Promoting QWidget to Custom Widget Derived from QVTKOpenGLNativeWidget from DLL in Qt Application
I've encountered a consistent crash in my Qt application when promoting a QWidget to a custom widget class derived from QVTKOpenGLNativeWidget, which is encapsulated within a dynamically linked ...
0
votes
1
answer
449
views
How do you include Qt in visual studio ide?
I am very new to c++
I want to be able to use the Qt library, qtcore and qtwidgets to make a gui application. I also want to use the visual studio ide.
I have downloaded the Qt library from the qt ...
0
votes
2
answers
93
views
How to link libraries in Qt project?
I'm trying to add parts of directshow example from libirimager library to my own Qt project. I can't link IRImager class. It has only header IRImager.h in sdk directory. In my main.cpp I just added ...
1
vote
1
answer
135
views
How to inject a x86 dll into a 32bits process
I have a qt gui build as a DLL when compiled as x64 it works correctly, however, when I compile it as x86 and inject it into a 32bits process, its DllMain entry never gets called.
After a lot of time ...
0
votes
0
answers
31
views
Multiple definition error of .dll file when compile - Qt and openCV
I am trying to setup Qt and openCV following qt.io on How to setup Qt and openCV on Windows.
Everything looks fine, but when I proceed to compile the sample files according to the instructions, I get ...
0
votes
0
answers
149
views
QML/QT exe: Unable to execute the standalone application
I am not able to execute the exe outside visual studio 2019(even with dependent dlls(QT)).
The application runs only when I execute it through visual studio.
I have checked and added all the ...
1
vote
0
answers
87
views
QLibrary load/resolve problem with QWidget
I have the following Dll, which should show a single QWidget:
file testqtlib.h
#pragma once
#include <QtCore/qglobal.h>
#if defined(TESTQTLIB_LIBRARY)
# define TESTQTLIB_EXPORT Q_DECL_EXPORT
#...
1
vote
0
answers
212
views
Error LNK1194 when using delay-load and Qt
Question for VS 2019 (community). I have a linker error that I cannot find on Microsoft website.
I have 3 DLLs built with Qt and with the dependencies: a.dll imports b.dll, b.dll imports c.dll (not ...
0
votes
0
answers
143
views
Set PATH environment variable for my app but not to dependent Qt dlls and other dlls
I create a Qt app. It uses Qt dlls and also libusb dll and openssl dlls. And I use Qt Installer Framework and with windeployqt I bundle all these dlls in the same folder as my app. So when it's ...
0
votes
0
answers
52
views
How to properly back reference symbols in executable from dll?
I'm writing a Qt program, which dynamicly loads plugins. But the plugins require the class declared in the main program. I tried to include the headers in the library and add -export-dynamic for ...
0
votes
0
answers
42
views
How to allocate qt classes in dll
I am trying to implement plugin system for my project. I am using Qt 5.15 and static Qt libraries. I have a plugin dll that implements my custom interface. I am using QLibrary to load dll library ...
8
votes
1
answer
410
views
We have a external .lib that links to Qt5Core.dll but our environment contains Qt5Core_conda.dll
We have an external library (Foobar.lib), provided by a customer, that is linked against Qt5Core.dll. We have to use that library in our own code.
In our environment, we use conda and conda-forge ...
0
votes
0
answers
276
views
dlls are not loaded using qtwindeploy
I have a project and I need to prepare a CMakeLists.txt file for it.
I also have tests which I need to get an executables for after building the project.
Tests are located in a separate backEndTest ...
1
vote
1
answer
305
views
Strange CMake behavior on Windows when attepmting to link the Qt/MSVC against the external dynamic library
I have experienced a painfull effort to make a Qt executable being built and linked against the dynamic library on Windows, which still more and more indicates some internal misbehavior inside the ...
0
votes
1
answer
106
views
Unknown class from DLL
I am new at creating DLL's and I am trying to get a class from my DLL.
But I keep getting errors that the class is unknown.
I am not use a header file.
I am trying to create a working app based on ...