Results 1 to 4 of 4

Thread: Linking a plaintextedit to the gcc compiler

  1. #1
    Join Date
    Nov 2013
    Location
    Chandigarh, India
    Posts
    62
    Thanks
    8
    Thanked 11 Times in 7 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Linking a plaintextedit to the gcc compiler

    I have been posting various queries but didn't get a fruitful reply. I have a plaintextedit in my gui app and I wish to link it to the compiler present in qt. Can anyone suggest me the steps to do the same?? Such that if I write some code in a plaintextedit, I can get its output.. My app looks like this...

    compiler.jpg

  2. #2
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Linking a plaintextedit to the gcc compiler

    In this thread you received quite useful answers. What's wrong with them ?
    The problem is that probably for you "fruitful reply" == "working code"...

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Linking a plaintextedit to the gcc compiler

    You have already been told what tools you need to use to do this:
    Linking textedit to the compiler

    Here it is again: QProcess specifically QProcess::readyReadStandardOutput()
    I have been posting various queries but didn't get a fruitful reply.
    ... and you intend to continue until someone provides a cut and paste solution.

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Linking a plaintextedit to the gcc compiler

    Thread closed.

    This is most likely a resource troll, i.e. an attempt to divert resources from Qt developers who are in need of help to the troll's "problem".
    The long term goal of that is usually to frustrate the advanced people on the forum, making them leave or show up less often, resulting in lots of unanswered threads, making the forum look bad.

    No idea why QtCentre is targetted but it is not the first time.

    If any of you is also spammed in the PM Inbox let the Admins know.

    Cheers,
    _

Similar Threads

  1. Dynamic linking visual studio compiler with .pro file
    By scarecr0w132 in forum Qt Programming
    Replies: 2
    Last Post: 12th September 2013, 07:03
  2. Replies: 2
    Last Post: 30th July 2013, 10:05
  3. Replies: 4
    Last Post: 15th January 2011, 00:44
  4. Strange compiler behaviour (compiler passes wrong argument)
    By SasaVilic in forum General Programming
    Replies: 2
    Last Post: 2nd November 2010, 12:36

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.