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. Deploying openGL project problem
Forum Updated to NodeBB v4.3 + New Features

Deploying openGL project problem

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 3.1k 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
    blichad
    wrote on 26 Mar 2012, 18:50 last edited by
    #1

    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.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jake007
      wrote on 26 Mar 2012, 19:07 last edited by
      #2

      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 ":http://qt-project.org/doc/qt-4.8/resources.html

      Hope it helps,
      Regards,
      Jake


      Code is poetry

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on 26 Mar 2012, 19:09 last edited by
        #3

        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":http://qt-project.org/doc/qt-4.8/resources.html .

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jake007
          wrote on 26 Mar 2012, 19:12 last edited by
          #4

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


          Code is poetry

          1 Reply Last reply
          0
          • B Offline
            B Offline
            blichad
            wrote on 27 Mar 2012, 15:33 last edited by
            #5

            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.
            1 Reply Last reply
            0

            2/5

            26 Mar 2012, 19:07

            • Login

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