Results 1 to 8 of 8

Thread: opening exe files, comercial version vs opensource

  1. #1
    Join Date
    Dec 2007
    Posts
    22
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question opening exe files, comercial version vs opensource

    Hi All
    I go on with my program and done so far cool image proccesing, thanks!
    few more questions:
    1.I sent my exe file to my freind but he can't open it. does one need something installed to see the application? do I need to send more files?

    2.does the commercial version of QT better then the opensource ? what are the differences?
    3.the email support group http://lists.trolltech.com do they answer? didn't get any answer from them when I post to the list, I thought it is QT support
    thanks
    Last edited by Gily; 20th December 2007 at 09:40. Reason: wasn't clear enough

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: few general question

    1. A program written with Qt needs Qt libraries. Ship QtCore4.dll, QtGui4.dll and possible some others depending on which modules you enabled. You may use an utility called Dependency Walker to resolve DLL dependencies.
    2. Differences are that the commercial version has Visual Studio integration and ActiveQt module.
    3. Did you actually subscribe to the list?
    J-P Nurmi

  3. #3
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: few general question

    1.I sent my exe file to my freind but he can't open it. does one need something installed to see the application? do I need to send more files?
    You also need to give him the Qt libraries and image plugins: QtCore4.dll, QtGui4.dll .. and whatever modules you used in your application. Search the forums for this issue because it has been discussed a lot of times.

    2.does the commercial version of QT better then the opensource ? what are the differences?
    It is basically the same. The biggest difference is that the commercial version provides support for commercial compilers and IDEs, such as Ms and Intel.

    3.the email support group http://lists.trolltech.com do they answer? didn't get any answer from them when I post to the list, I thought it is QT support
    thanks
    You can always ask here. We're more active.

  4. #4
    Join Date
    Dec 2007
    Posts
    22
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question using selection color dialog

    thanks . I am subscribed .
    Another question:

    I need to create a dialog that will be activated from the main menu
    I want the function to open a dialog that the user can choose color.
    I read I need to use ColorListEditor . still not sure if I need to create a widget? if I understand correctly no need to delete it later?
    what widget to I need to use? is it a window? do I need to implamant it?
    it is common to create new class for this window? or do you usualy create a base class that handle all wndows in the application?
    or do I just inhirate the needed widjet to the function that handle the image?
    hope I am clear
    thanks
    Last edited by Gily; 20th December 2007 at 09:45. Reason: updated contents

  5. #5
    Join Date
    Dec 2007
    Posts
    22
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default and another one

    It there a reson why sometimes the app include in different ways??
    why the different ways are needed and when should I use them?
    Qt Code:
    1. #include <QComboBox>
    2.  
    3. class QColor;
    4. class QWidget;
    5.  
    6. class ColorListEditor : public QComboBox
    7. {
    8. Q_OBJECT
    9. Q_PROPERTY(QColor color READ color WRITE setColor USER true)
    To copy to clipboard, switch view to plain text mode 
    Last edited by jpn; 20th December 2007 at 09:23. Reason: missing [code] tags

  6. #6
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: few general question

    • Use meaningful thread titles. "few general question" tells nothing about actual thread context.
    • Do not ask multiple unrelated questions in same thread.
    • Search Qt docs & examples and the forums first, then ask.


    Quote Originally Posted by Gily View Post
    Another question:
    I want to do sub menu. I mean I have menu in the top of the application with the right slot who calls the function
    like in save ->save function
    Signals and Slots

    now I want the function to open a dialog that the user can choose color.
    I read I need to use ColorListEditor . still not sure if I need to create a widget? if I understand correctly no need to delete it later?
    also not sure what s the result of that class. do I need to use the visual editor for that?
    hope I am clear
    I'm afraid you're not very clear. Of course you need to create a widget if you want to show an additional window. A modal dialog may be allocated on the stack, any other widget may not.

    Quote Originally Posted by Gily View Post
    It there a reson why sometimes the app include in different ways??
    why the different ways are needed and when should I use them?
    Forward declaration
    J-P Nurmi

  7. #7
    Join Date
    Dec 2007
    Posts
    22
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Forward_declaration

    thanks for your answer
    what I wanted to know , if there is common use/agreement for QT users when to use Forward_declaration an when to include?
    is there a way /convention?

  8. #8
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Forward_declaration

    Quote Originally Posted by Gily View Post
    what I wanted to know , if there is common use/agreement for QT users when to use Forward_declaration an when to include?
    is there a way /convention?
    It is a good practice to use forward declarations whenever possible. It will make compilation faster. A forward declaration is enough when the corresponding type is only used as a reference or as a pointer, in other words, when the compiler doesn't need to know actual size of the type. I'm sure this is all explained in more detailed in the given wiki article.
    J-P Nurmi

Similar Threads

  1. QGraphicsView general questions
    By sincnarf in forum Qt Programming
    Replies: 5
    Last Post: 15th October 2007, 23:22
  2. Replies: 1
    Last Post: 15th March 2007, 20:45
  3. Question regarding how to paint after zoom.
    By JonathanForQT4 in forum Qt Programming
    Replies: 2
    Last Post: 26th January 2007, 15:34
  4. QThread exit()/quit() question
    By TheKedge in forum Qt Programming
    Replies: 1
    Last Post: 28th August 2006, 14:38

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.