Results 1 to 20 of 23

Thread: how to create or convert exe file in qt

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,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to create or convert exe file in qt

    Quote Originally Posted by iswaryasenthilkumar View Post
    Thank you so much .how can i see my exe file??
    Are you asking where the compiler put your application binary after compilation?
    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.


  2. #2
    Join Date
    Nov 2014
    Location
    Chennai
    Posts
    160
    Thanks
    65
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to create or convert exe file in qt

    yes wysota,,after compilation i got build folder of my filename
    Quote Originally Posted by wysota View Post
    Are you asking where the compiler put your application binary after compilation?

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

    Default Re: how to create or convert exe file in qt

    Quote Originally Posted by iswaryasenthilkumar View Post
    yes wysota,,after compilation i got build folder of my filename
    If you use QtCreator then the output directory is whatever you put in the Build Settings group in the Project pane if shadow build is active or the default target directory for your platform relative to project directory otherwise.
    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:

    iswaryasenthilkumar (29th April 2015)

  5. #4
    Join Date
    Nov 2014
    Location
    Chennai
    Posts
    160
    Thanks
    65
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to create or convert exe file in qt

    after creation of my qt program i got
    Qt Code:
    1. filename.pro
    2. filem=name.pro.user
    3. widget.cpp
    4. widget.h
    5. main.cpp
    6. widget.ui
    To copy to clipboard, switch view to plain text mode 
    after compilation over i got
    Qt Code:
    1. filename
    2. main.o
    3. makefile
    4. moc_widget.cpp
    5. moc_widget.o
    6. ui_widget.o
    7. widget.o
    To copy to clipboard, switch view to plain text mode 
    from this how can i find my exe file??

    Quote Originally Posted by wysota View Post
    If you use QtCreator then the output directory is whatever you put in the Build Settings group in the Project pane if shadow build is active or the default target directory for your platform relative to project directory otherwise.

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

    Default Re: how to create or convert exe file in qt

    "filename" is your exe 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.


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

    iswaryasenthilkumar (29th April 2015)

  8. #6
    Join Date
    Nov 2014
    Location
    Chennai
    Posts
    160
    Thanks
    65
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to create or convert exe file in qt

    Thank you so much wysota.. i have one more doubt,,if suppose my project goes to testing whether its possiple to send my filename(exe file)???
    Quote Originally Posted by wysota View Post
    "filename" is your exe file.

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

    Default Re: how to create or convert exe file in qt

    Quote Originally Posted by iswaryasenthilkumar View Post
    if suppose my project goes to testing whether its possiple to send my filename(exe file)???
    Why are you asking me that? Ask the one who you are going to send the file to.
    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.


  10. #8
    Join Date
    Nov 2014
    Location
    Chennai
    Posts
    160
    Thanks
    65
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to create or convert exe file in qt

    i have sent this filename(exe) in mail for testing ,, but my tester mailed "The file u sent is not the executable file. it is some data file." i have attache my screen shots,,that diamond symbol is my exe file ??? still i dnt clear in my doubt plss help meScreenshot from 2015-05-05 15:14:00.jpg
    Quote Originally Posted by wysota View Post
    "filename" is your exe file.

  11. #9
    Join Date
    Oct 2009
    Posts
    483
    Thanked 97 Times in 94 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: how to create or convert exe file in qt

    Yes, the file named "digital" with the diamond-shaped icon is the executable file. For your information:
    • the "*.o" files (a.k.a. the object files) are the files obtained by compiling the .cpp source files individually;
    • the "moc_*.cpp" files are C++ source files generated by Qt (more precisely, the moc) that implement the runtime of Qt's object model for your QObject-derived classes;
    • the "ui_*.h" files are C++ source headers generated by Qt Designer that implement the UI of the widgets created in the designer;
    • "Makefile" is the platform-specific makefile generated by qmake to drive the build process.

  12. #10
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,540
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to create or convert exe file in qt

    What is the operating system of the tester ?

  13. #11
    Join Date
    Nov 2014
    Location
    Chennai
    Posts
    160
    Thanks
    65
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to create or convert exe file in qt

    windows lesiok.am i sent file was correct ah???
    Quote Originally Posted by Lesiok View Post
    What is the operating system of the tester ?

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

    Default Re: how to create or convert exe file in qt

    Quote Originally Posted by iswaryasenthilkumar View Post
    windows lesiok.am i sent file was correct ah???
    You sent a file for Linux, not for Windows.
    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.


  15. #13
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: how to create or convert exe file in qt

    iswaryasenthilkumar, it seems that you have no idea about programming and how the human readable code like C++ is converted to the executable file. Start from the beginning. For now it seems that you are refusing to get the basic information required to write the simple program. Please visit your nearest library, or use google, to find the book about programming in C++, read it, understand it, test your knowledge (by writing programs like "hello world") and then you can start thinking about more complex projects. It's going to take you a lot of time to learn those things, but if you don't want to spend this time on learning programming - then you have to think about different hobby. This thread is already 1 week old which is enough to get the basic understanding about some basic programming aspects if you'd just wanted to.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

Similar Threads

  1. Replies: 1
    Last Post: 25th October 2012, 12:42
  2. Replies: 1
    Last Post: 7th April 2011, 04:45
  3. Replies: 9
    Last Post: 17th November 2010, 07:18
  4. Convert doc into txt file using Qt
    By live_07 in forum Qt Programming
    Replies: 1
    Last Post: 23rd January 2009, 14:27
  5. Replies: 3
    Last Post: 25th May 2007, 07:49

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.