Results 1 to 20 of 50

Thread: getting the error message when trying to run the application in QT

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: getting the error message when trying to run the application in QT

    SET QMAKESPEC=win32-msvc2005 or set this variable in "system properties".

  2. #2

    Default Re: getting the error message when trying to run the application in QT

    Hi ,

    Where exactly I have to add add or set the QMAKESPEC=win32-msvc2005 variable. I didn't understand in which "system properties" I have to set the value.

    Thankyou for the help.

    Regards,
    Pallavi.

  3. #3
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: getting the error message when trying to run the application in QT

    press winkey+break the "System Properties" window will appear. then go to "Advanced->Environment Variables" then add a new variable with name "QMAKESPEC" and value "win32-msvc2005" if you have VS 2005 installed.

  4. #4

    Default Re: getting the error message when trying to run the application in QT

    Hi spirit,

    I've set the variable in system properties. But it's still giving me the same error as shown in the screen shot. Please help.

    Thanks,
    Pallavi.

  5. #5
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: getting the error message when trying to run the application in QT

    open a new cmd window and try again, if you will get this error again then reboot and try again.

  6. #6

    Default Re: getting the error message when trying to run the application in QT

    hi spirit,

    still i am not able to resolve that error.please go through the attachments that i have sent and please help me out.

    thanks for the reply

    Regards
    pallavi Boyapati

  7. #7
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: getting the error message when trying to run the application in QT

    ok, show us values of variables QTDIR, QMAKESPEC, INCLUDE, LIB and PATH.

  8. #8

    Default Re: getting the error message when trying to run the application in QT

    hi spirit,

    good morning.......i am new to this application........i am not able to see those variables.......please help me out where to see that variables.

  9. #9
    Join Date
    Oct 2008
    Location
    Bangalore
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: getting the error message when trying to run the application in QT

    I am also facing the same issue, as per SPIRIT suggested to pallavi, I have also tried steps as above.

    One thing that i noticed here is QT 4.4.3 is like a normal Windows application installtion procedure. It gets integrated in to Visual studio 2005 and not at all as its previous version. Thats so cool.

    What, i tried immediately after installation is to create a new project.
    I selected Qt projects in other languages and selected a QT application.
    And with out any changes to the code or UI file, tried to execute the project.
    But after successful BUILD, it throws an error in a popup message box as :

    Unable to start program 'd:\*****\qtApptry\debug\QTApptry.exe' .
    This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix this problem. For more details, please see the application event log.


    When I checked for forums for this error, it said this is due to the Shared assembly.
    But I was not able to resolve the problem at the end.

    I have even added the enviroment varialbles as suggested in this post.

    Please help in this regards.

  10. #10
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: getting the error message when trying to run the application in QT

    in command prompt compose echo %QTDIR% (and so on with other valiables) and you will see result if won't then this variable wasn't be set.

  11. #11

    Default Re: getting the error message when trying to run the application in QT

    hi spirit,

    good morning..........thanx for ur reply..........I followed the steps sent by u..........but i am unable to set the values..........I am new to this application.Please tell me the procedure from the beginning how to write a sample application using QT4.4.3. I am attaching the document that i have tried with the procedure sent by you.Please go through the document and help me.

    Thanks in advance

    Thanks & regards
    pallavi Boyapati
    Attached Images Attached Images

  12. #12
    Join Date
    Oct 2008
    Location
    Kharkov, Ukraine
    Posts
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: getting the error message when trying to run the application in QT

    Quote Originally Posted by pallavi Boyapat View Post
    hi spirit,

    good morning..........thanx for ur reply..........I followed the steps sent by u..........but i am unable to set the values..........I am new to this application.Please tell me the procedure from the beginning how to write a sample application using QT4.4.3. I am attaching the document that i have tried with the procedure sent by you.Please go through the document and help me.

    Thanks in advance

    Thanks & regards
    pallavi Boyapati
    You using MS VS C++ >=2005? Try copy VS's redistribute dll into application directory. System tells you, what *.manifest file is not found. (In my case -- Microsoft.VC80.CRT.manifest -- come with "MSI to redistribute MS VS2005 CRT libraries")

  13. #13

    Default Re: getting the error message when trying to run the application in QT

    hi spirit,

    please tell me where to set the value for QTDIR.......I found in google to set the the value in system properties for path “cd c:\qt\4.4.3\” . But in my case I am not able to find the folder or file "4.4.3" in my installation..........please help me how to set the value of QTDIR.

    Thanks in advance

    Thanks & Regards
    Pallavi Boyapati

Similar Threads

  1. Start Qt application as Windows Service
    By ^NyAw^ in forum Qt Programming
    Replies: 12
    Last Post: 10th May 2008, 17:23
  2. Loading library from application
    By mourad in forum Installation and Deployment
    Replies: 0
    Last Post: 2nd April 2008, 15:10
  3. dll + application
    By fpujol in forum Qt Programming
    Replies: 11
    Last Post: 15th April 2007, 18:37
  4. Replies: 3
    Last Post: 8th December 2006, 18:51

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.