Deploying openGL project problem

  • Hello everyone, first of all I would like to apologize for my English :D. So I have two questions:

    1. I want to ask why I can't open directly the *.exe file that is created in release folder in my project folder. (It gives me error: Application can't be open properly (0xc000007b)). Of course, the project runs without any errors in qt.

    2. In my project I am using *.obj and *.tga files. Do I need to put them with my *exe file? Or do I need to make them plugins? I really have no idea how to do it correctly.

    I want to make my program working on other computers, and I hope that someone could help me with that.

  • Hi!

    Welcome to Dev Net.

    I'm assuming that you already copied required dll files.
    You need to copy .tga and .obj files relative to your .exe file as specified in code.
    Alternative is to use resource file(s) ( .tga, .obj etc. files are compiled with .exe).

    "Qt Resources ":

    Hope it helps,

  • Moderators

    Most likely because libraries you are using can not be found in your PATH (assuming you are using windows, based on the .exe thing).

    I do not understand that question. The .exe is a collection of .obj files and I do not know what .tga files are. You might be able to store them in your .exe using the "Qt resource system": .

  • @Tobias
    .obj are also 3D mesh files :) .
    .tga are images.

  • Thank you for your replies, but I still can't run my program.

    I put all dlls, tga and obj files needed into the folder with exe file, but when I try to run program it shows error: Can't find the entry point in procedure: _Z11qWinAppInstv in library QtCore4.dll.

    When I open the exe in Dependency Walker I get two errors and one warning:

    1. Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
    2. Error: Modules with different CPU types were found.
    3. Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.