Results 1 to 6 of 6

Thread: Qt Creator - Librarries - Ready for ANSI C ?!

  1. #1
    Join Date
    Jan 2011
    Location
    Gordion
    Posts
    52
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Question Qt Creator - Librarries - Ready for ANSI C ?!

    Hi all. I want to use Qt Creator for C development. Already it can build native applications but i cant see results in the terminal.

    Did you have a any tutor, or plugin about this. I want to develop python and pyqt based apps with qt creator too.

    Monkey Studio is a good about this but i want to use qt creator. I need a hint. Regards.

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

    Default Re: Qt Creator - Librarries - Ready for ANSI C ?!

    You can't see results of what? Did you enable the console subsystem for your Windows program (CONFIG+=console in the project file)?
    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.


  3. #3
    Join Date
    Jan 2011
    Location
    Gordion
    Posts
    52
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Creator - Librarries - Ready for ANSI C ?!

    for example, i cant see printf output at application output section.

    i just want write native c or c++ codes with qt creator, and build them clearly. I'm using eclipse and CDT for this but i didnt want to use eclipse any more...
    simple c code.
    Qt Code:
    1. #include <stdio.h>
    2. int main()
    3. {
    4. printf("hello world!");
    5. return 0;
    6. }
    To copy to clipboard, switch view to plain text mode 

    how can i configure qt creator about this?
    ----
    i added conio.h library and getch() function and now i can see application output in terminal but not in application output section. Ok. problem solved for me. Thanks.
    Last edited by kosasker; 20th August 2011 at 23:29. Reason: pfff

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Creator - Librarries - Ready for ANSI C ?!

    Qt is a C++ library, your going to struggle to use it with plain vanilla C.

    Or are you saying you just want to use Qt creator to build standard C applications, taking no advantage of Qt itself?

  5. #5
    Join Date
    Jan 2011
    Location
    Gordion
    Posts
    52
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Creator - Librarries - Ready for ANSI C ?!

    Quote Originally Posted by squidge View Post
    Qt is a C++ library, your going to struggle to use it with plain vanilla C.

    Or are you saying you just want to use Qt creator to build standard C applications, taking no advantage of Qt itself?
    Yes second one. I edited my previous message. Ok. there was no problem about creator. I just added conio.h and its working like i want.

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

    Default Re: Qt Creator - Librarries - Ready for ANSI C ?!

    Or you could have just followed my advice.
    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.


Similar Threads

  1. Using external ANSI C library
    By npascual in forum Qt Programming
    Replies: 2
    Last Post: 5th May 2011, 12:02
  2. Replies: 4
    Last Post: 6th March 2011, 12:10
  3. Using ANSI string type
    By kahahn in forum Newbie
    Replies: 1
    Last Post: 20th June 2009, 23:52
  4. Qt creator, tech. preview not ready
    By giusepped in forum Qt Tools
    Replies: 2
    Last Post: 8th November 2008, 18:22
  5. QHash non-ANSI key problem
    By roxton in forum Qt Programming
    Replies: 4
    Last Post: 27th May 2008, 15:54

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.