Prl libsfile WIndows VS C++
-
Hi all.
I've downloaded the Windows install program and that went fine. I'm running a very small test program :-
#include <D:\Qt\6.4.2\msvc2019_64\include\QtCore\QCoreApplication> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); return a.exec(); }When I compile I get :-
Severity Code Description Project File Line Suppression State Error LNK1104 cannot open file 'D:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\lib\Qt6Guid.lib' QtConsoleApplication1 D:\Users\steph\Dropbox\Personal\Programming\C++\QtConsoleApplication1\QtConsoleApplication1\LINK 1If I look for the missing file it is in fact Qt6Guid.prl instead. I've looked on here and the web and there doesn't seem to be a consensus on what this means. Any help would be most useful thanks.
Bipman
-
Hi all.
I've downloaded the Windows install program and that went fine. I'm running a very small test program :-
#include <D:\Qt\6.4.2\msvc2019_64\include\QtCore\QCoreApplication> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); return a.exec(); }When I compile I get :-
Severity Code Description Project File Line Suppression State Error LNK1104 cannot open file 'D:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\lib\Qt6Guid.lib' QtConsoleApplication1 D:\Users\steph\Dropbox\Personal\Programming\C++\QtConsoleApplication1\QtConsoleApplication1\LINK 1If I look for the missing file it is in fact Qt6Guid.prl instead. I've looked on here and the web and there doesn't seem to be a consensus on what this means. Any help would be most useful thanks.
Bipman
@Bipman said in Prl libsfile WIndows VS C++:
#include <D:\Qt\6.4.2\msvc2019_64\include\QtCore\QCoreApplication>
What is this?
This is correct way to include this header file:#include <QCoreApplication>How exactly do you compile? In QtCreator?
-
@Bipman said in Prl libsfile WIndows VS C++:
#include <D:\Qt\6.4.2\msvc2019_64\include\QtCore\QCoreApplication>
What is this?
This is correct way to include this header file:#include <QCoreApplication>How exactly do you compile? In QtCreator?
-
@jsulm Ah, I've changed the include to what it should be and that works OK. I used MS VC C++ 2022 to compile the code.
-
@Bipman Linker tries to use wrong file: D:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\lib\Qt6Guid.lib
The correct file is in your Qt installation, not QtDesignStudio.
How exactly did you install Qt?
How exactly do you build your app (in Visual Studio, in QtCreator, in terminal?)? -
@Bipman Linker tries to use wrong file: D:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\lib\Qt6Guid.lib
The correct file is in your Qt installation, not QtDesignStudio.
How exactly did you install Qt?
How exactly do you build your app (in Visual Studio, in QtCreator, in terminal?)?