Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Prl libsfile WIndows VS C++
Qt 6.11 is out! See what's new in the release blog

Prl libsfile WIndows VS C++

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 2 Posters 851 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bipman
    wrote on last edited by
    #1

    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	1	
    
    

    If 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

    jsulmJ 1 Reply Last reply
    0
    • B 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	1	
      
      

      If 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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      B 1 Reply Last reply
      2
      • jsulmJ jsulm

        @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?

        B Offline
        B Offline
        Bipman
        wrote on last edited by Bipman
        #3

        @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.

        B 1 Reply Last reply
        0
        • B Bipman

          @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.

          B Offline
          B Offline
          Bipman
          wrote on last edited by
          #4

          I forgot to say the prl file error is still there.

          B jsulmJ 2 Replies Last reply
          0
          • B Bipman

            I forgot to say the prl file error is still there.

            B Offline
            B Offline
            Bipman
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • B Bipman

              I forgot to say the prl file error is still there.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @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?)?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              B 1 Reply Last reply
              0
              • jsulmJ jsulm

                @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?)?

                B Offline
                B Offline
                Bipman
                wrote on last edited by
                #7

                @jsulm Hi. I ran the Windows installer and selected the following items :-

                Capture.JPG

                I am compiling in MS VS c++. Everything installed correctly with no errors.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved