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. QT Windows Visual Studio QRC deployment issues
Forum Updated to NodeBB v4.3 + New Features

QT Windows Visual Studio QRC deployment issues

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 831 Views 2 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.
  • S Offline
    S Offline
    Sadegnabil
    wrote on last edited by
    #1

    Hello,
    I have built a tool using QT and OpenGL in Linux and I am currently trying to compile it on Windows. I used the QT VS Tool to import the .pro file and I have I linked all the libraries. I use a .qrc file to load the icons. When I build and run the software in Visual Studio in Debug or Release mode it works perfectly but when I tried to build with Visual Studio and then start the executable from the explorer directly, the software works but all the icons are missing. I have copied the dlls and plugins needed and Visual Studio seems to compile my qrc file successfully. Why are the icons only working when I run it with "Local Windows Debugger" and not when I open the .exe file ? Am I missing something to deploy it ?

    Thank you

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      What format are these icons ?

      Did you already took a look at the windeployqt documentation ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sadegnabil
        wrote on last edited by
        #3

        Hi,
        No I didn't know this tool and it worked perfectly. Thank you SGaist !

        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