Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User codestain's Avatar
    Join Date
    Feb 2010
    Posts
    30
    Greetings,

    Let's say I make a program in Windows. If I run it through the Qt creator works just fine, but when I try to open it through the exe file produced, it says it needs some dlls in order to run that are missing.

    For ex.: libgcc_s_dw2-1.dll , mingwm10.dll , Qtcored4.dll , etc

    Do I need to do something else?

    Thanks in advance

  2. #2
    Super Contributor mahbub_s60's Avatar
    Join Date
    Mar 2008
    Posts
    1,481
    You could check these
    -Is your DLL debug/release mode
    -The path of the DLL, has it been used correctly in the code?

  3. #3
    Registered User codestain's Avatar
    Join Date
    Feb 2010
    Posts
    30
    Quote Originally Posted by mahbub_s60 View Post
    You could check these
    -Is your DLL debug/release mode
    -The path of the DLL, has it been used correctly in the code?
    I don't use any dlls inside the code.. They are all Qt generated dlls missing. It just won't let me run the program when I click the exe file.

  4. #4
    Registered User pedrolito33's Avatar
    Join Date
    Aug 2010
    Posts
    14
    i have the same problem and i can't find the solution... i am sure it is a silly stuff... i have put all the .dll ask from the same folders C:\Qt\2010.04\qt\bin but it still doesn't want to work. I have no warning message on screen nothing and in the tasks manager i can see my application "running" in a process... Really odd somebody can help me for this? thx

  5. #5
    Nokia Developer Champion danhicksbyron's Avatar
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209
    On Windoze it's necessary to somehow package the DLLs with your EXE and provide some sort of "search path" to tell the EXE to reference them. I don't know how you do this, I just know that it's necessary. Maybe it's a command line option or a SET variable thing.

  6. #6
    Registered User codestain's Avatar
    Join Date
    Feb 2010
    Posts
    30
    I just found all the dlls necessary and put them in the same directory as the exe file.. Then it worked.

    I have no idea why yours isn't working.. Is your code ok? Maybe it does something it's not supposed to before appearing the ui.

  7. #7
    Registered User pedrolito33's Avatar
    Join Date
    Aug 2010
    Posts
    14
    I think it comes from my specific project because i have tested it with an other project and it works fine... Now i just have to find where the problem is...

    [EDIT]: i found it !! it was a silly thing... it was because i have put some arguments to launch the application and when you create the project QtCreator don't get the arguments you put on the Projects part.
    So i have to create a shortcut and modify the properties...

    Now it works fine !!! Thanks a lot guys
    Last edited by pedrolito33; 2010-09-03 at 13:30.

  8. #8
    Registered User aman607's Avatar
    Join Date
    Feb 2011
    Posts
    21
    I can't find the qtcored4.dll ,All others are working fine. Tell me the link if u know

Similar Threads

  1. Beginner question?
    By dmorand in forum Symbian C++
    Replies: 3
    Last Post: 2010-02-15, 04:14
  2. Polymorphic Dll interface question
    By noam.segal in forum Symbian C++
    Replies: 6
    Last Post: 2009-09-22, 07:32
  3. Beginner Question
    By Micknet in forum Symbian User Interface
    Replies: 2
    Last Post: 2008-07-29, 19:24
  4. OMA Client Provisioning - Headers question (Beginner)
    By pcimring in forum General Messaging
    Replies: 1
    Last Post: 2008-03-26, 18:41
  5. Beginner question
    By dpark in forum Mobile Java General
    Replies: 1
    Last Post: 2002-07-11, 10:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved