Results 1 to 8 of 8

Thread: Qt 4.4.0 compilation Error?

  1. #1
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Question Qt 4.4.0 compilation Error?

    hi,
    first i build Qt 4.3.2 easy.
    so i followed the same way with Qt 4.4.0
    1- i configured the Qt by writing "configure"
    in the visual studio command prompt.
    every thing fine untill now.
    but when i execute nmake i get an error saies can not access the following file vc8.pdb.
    this was not happening happen in Qt4.3.2
    so what is the problem?
    please help me.
    thank you.

  2. #2
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Qt 4.4.0 compilation Error?

    What does 'configure' say about spec? is it win32-msvc?
    I'm a rebel in the S.D.G.

  3. #3
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.4.0 compilation Error?

    i just write "configure"
    i did not determine the platform.

  4. #4
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.4.0 compilation Error?

    i reconfigured the Qt with the following command
    Qt Code:
    1. C:\Qt\4.4.0>configure -platform win32-msvc2005 -debug-and-release -fast -qt-sql-
    2. sqlite2 -no-qt3support -vcproj
    To copy to clipboard, switch view to plain text mode 
    but when i compile it with nmake i get the following error
    Qt Code:
    1. drivers\sqlite2\qsql_sqlite2.cpp(61) : fatal error C1083: Cannot open include fi
    2. le: 'sqlite.h': No such file or directory
    3. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
    4. l.EXE"' : return code '0x2'
    5. Stop.
    6. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
    7. make.exe"' : return code '0x2'
    8. Stop.
    9. NMAKE : fatal error U1077: 'cd' : return code '0x2'
    10. Stop.
    To copy to clipboard, switch view to plain text mode 
    can you help me please?

  5. #5
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.4.0 compilation Error?

    Since you enabled sqlite2 you also have to provide the headers and libs for sqlite2 since they're not shipped with qt. See configure options '-I' and '-L'

  6. #6
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.4.0 compilation Error?

    so, how can i build it with sqlite2
    i have the sqlite sources i downloaded it from there site.
    how can i add these sources to the Qt?

  7. #7
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.4.0 compilation Error?

    Quote Originally Posted by mismael85 View Post
    how can i add these sources to the Qt?
    Read my post more carefully - I already answered this question

  8. #8
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.4.0 compilation Error?

    do you mean that i should add -I to the configure command to be
    Qt Code:
    1. C:\Qt\4.4.0>configure -I -platform win32-msvc2005 -debug-and-release -fast -qt-sql-
    2. sqlite2 -no-qt3support -vcproj
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. nmake error during .pro compiling
    By mattia in forum Installation and Deployment
    Replies: 5
    Last Post: 18th June 2008, 10:15
  2. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 13:43
  3. QPSQL driver in windows
    By brevleq in forum Installation and Deployment
    Replies: 31
    Last Post: 14th December 2007, 12:57
  4. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 02:49
  5. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 12:19

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.