Results 1 to 13 of 13

Thread: How to run Qt programs----simple one

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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 run Qt programs----simple one

    It's in "Make options". Add an environment variable PATH and set it to "/your/qt4/installation/bin:$PATH".

  2. #2
    Join Date
    Sep 2006
    Posts
    102
    Thanks
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Thumbs up Re: How to run Qt programs----simple one

    hiii alll


    thankyou very much for the help

    i have now solved the problem myself. the answere to what i asked is nowhere in this thread but anyhow i managed to solve it.

    thanks everybody for trying to help me.

    regards..
    shamik

  3. #3
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to run Qt programs----simple one

    It would help if you could state what the real problem was and How you managed to solve it
    We can't solve problems by using the same kind of thinking we used when we created them

  4. #4
    Join Date
    Sep 2006
    Posts
    102
    Thanks
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Thumbs up Re: How to run Qt programs----simple one

    I was trying out different combinations of solving this problem and finally i got one which worked. and i think this is the correct method because every project file which i create is now working fine. here it goes.


    i made a qt project .pro and compiled it, made the exe by running make. the exe should run as desired.

    now there are three hidden folders in the folder where u create this .pro file.
    amongst these is one called .ui

    from terminal, go to the folder where ur .pro file is and then type the command--- mv .ui ui

    now u can view this folder from the GUI. now copy the files inside this folder outside of it i.e. to the folder where ur .pro file . (actually this is not required but u can do it.....adding files to kdevelop becomes easy).

    now open kdevelop newly created project and click on project->add existing files

    then go to this folder where ur .pro file is. then add the files ending with .ui and .ui.h and .h

    kdevelop will automatically create the class and place the files in their proper locations.
    what else?
    configure it and make it

    enjoy running the exe.

    sometimes we can solve the problem without anybody's help

    right !?! hai na bhaiya?? (i cannot mention the name but the one who reads can understand it)


    regards
    shamik

  5. #5
    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 run Qt programs----simple one

    Wouldn't it be simpler just to show hidden files from your file manager? Or delete the entries from your project file enabling the use of ui, object and moc dirs?

    Besides, these folders are hidden on purpose - you don't need to even know what's inside them and they are hidden so that they don't clutter your view. But if you want to always see them, then good for you!

Similar Threads

  1. Simple way to expand all nodes on a QTreeView?
    By cboles in forum Qt Programming
    Replies: 10
    Last Post: 12th April 2014, 16:54
  2. Replies: 4
    Last Post: 10th October 2009, 17:59
  3. QTextEdit simple question
    By Marcopolo in forum Qt Tools
    Replies: 4
    Last Post: 11th October 2007, 00:01
  4. Simple input box for QPainter
    By therealjag in forum Qt Programming
    Replies: 1
    Last Post: 23rd February 2006, 15:33
  5. can't get a simple dialog working
    By pthomas in forum Newbie
    Replies: 8
    Last Post: 13th January 2006, 14:52

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.