Results 1 to 4 of 4

Thread: A few questions about Qt/Win

  1. #1
    Join Date
    Jan 2006
    Location
    N.B. Canada
    Posts
    47
    Thanked 8 Times in 7 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default A few questions about Qt/Win

    All questions are regarding Open Source version 4.1.0 for Windows

    1. What are the configure options used in the precompiled installer thingy? I know it's release and shared, but what other options are used?

    2. If one installs from the installer, and then does configure + build for shared debug; what exactly is rebuilt? Does that remake the tools (qmake, assistant, designer, etc), and/or examples, and/or just the libs?

    Thanks,

    Bojan
    The march of progress:
    C:
    printf("%10.2f", x);
    C++:
    cout << setw(10) << setprecision(2) << showpoint << x;
    Java:
    java.text.NumberFormat formatter = java.text.NumberFormat.getNumberInstance();
    formatter.setMinimumFractionDigits(2);
    formatter.setMaximumFractionDigits(2);
    String s = formatter.format(x);
    for (int i = s.length(); i < 10; i++) System.out.print(' ');
    System.out.print(s);

  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: A few questions about Qt/Win

    Quote Originally Posted by Bojan
    1. What are the configure options used in the precompiled installer thingy? I know it's release and shared, but what other options are used?
    Probably no options, all at default.

    2. If one installs from the installer, and then does configure + build for shared debug; what exactly is rebuilt? Does that remake the tools (qmake, assistant, designer, etc), and/or examples, and/or just the libs?
    Everything is built.

  3. #3
    Join Date
    Jan 2006
    Location
    N.B. Canada
    Posts
    47
    Thanked 8 Times in 7 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A few questions about Qt/Win

    Thanks,

    Is there a way to just build debug libs? I installed Qt 4.1 for Windows from the installer thing, and I would like to be able to build apps w/ debug. There really is no need for me to compile all the examples and tools.

    Bojan
    The march of progress:
    C:
    printf("%10.2f", x);
    C++:
    cout << setw(10) << setprecision(2) << showpoint << x;
    Java:
    java.text.NumberFormat formatter = java.text.NumberFormat.getNumberInstance();
    formatter.setMinimumFractionDigits(2);
    formatter.setMaximumFractionDigits(2);
    String s = formatter.format(x);
    for (int i = s.length(); i < 10; i++) System.out.print(' ');
    System.out.print(s);

  4. #4
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A few questions about Qt/Win

    Quote Originally Posted by Bojan
    Is there a way to just build debug libs? I installed Qt 4.1 for Windows from the installer thing, and I would like to be able to build apps w/ debug. There really is no need for me to compile all the examples and tools.
    Basically the installer put an entry in Start->Programs (under windows)
    This entry has an item called "Compile debug libs"!

    If it does'n work, as for me, You'll have to use the command line :
    -get into %QTDIR%
    -type : configure -debug [any extra options]
    -get into %QTDIR%\src
    -type : mingw32-make debug

    Note : I recommend putting the -zlib option or you may get linking errors.

    There might still be a problem... I'm using Windows ME and the command lines used in makefiles (such as "cd src && make") didn't work.
    If so write a batch file like that:

    @echo off

    cd $$$
    mingw32-make debug
    where $$$ is one of the subdirs concerned.
    For a complete list of subdirs check out the makefile;

    Note : Some of these subdirs may also be subdirs themselves (such as plugins) repeat the makefile process for them and everything will be fine.

    edit : fixed typo
    Current Qt projects : QCodeEdit, RotiDeCode

Similar Threads

  1. Image sequence Questions...
    By Deep Thought in forum Qt Programming
    Replies: 5
    Last Post: 12th February 2016, 11:23
  2. QT "Remoting" and D-Bus questions
    By QPlace in forum General Discussion
    Replies: 3
    Last Post: 7th January 2008, 00:30
  3. Memory management questions (im new to Qt)
    By scarvenger in forum Qt Programming
    Replies: 2
    Last Post: 6th May 2007, 08:41
  4. 2 Questions about layouts
    By SkripT in forum Qt Programming
    Replies: 1
    Last Post: 26th February 2006, 14:54
  5. Qt related questions and thoughts about getting job
    By AlexKiriukha in forum General Discussion
    Replies: 4
    Last Post: 26th January 2006, 13:25

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.