Skip to main content

All Questions

Tagged with
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 ...
user2182284's user avatar
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 ...
realreal's user avatar
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 ...
a.wise's user avatar
  • 194
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 ...
Cesar's user avatar
  • 309
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 ...
VietHoang_hyZme's user avatar
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 ...
Prerna's user avatar
  • 1
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 #...
Borys L.'s user avatar
  • 145
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 ...
Atmo's user avatar
  • 3,603
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 ...
JenyaKh's user avatar
  • 2,268
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 ...
nekosu's user avatar
  • 77
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 ...
Doğukan Arat's user avatar
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 ...
Henrique Mayer's user avatar
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 ...
CuriousPan's user avatar
  • 1,089
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 ...
Petr Pivonka's user avatar
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 ...
vincent poortvliet's user avatar

15 30 50 per page
1
2 3 4 5
39