The two files which were produced by qmake contain:
qsqlpsql_resource.rc
# if defined(UNDER_CE)
# include <winbase.h>
# else
# include <winver.h>
# endif
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,8,1,0
PRODUCTVERSION 4,8,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "Nokia Corporation and/or its subsidiary(-ies)\0"
VALUE "FileDescription", "C++ application development framework.\0"
VALUE "FileVersion", "4.8.1.0\0"
VALUE "LegalCopyright", "Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).\0"
VALUE "OriginalFilename", "qsqlpsql4.dll\0"
VALUE "ProductName", "Qt4\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/* End of Version info */
# if defined(UNDER_CE)
# include <winbase.h>
# else
# include <winver.h>
# endif
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,8,1,0
PRODUCTVERSION 4,8,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "Nokia Corporation and/or its subsidiary(-ies)\0"
VALUE "FileDescription", "C++ application development framework.\0"
VALUE "FileVersion", "4.8.1.0\0"
VALUE "LegalCopyright", "Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).\0"
VALUE "OriginalFilename", "qsqlpsql4.dll\0"
VALUE "ProductName", "Qt4\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/* End of Version info */
To copy to clipboard, switch view to plain text mode
qsqlpsqld_resource.rc
# if defined(UNDER_CE)
# include <winbase.h>
# else
# include <winver.h>
# endif
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,8,1,0
PRODUCTVERSION 4,8,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "Nokia Corporation and/or its subsidiary(-ies)\0"
VALUE "FileDescription", "C++ application development framework.\0"
VALUE "FileVersion", "4.8.1.0\0"
VALUE "LegalCopyright", "Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).\0"
VALUE "OriginalFilename", "qsqlpsqld4.dll\0"
VALUE "ProductName", "Qt4\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/* End of Version info */
# if defined(UNDER_CE)
# include <winbase.h>
# else
# include <winver.h>
# endif
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,8,1,0
PRODUCTVERSION 4,8,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "Nokia Corporation and/or its subsidiary(-ies)\0"
VALUE "FileDescription", "C++ application development framework.\0"
VALUE "FileVersion", "4.8.1.0\0"
VALUE "LegalCopyright", "Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).\0"
VALUE "OriginalFilename", "qsqlpsqld4.dll\0"
VALUE "ProductName", "Qt4\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/* End of Version info */
To copy to clipboard, switch view to plain text mode
regards A.
Added after 5 minutes:
Mhhh oh, maybe the output of nmake row:17,18,19 is meant.. rc -D_DEBUG and so on..
.\..\..\sql\drivers\psql\qsql_psql.h -o debug\moc_qsql_psql.cpp
rc -D_DEBUG -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -fo debug\qsqlpsqld_resource.
.\..\..\sql\drivers\psql\qsql_psql.h -o debug\moc_qsql_psql.cpp
rc -D_DEBUG -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -fo debug\qsqlpsqld_resource.
To copy to clipboard, switch view to plain text mode
EDITED:
the correct translation of rc not found would be:
'rc' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'rc' : return code '0x1'
Stop.
'rc' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'rc' : return code '0x1'
Stop.
To copy to clipboard, switch view to plain text mode
rc seems to be:
The Microsoft Windows Resource Compiler (RC) is a tool used in building Windows-based applications. This overview describes how to create a resource-definition (script) file, how to compile your application's resources, and how to add compiled resources to your application.
This tool is available in Visual Studio and the Microsoft Windows Software Development Kit (SDK).
"rc.exe tool is provided by the Windows SDK."
http://superuser.com/questions/11986...ws-sdk-missing
so i migth only have to make the path to it visible..
The two files which were produced by qmake contain:
qsqlpsql_resource.rc
# if defined(UNDER_CE)
# include <winbase.h>
# else
# include <winver.h>
# endif
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,8,1,0
PRODUCTVERSION 4,8,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "Nokia Corporation and/or its subsidiary(-ies)\0"
VALUE "FileDescription", "C++ application development framework.\0"
VALUE "FileVersion", "4.8.1.0\0"
VALUE "LegalCopyright", "Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).\0"
VALUE "OriginalFilename", "qsqlpsql4.dll\0"
VALUE "ProductName", "Qt4\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/* End of Version info */
# if defined(UNDER_CE)
# include <winbase.h>
# else
# include <winver.h>
# endif
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,8,1,0
PRODUCTVERSION 4,8,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "Nokia Corporation and/or its subsidiary(-ies)\0"
VALUE "FileDescription", "C++ application development framework.\0"
VALUE "FileVersion", "4.8.1.0\0"
VALUE "LegalCopyright", "Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).\0"
VALUE "OriginalFilename", "qsqlpsql4.dll\0"
VALUE "ProductName", "Qt4\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/* End of Version info */
To copy to clipboard, switch view to plain text mode
qsqlpsqld_resource.rc
# if defined(UNDER_CE)
# include <winbase.h>
# else
# include <winver.h>
# endif
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,8,1,0
PRODUCTVERSION 4,8,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "Nokia Corporation and/or its subsidiary(-ies)\0"
VALUE "FileDescription", "C++ application development framework.\0"
VALUE "FileVersion", "4.8.1.0\0"
VALUE "LegalCopyright", "Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).\0"
VALUE "OriginalFilename", "qsqlpsqld4.dll\0"
VALUE "ProductName", "Qt4\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/* End of Version info */
# if defined(UNDER_CE)
# include <winbase.h>
# else
# include <winver.h>
# endif
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,8,1,0
PRODUCTVERSION 4,8,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "Nokia Corporation and/or its subsidiary(-ies)\0"
VALUE "FileDescription", "C++ application development framework.\0"
VALUE "FileVersion", "4.8.1.0\0"
VALUE "LegalCopyright", "Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).\0"
VALUE "OriginalFilename", "qsqlpsqld4.dll\0"
VALUE "ProductName", "Qt4\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/* End of Version info */
To copy to clipboard, switch view to plain text mode
regards A.
Added after 5 minutes:
Mhhh oh, maybe the output of nmake row:17,18,19 is meant.. rc -D_DEBUG and so on..
.\..\..\sql\drivers\psql\qsql_psql.h -o debug\moc_qsql_psql.cpp
rc -D_DEBUG -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -fo debug\qsqlpsqld_resource.
.\..\..\sql\drivers\psql\qsql_psql.h -o debug\moc_qsql_psql.cpp
rc -D_DEBUG -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -fo debug\qsqlpsqld_resource.
To copy to clipboard, switch view to plain text mode
EDITED:
the correct translation of rc not found would be:
'rc' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'rc' : return code '0x1'
Stop.
'rc' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'rc' : return code '0x1'
Stop.
To copy to clipboard, switch view to plain text mode
rc seems to be:
The Microsoft Windows Resource Compiler (RC) is a tool used in building Windows-based applications. This overview describes how to create a resource-definition (script) file, how to compile your application's resources, and how to add compiled resources to your application.
This tool is available in Visual Studio and the Microsoft Windows Software Development Kit (SDK).
"rc.exe tool is provided by the Windows SDK."
http://superuser.com/questions/11986...ws-sdk-missing
so i migth only have to make the path to it visible..
Added after 15 minutes:
OK, (added to qmake "CONFIG+=release") and making the path to the SDK C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin" visible to the VISTA environment PATH-variable, did the trick with the missing rc command.
it has now another problem..
qsqlpsql_resource.rc(4) : fatal error RC1015: cannot open include file 'winver.h'.
NMAKE : fatal error U1077: ""C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\rc.EXE"": Rückgabe-Code "0x1"
Stop.
NMAKE : fatal error U1077: ""C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe"": Rückgabe-Code "0x2"
Stop.
nmake:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\User> cd C:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\psql
C:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\psql>qmake "CONFIG+=release" "INCLUDEPATH+=C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0
A\\bin" "INCLUDEPATH+=C:\\Program Files\\PostgreSQL\\9.1\\include" "LIBS+= C:\\Program Files\\PostgreSQL\\9.1\\lib\\libpg.lib" psql.pro
C:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\psql>nmake
Microsoft (R) Program Maintenance Utility, Version 10.00.30319.01
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" -f Makefile.Release
Microsoft (R) Program Maintenance Utility, Version 10.00.30319.01
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
rc -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQ
L_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -fo release\qsqlpsql_resource.res qsqlpsql_resource.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation. All rights reserved.
qsqlpsql_resource.rc(4) : fatal error RC1015: cannot open include file 'winver.h'.
NMAKE : fatal error U1077: ""C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\rc.EXE"": Rückgabe-Code "0x1"
Stop.
NMAKE : fatal error U1077: ""C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe"": Rückgabe-Code "0x2"
Stop.
C:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\psql>
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\User> cd C:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\psql
C:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\psql>qmake "CONFIG+=release" "INCLUDEPATH+=C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0
A\\bin" "INCLUDEPATH+=C:\\Program Files\\PostgreSQL\\9.1\\include" "LIBS+= C:\\Program Files\\PostgreSQL\\9.1\\lib\\libpg.lib" psql.pro
C:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\psql>nmake
Microsoft (R) Program Maintenance Utility, Version 10.00.30319.01
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" -f Makefile.Release
Microsoft (R) Program Maintenance Utility, Version 10.00.30319.01
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
rc -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQ
L_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -fo release\qsqlpsql_resource.res qsqlpsql_resource.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation. All rights reserved.
qsqlpsql_resource.rc(4) : fatal error RC1015: cannot open include file 'winver.h'.
NMAKE : fatal error U1077: ""C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\rc.EXE"": Rückgabe-Code "0x1"
Stop.
NMAKE : fatal error U1077: ""C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe"": Rückgabe-Code "0x2"
Stop.
C:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\psql>
To copy to clipboard, switch view to plain text mode
EDIT:
Adding the path to the file to qmake still did not do the trick, although the file "winver.h" is in the include directory present?
qmake "CONFIG+=release" "INCLUDEPATH+=C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0A\\Include" "INCLUDEPATH+=C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0A\\bin" "INCLUDEPATH+=C:\\Program Files\\PostgreSQL\\9.1\\include" "LIBS+= C:\\Program Files\\PostgreSQL\\9.1\\lib\\libpg.lib" psql.pro
qmake "CONFIG+=release" "INCLUDEPATH+=C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0A\\Include" "INCLUDEPATH+=C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0A\\bin" "INCLUDEPATH+=C:\\Program Files\\PostgreSQL\\9.1\\include" "LIBS+= C:\\Program Files\\PostgreSQL\\9.1\\lib\\libpg.lib" psql.pro
To copy to clipboard, switch view to plain text mode
Bookmarks