Results 1 to 2 of 2

Thread: Eclipse Integration and program not starting

  1. #1
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    387
    Thanks
    101
    Thanked 15 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Eclipse Integration and program not starting

    Hi!

    I developed an application on Linux with Qt Eclipse integration and everything works there just fine. Now I wanted to see if the program runs on Windows too. I installed Qt with MinGW and again the Eclipse integration. I create a new dummy Qt GUI project, build it and launch it, everything works fine. Now I import my project from SVN, building works, but when I try to run it a little error message pops up saying:

    'Launching [MyProgramName] Configuration has encountered a problem.
    Error starting process.

    The details are saying:
    Error starting process.
    Cannot run program "C:\[PathToProgram]": Launching failed
    Cannot run program "C:\[PathToProgram]": Launching failed
    Cannot run program "C:\[PathToProgram]": Launching failed

    In my desperation I added the .exe extension to the binary and tried to run it manually. Then it says the program is too large for the ram. I have 1GB ram and the project is small.

    Any idea how I can get it to run?
    Last edited by Cruz; 16th January 2009 at 22:05. Reason: spelling error

  2. #2
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    387
    Thanks
    101
    Thanked 15 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Eclipse Integration and program not starting

    I managed to run the project by changing the build command setting in project properties -> C/C++ Make project from "make" to "mingw32-make".

    Unfortunately the gui looks a bit different on Windows XP after all. The styles are off by a few pixels in some places. It looks bad enough that I will have to tune a seperate style sheet to be used on XP.

Similar Threads

  1. A Guide to Install MinGW, Qt4 and Eclipse Integration on Windows XP
    By shiyutang in forum Installation and Deployment
    Replies: 10
    Last Post: 5th August 2009, 04:03
  2. Qt Eclipse integration problem!!!!
    By mismael85 in forum Installation and Deployment
    Replies: 4
    Last Post: 13th March 2008, 14:45

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.