Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] Encryption of resource file?
Forum Update on Monday, May 27th 2025

[Solved] Encryption of resource file?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.0k Views
  • 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.
  • CAD_codingC Offline
    CAD_codingC Offline
    CAD_coding
    wrote on last edited by
    #1

    Hi,
    I am using OpenCL in my Qt based application.
    OpenCL requires that its code be compiled JIT for optimum performance.
    I am thinking of creating a binary file containing source in QString format and keeping the file as a resource file.
    So I wanted to know whether it is possible for hackers to copy the file from the built executable?

    1 Reply Last reply
    0
    • martin_kyM Offline
      martin_kyM Offline
      martin_ky
      wrote on last edited by
      #2

      Yes, it is definitely possible to read and modify a Qt resource compiled into the executable. Not anyone with Notepad will be able to do it. However, it's certainly not a problem for a "hacker", because the mechanism how Qt stores resources is "well documented":http://qt-project.org/doc/qt-5.0/qtcore/resources.html and implemented in "open source":http://qt-project.org/doc/qt-5.0/qtcore/qresource.html.

      1 Reply Last reply
      0
      • CAD_codingC Offline
        CAD_codingC Offline
        CAD_coding
        wrote on last edited by
        #3

        Hi martIn_ky,
        Thank You for your reply!
        I think that much security is enough for my needs.

        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