Results 1 to 10 of 10

Thread: how to compile Qt4.3.2???

  1. #1
    Join Date
    Nov 2007
    Posts
    41
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Question how to compile Qt4.3.2???

    hi,
    first excuse me for my question i am a new comer to Qt.
    i have qt-win-commercial-src-4.3.2 how can i compile it.
    note : i am using windows and visual studio 2005
    and i have looked at
    http://doc.trolltech.com/4.0/install-win.html
    but i did not understand it well.
    excuse me agian.
    thank you.

  2. #2
    Join Date
    Oct 2007
    Location
    Munich, Bavaria
    Posts
    144
    Thanks
    1
    Thanked 19 Times in 19 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to compile Qt4.3.2???

    You have the comercial edition of Qt.
    You should place your questions to Trolltech' support.

    Good luck,

    Tom

  3. #3
    Join Date
    Nov 2007
    Posts
    41
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Thumbs down Re: how to compile Qt4.3.2???

    Quote Originally Posted by DeepDiver View Post
    You have the comercial edition of Qt.
    You should place your questions to Trolltech' support.

    Good luck,

    Tom
    I know why you do not want to answer me? never mind
    i compiled it but in the end i get an error (fatal error)

  4. #4
    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: how to compile Qt4.3.2???

    Quote Originally Posted by coder1985 View Post
    i have qt-win-commercial-src-4.3.2 [...] and i have looked at
    http://doc.trolltech.com/4.0/install-win.html
    First of all, you should read 4.3 docs since that's what you have, not 4.0. I don't know whether the installation instructions have changed but still.

    Quote Originally Posted by coder1985 View Post
    i compiled it
    What's the reason for compiling it at all? Is the binary installer insufficient?
    but in the end i get an error (fatal error)
    Ah, that error.
    J-P Nurmi

  5. #5
    Join Date
    Nov 2007
    Posts
    41
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Thumbs up Re: how to compile Qt4.3.2???

    first simply i dont have the installer
    these is the errors i get

    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
    l.EXE"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
    make.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    thank you

  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: how to compile Qt4.3.2???

    Quote Originally Posted by coder1985 View Post
    first simply i dont have the installer
    You can download it from the same page where you downloaded the source package from. The VS 2005 version is called qt-win-commercial-4.3.2-vs2005.exe or something similar.

    these is the errors i get
    What's the very first error?
    J-P Nurmi

  7. #7
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to compile Qt4.3.2???

    Yes, download the installer and use that to start with. The sources are there in case you want to make a special build for some reason.

  8. #8
    Join Date
    Nov 2007
    Posts
    41
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to compile Qt4.3.2???

    these are all errors:

    itemviews\qdatawidgetmapper.cpp : fatal error C1083: Cannot open precompiled hea
    der file: 'tmp\obj\debug_shared\QtGuid_pch.pch': No such file or directory
    qfileiconprovider.cpp
    itemviews\qfileiconprovider.cpp : fatal error C1083: Cannot open precompiled hea
    der file: 'tmp\obj\debug_shared\QtGuid_pch.pch': No such file or directory
    qcolumnview.cpp
    itemviews\qcolumnview.cpp : fatal error C1083: Cannot open precompiled header fi
    le: 'tmp\obj\debug_shared\QtGuid_pch.pch': No such file or directory
    qcolumnviewgrip.cpp
    itemviews\qcolumnviewgrip.cpp : fatal error C1083: Cannot open precompiled heade
    r file: 'tmp\obj\debug_shared\QtGuid_pch.pch': No such file or directory
    Generating Code...
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
    l.EXE"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
    make.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

  9. #9
    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: how to compile Qt4.3.2???

    Could you give the binary installer a go first? Once an actual need arises, we will help you to compile Qt by hand.
    J-P Nurmi

  10. #10
    Join Date
    Nov 2007
    Posts
    41
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to compile Qt4.3.2???

    finaly i compiled it .
    but when i try to comile a qt program using visual studio i get the following message
    "LINK : fatal error LNK1181: cannot open input file 'QtCore4.lib'"
    thank you

Similar Threads

  1. not able to compile my programme/Fedora
    By shobhit in forum Installation and Deployment
    Replies: 6
    Last Post: 9th October 2007, 16:29
  2. Use VC2005 to compile Qt program (4.3.0)
    By firegun9 in forum Qt Programming
    Replies: 3
    Last Post: 8th June 2007, 16:04
  3. Qt-4.2.2 qmake won't compile under visual studio 2005 on vista
    By moowy in forum Installation and Deployment
    Replies: 7
    Last Post: 13th January 2007, 21:06
  4. Compile Errors
    By luffy27 in forum Qt Programming
    Replies: 3
    Last Post: 4th November 2006, 05:26
  5. how to correctly compile threads support?
    By srhlefty in forum Installation and Deployment
    Replies: 9
    Last Post: 25th June 2006, 19:15

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.