Results 1 to 7 of 7

Thread: how to compile c++ source file in qtCreator

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to compile c++ source file in qtCreator

    u r right with the first line @lyuts.......so u mean i go to C:\Qt\2009.01\bin\neww (neww is the folder containing my hello.cpp file) and open the windows command prompt and type in "qmake -project" and after that return back and hit the green button on the ide.......

  2. #2
    Join Date
    Mar 2009
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to compile c++ source file in qtCreator

    hi i just created a console application and edited the .cpp file and its running but there is no .exe file get created(one is created under debug folder which if i open says a dll file is missing) so where to find the exe of my console app..........

    or cant i somehow link the gcc provided by the qtcreator ide into the ide and compile and run my file and form .exe file for the .cpp source file........
    Last edited by orky7; 18th March 2009 at 22:44.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to compile c++ source file in qtCreator

    You need to make sure the dynamic linker can find appropriate dll files when starting your application. You can copy appropriate dll files to the debug folder or to your system folder.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  4. The following user says thank you to wysota for this useful post:

    orky7 (20th March 2009)

  5. #4
    Join Date
    Mar 2009
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to compile c++ source file in qtCreator

    every thing just sorted out thanks...............

Similar Threads

  1. qtgui4.dll error in visual c++ 2005
    By Comptrol in forum Installation and Deployment
    Replies: 33
    Last Post: 19th June 2008, 07:18
  2. Access to PostgreSQL DB on a linux server
    By rmagro in forum Qt Programming
    Replies: 28
    Last Post: 13th March 2008, 09:02
  3. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 06:51
  4. Compile of big generated file in release stuck
    By Equilibrium in forum Qt Programming
    Replies: 4
    Last Post: 31st December 2007, 12:25
  5. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.