Results 1 to 20 of 34

Thread: qtgui4.dll error in visual c++ 2005

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2008
    Posts
    20
    Thanks
    3

    Default Re: qtgui4.dll error in visual c++ 2005

    Quote Originally Posted by wysota View Post
    All the tools are built from Qt's sources, so if you compiled the sources, the tools are there as well.
    Thanks again, I have found the binary files. However, clearly, regretfully, unfortunately... I only have linguist and assistant ; designer isn't here! can i cry for this??



    So, what am I supposed to do now? remaking whole source file , which took approximately 15 hours!!!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    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: qtgui4.dll error in visual c++ 2005

    I don't know what you exactly did, so it's hard to provide a solution You might cd into tools/ and then call nmake sub-designer but it's a long shot - you must have done something unusual that designer wasn't built, so there is a good chance there is a reason for that

  3. #3
    Join Date
    Jun 2008
    Posts
    20
    Thanks
    3

    Default Re: qtgui4.dll error in visual c++ 2005

    Quote Originally Posted by wysota View Post
    I don't know what you exactly did, so it's hard to provide a solution You might cd into tools/ and then call nmake sub-designer but it's a long shot - you must have done something unusual that designer wasn't built, so there is a good chance there is a reason for that
    all i did was to first wrote
    "configure"

    and then

    "nmake" as it is stated here

    Ok, I stop trying to use tools on MSVC, can I use them on MINGW at the same time? so that i will just carry the source code MSVC afterwards? btw, I really appreciate your effort to help me.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    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: qtgui4.dll error in visual c++ 2005

    Did you pass any options to configure? Did it tell you what are the final features it is going to build into Qt? Did you get any error messages after calling nmake? Please provide details.

  5. #5
    Join Date
    Jun 2008
    Posts
    20
    Thanks
    3

    Default Re: qtgui4.dll error in visual c++ 2005

    Quote Originally Posted by wysota View Post
    I don't know what you exactly did, so it's hard to provide a solution You might cd into tools/ and then call nmake sub-designer but it's a long shot - you must have done something unusual that designer wasn't built, so there is a good chance there is a reason for that

    now i run nmake again and I got this result with error


    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    "c:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefil
    e.Release all

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    cd pixeltool\ && "c:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmak
    e.exe" -f Makefile

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    "c:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefil
    e.Release

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    cd porting\ && "c:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.
    exe" -f Makefile

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    cd src\ && "c:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"
    -f Makefile

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    "c:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefil
    e.Release

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    BLA BLA BLA.. THIS CODE GOES ON

    ript" -I"..\..\..\..\include" -I"extension" -I"sdk" -I"uilib" -I"shared" -I"..\.
    .\..\shared\deviceskin" -I"..\..\..\..\src\tools\rcc" -I"..\..\..\shared\findwid
    get" -I"..\..\..\shared\qtgradienteditor" -I"e:\qt\include\ActiveQt" -I"tmp\moc\
    debug_shared" -I"." -I"..\..\..\..\mkspecs\win32-msvc2005" -Fotmp\obj\debug_shar
    ed\ @C:\DOCUME~1\Halliday\LOCALS~1\Temp\nmF30.tmp
    richtexteditor.cpp
    actioneditor.cpp
    orderdialog.cpp
    newactiondialog.cpp
    gridpanel.cpp
    previewconfigurationwidget.cpp
    qtresourceeditordialog.cpp
    Generating Code...
    cl -c -FIlib_pch.h -Yulib_pch.h -Fptmp\obj\debug_shared\QtDesignerd_pch.
    pch -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE
    -DWIN32 -DQT_LARGEFILE_SUPPORT -DQDESIGNER_SDK_LIBRARY -DQDESIGNER_EXTENSION_LI
    BRARY -DQDESIGNER_UILIB_LIBRARY -DQDESIGNER_SHARED_LIBRARY -DQT_DESIGNER -DQT_DL
    L -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I
    "..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtCore" -I"..\..\..\..\inclu
    de\QtGui" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include\QtXml" -I"..\..\.
    .\..\include\QtXml" -I"..\..\..\..\include\QtScript" -I"..\..\..\..\include\QtSc
    ript" -I"..\..\..\..\include" -I"extension" -I"sdk" -I"uilib" -I"shared" -I"..\.
    .\..\shared\deviceskin" -I"..\..\..\..\src\tools\rcc" -I"..\..\..\shared\findwid
    get" -I"..\..\..\shared\qtgradienteditor" -I"e:\qt\include\ActiveQt" -I"tmp\moc\
    debug_shared" -I"." -I"..\..\..\..\mkspecs\win32-msvc2005" -Fotmp\obj\debug_shar
    ed\ @C:\DOCUME~1\Halliday\LOCALS~1\Temp\nmF31.tmp
    moc_qtgradientview.cpp
    moc_qtgradientviewdialog.cpp
    moc_newactiondialog_p.cpp
    Generating Code...
    link /LIBPATH:"e:\qt\lib" /LIBPATH:"e:\qt\lib" /NOLOGO /DEBUG /DLL /MANI
    FEST /MANIFESTFILE:"tmp\obj\debug_shared\QtDesignerd.int ermediate.manifest" /VER
    SION:4.40 /OUT:..\..\..\..\lib\QtDesignerd4.dll @C:\DOCUME~1\Halliday\LOCALS~1\T
    emp\nmF32.tmp
    LINK : ..\..\..\..\lib\QtDesignerd4.dll not found or not built by the last incre
    mental link; performing full link
    Creating library ..\..\..\..\lib\QtDesignerd4.lib and object ..\..\..\..\lib\
    QtDesignerd4.exp
    qrc_findwidget.obj : error LNK2011: precompiled object not linked in; image may
    not run
    ..\..\..\..\lib\QtDesignerd4.dll : fatal error LNK1120: 1 unresolved externals
    NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 8\VC\BIN\l
    ink.EXE"' : return code '0x460'
    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.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    E:\qt>
    :s

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    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: qtgui4.dll error in visual c++ 2005

    Good... now we are getting somewhere. You are missing the libraries for sure. I guess you'll have to recompile at least some of the code... Start by running configure -help, read what options you can pass to configure and rerun configure with those options. At some point you'll get a list of enabled and disabled features. Please paste that list here.

  7. #7
    Join Date
    Jun 2008
    Posts
    20
    Thanks
    3

    Default Re: qtgui4.dll error in visual c++ 2005

    Quote Originally Posted by wysota View Post
    Good... now we are getting somewhere. You are missing the libraries for sure. I guess you'll have to recompile at least some of the code... Start by running configure -help, read what options you can pass to configure and rerun configure with those options. At some point you'll get a list of enabled and disabled features. Please paste that list here.
    before running configure -help i copied the missing file,qtdesignerd4.dll, from BIN to LIB since other similar files sizes are equal. however this time i get similar error and that file i copied to BIN got deleted.

    here they are:


    cd uitools\ && "c:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.
    exe" -f Makefile

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    "c:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefil
    e.Debug all

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    "c:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefil
    e.Release all

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    cd lib\ && "c:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"
    -f Makefile

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    "c:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefil
    e.Debug all

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    link /LIBPATH:"e:\qt\lib" /LIBPATH:"e:\qt\lib" /NOLOGO /DEBUG /DLL /MANI
    FEST /MANIFESTFILE:"tmp\obj\debug_shared\QtDesignerd.int ermediate.manifest" /VER
    SION:4.40 /OUT:..\..\..\..\lib\QtDesignerd4.dll @C:\DOCUME~1\Halliday\LOCALS~1\T
    emp\nmF38.tmp
    Creating library ..\..\..\..\lib\QtDesignerd4.lib and object ..\..\..\..\lib\
    QtDesignerd4.exp
    qrc_findwidget.obj : error LNK2011: precompiled object not linked in; image may
    not run
    ..\..\..\..\lib\QtDesignerd4.dll : fatal error LNK1120: 1 unresolved externals
    NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 8\VC\BIN\l
    ink.EXE"' : return code '0x460'
    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.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    THANKS ONE MORE TIME

  8. #8
    Join Date
    Jun 2008
    Posts
    20
    Thanks
    3

    Default Re: qtgui4.dll error in visual c++ 2005

    and now the configure -help command

    E:\qt>configure -help
    Usage: configure [-buildkey <key>]
    [-release] [-debug] [-debug-and-release] [-shared] [-static]
    [-no-fast] [-fast] [-no-exceptions] [-exceptions]
    [-no-accessibility] [-accessibility] [-no-rtti] [-rtti]
    [-no-stl] [-stl] [-no-sql-<driver>] [-qt-sql-<driver>]
    [-plugin-sql-<driver>] [-system-sqlite] [-arch <arch>]
    [-D <define>] [-I <includepath>] [-L <librarypath>]
    [-help] [-no-dsp] [-dsp] [-no-vcproj] [-vcproj]
    [-no-qmake] [-qmake] [-dont-process] [-process]
    [-no-style-<style>] [-qt-style-<style>] [-redo]
    [-saveconfig <config>] [-loadconfig <config>]
    [-qt-zlib] [-system-zlib] [-no-gif] [-qt-gif] [-no-libpng]
    [-qt-libpng] [-system-libpng] [-no-libtiff] [-qt-libtiff]
    [-system-libtiff] [-no-libjpeg] [-qt-libjpeg] [-system-libjpeg]
    [-no-libmng] [-qt-libmng] [-system-libmng] [-no-qt3support]
    [-mmx] [-no-mmx] [-no-3dnow] [-no-sse] [-no-sse2]
    [-no-iwmmxt] [-iwmmxt] [-direct3d] [-openssl] [-openssl-linked]
    [-no-openssl] [-no-dbus] [-dbus] [-dbus-linked] [-platform <spec>]
    [-qtnamespace <namespace>] [-no-phonon] [-phonon]
    [-no-webkit] [-webkit]

    Installation options:

    You may use these options to turn on strict plugin loading:

    -buildkey <key> .... Build the Qt library and plugins using the specified <k
    ey>. When the library loads plugins, it will only load those that have a matchi
    ng <key>.

    Configure options:

    The defaults (*) are usually acceptable. A plus (+) denotes a default value tha
    t needs to be evaluated. If the evaluation succeeds, the feature is included. He
    re is a short explanation of each option:

    -release ........... Compile and link Qt with debugging turned off.
    * -debug ............. Compile and link Qt with debugging turned on.
    + -debug-and-release . Compile and link two Qt libraries, with and without deb
    ugging turned on.

    * -shared ............ Create and use shared Qt libraries.
    -static ............ Create and use static Qt libraries.

    * -no-fast ........... Configure Qt normally by generating Makefiles for all p
    roject files.
    -fast .............. Configure Qt quickly by generating Makefiles only for l
    ibrary and subdirectory targets. All other Makefiles are created as wrappers wh
    ich will in turn run qmake

    -no-exceptions ..... Disable exceptions on platforms that support it.
    * -exceptions ........ Enable exceptions on platforms that support it.

    -no-accessibility .. Do not compile Windows Active Accessibility support.
    * -accessibility ..... Compile Windows Active Accessibility support.

    -no-stl ............ Do not compile STL support.
    * -stl ............... Compile STL support.

    -no-sql-<driver> ... Disable SQL <driver> entirely, by default none are turn
    ed on.
    -qt-sql-<driver> ... Enable a SQL <driver> in the Qt Library.
    -plugin-sql-<driver> Enable SQL <driver> as a plugin to be linked to at run
    time.
    Available values for <driver>:
    mysql
    psql
    oci
    odbc
    tds
    db2
    + sqlite
    sqlite2
    ibase
    (drivers marked with a '+' have been detected as availa
    ble on this system)

    -system-sqlite ..... Use sqlite from the operating system.

    -no-qt3support ..... Disables the Qt 3 support functionality.

    -no-opengl ......... Disables OpenGL functionality

    -platform <spec> ... The operating system and compiler you are building on.
    (default %QMAKESPEC%)

    -xplatform <spec> .. The operating system and compiler you are cross compili
    ng to.

    See the README file for a list of supported operating s
    ystems and compilers.

    -qtnamespace <namespace> Wraps all Qt library code in 'namespace name {...}

    -D <define> ........ Add an explicit define to the preprocessor.
    -I <includepath> ... Add an explicit include path.
    -L <librarypath> ... Add an explicit library path.
    -l <libraryname> ... Add an explicit library name, residing in a librarypath
    .

    -help, -h, -? ...... Display this information.

    Third Party Libraries:

    -qt-zlib ........... Use the zlib bundled with Qt.
    + -system-zlib ....... Use zlib from the operating system.
    See http://www.gzip.org/zlib

    -no-gif ............ Do not compile the plugin for GIF reading support.
    + -qt-gif ............ Compile the plugin for GIF reading support.
    See also src/plugins/imageformats/gif/qgifhandler.h

    -no-libpng ......... Do not compile in PNG support.
    -qt-libpng ......... Use the libpng bundled with Qt.
    + -system-libpng ..... Use libpng from the operating system.
    See http://www.libpng.org/pub/png

    -no-libmng ......... Do not compile in MNG support.
    -qt-libmng ......... Use the libmng bundled with Qt.
    + -system-libmng ..... Use libmng from the operating system.
    See See http://www.libmng.com

    -no-libtiff ........ Do not compile the plugin for TIFF support.
    -qt-libtiff ........ Use the libtiff bundled with Qt.
    + -system-libtiff .... Use libtiff from the operating system.
    See http://www.libtiff.org

    -no-libjpeg ........ Do not compile the plugin for JPEG support.
    -qt-libjpeg ........ Use the libjpeg bundled with Qt.
    + -system-libjpeg .... Use libjpeg from the operating system.
    See http://www.ijg.org

    Qt/Windows only:

    -no-dsp ............ Do not generate VC++ .dsp files.
    * -dsp ............... Generate VC++ .dsp files, only if spec "win32-msvc".

    -no-vcproj ......... Do not generate VC++ .vcproj files.
    * -vcproj ............ Generate VC++ .vcproj files, only if platform "win32-ms
    vc.net".

    -no-incredibuild-xge Do not add IncrediBuild XGE distribution commands to cu
    stom build steps.
    + -incredibuild-xge .. Add IncrediBuild XGE distribution commands to custom bu
    ild steps. This will distribute MOC and UIC steps, and other custom buildsteps w
    hich are added to the INCREDIBUILD_XGE variable.
    (The IncrediBuild distribution commands are only added
    to Visual Studio projects)

    -no-qmake .......... Do not compile qmake.
    * -qmake ............. Compile qmake.

    -dont-process ...... Do not generate Makefiles/Project files. This will over
    ride -no-fast if specified.
    * -process ........... Generate Makefiles/Project files.

    -no-rtti ........... Do not compile runtime type information.
    * -rtti .............. Compile runtime type information.

    -no-mmx ............ Do not compile with use of MMX instructions
    + -mmx ............... Compile with use of MMX instructions
    -no-3dnow .......... Do not compile with use of 3DNOW instructions
    -no-sse ............ Do not compile with use of SSE instructions
    -no-sse2 ........... Do not compile with use of SSE2 instructions
    + -direct3d .......... Compile in Direct3D support (experimental - see INSTALL
    for more info)
    -no-openssl ........ Do not compile in OpenSSL support
    + -openssl ........... Compile in run-time OpenSSL support
    -openssl-linked .... Compile in linked OpenSSL support
    -no-dbus ........... Do not compile in D-Bus support
    + -dbus .............. Compile in D-Bus support and load libdbus-1 dynamically

    -dbus-linked ....... Compile in D-Bus support and link to libdbus-1
    -no-phonon ......... Do not compile in the Phonon module
    + -phonon ............ Compile in the Phonon module (Phonon is built if a dece
    nt C++ compiler is used.)
    -no-webkit ......... Do not compile in the WebKit module
    + -webkit ............ Compile in the WebKit module (WebKit is built if a dece
    nt C++ compiler is used.)
    -arch <arch> ....... Specify an architecture.
    Available values for <arch>:
    * windows
    windowsce
    generic

    -no-style-<style> .. Disable <style> entirely.
    -qt-style-<style> .. Enable <style> in the Qt Library.
    Available styles:
    * windows
    + windowsxp
    + windowsvista
    * plastique
    * cleanlooks
    * motif
    * cde
    windowsce
    windowsmobile

    -loadconfig <config> Run configure with the parameters from file configure_<
    config>.cache.
    -saveconfig <config> Run configure and save the parameters in file configure
    _<config>.cache.
    -redo .............. Run configure with the same parameters as last time.

    Qt/WinCE only:

    -no-iwmmxt ......... Do not compile with use of IWMMXT instructions
    + -iwmmxt ............ Do compile with use of IWMMXT instructions (Qt/WinCE on
    Arm only)
    * -no-crt ............ Do not add the C runtime to default deployment rules
    -qt-crt ............ Qt identifies C runtime during project generation
    -crt <path> ........ Specify path to C runtime used for project generation.
    -no-cetest ......... Do not compile Windows CE remote test application
    + -cetest ............ Compile Windows CE remote test application
    -signature <file> .. Use file for signing the target project
    -opengl-es-cm ...... Enable support for OpenGL ES Common
    -opengl-es-cl ...... Enable support for OpenGL ES Common Lite

    E:\qt>

  9. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    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: qtgui4.dll error in visual c++ 2005

    I know what configure -help returns I told you to read it and rerun configure with the switches of your choice and then after some time, you'd get a list of features Qt will be compiled with.

  10. #10
    Join Date
    Jun 2008
    Posts
    20
    Thanks
    3

    Default Re: qtgui4.dll error in visual c++ 2005

    Quote Originally Posted by wysota View Post
    I know what configure -help returns I told you to read it and rerun configure with the switches of your choice and then after some time, you'd get a list of features Qt will be compiled with.
    1)why, why am i supposed to make a selection out of that list. I mean why not just "configure " enough on its own? and how do we know the selection i would make have my program work without error? and i am newbie to qt, what kind of choices can i have? any ideas? :S

    2) will i just run configure or nmake -distclean before that as it is stated in manual?

    "Note: If you later need to reconfigure and rebuild Qt from the same location, ensure that all traces of the previous configuration are removed by entering the build directory and typing nmake distclean before running configure again."

  11. #11
    Join Date
    Jun 2008
    Posts
    20
    Thanks
    3

    Default Re: qtgui4.dll error in visual c++ 2005

    Quote Originally Posted by wysota View Post
    I know what configure -help returns I told you to read it and rerun configure with the switches of your choice and then after some time, you'd get a list of features Qt will be compiled with.
    Hi did you mean this list? I run configure and after seeing this list just aborted configuration with CTRL-C

    here you are



    E:\qt>configure

    This is the Qt/Windows Open Source Edition.

    You are licensed to use this software under the terms of
    the GNU General Public License (GPL) version 2 or 3.

    Type '2' to view the GNU General Public License version 2 (GPLv2).
    Type '3' to view the GNU General Public License version 3 (GPLv3).
    Type 'y' to accept this license offer.
    Type 'n' to decline this license offer.

    Do you accept the terms of the license?
    y
    Setting Direct3D to NO, since the proper Direct3D SDK was not detected.
    Make sure you have the Direct3D SDK installed, and that you have run
    the <path to SDK>\Utilities\Bin\dx_setenv.cmd script.
    The D3D SDK library path *needs* to appear before the Platform SDK library
    path in your LIB environment variable.
    All the required DirectShow/Direct3D files couldn't be found.
    Make sure you have either the platform SDK AND the DirectX SDK or the Windows SD
    K installed.
    If you have the DirectX SDK installed, please make sure that you have run the <p
    ath to SDK>\SetEnv.Cmd script.
    Environment:
    INCLUDE=
    c:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE
    c:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE
    c:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include
    c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\include
    C:\mingw\include\
    LIB=
    c:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB
    c:\Program Files\Microsoft Visual Studio 8\VC\LIB
    c:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib
    c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib
    C:\mingw\lib
    PATH=
    c:\Program Files\Microsoft Visual Studio 8\Common7\IDE
    c:\Program Files\Microsoft Visual Studio 8\VC\BIN
    c:\Program Files\Microsoft Visual Studio 8\Common7\Tools
    c:\Program Files\Microsoft Visual Studio 8\Common7\Tools\bin
    c:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\bin
    c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin
    c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
    c:\Program Files\Microsoft Visual Studio 8\VC\VCPackages
    C:\Perl\bin
    C:\JET5.0-EVAL\BIN
    C:\WINDOWS\SYSTEM32
    C:\WINDOWS
    C:\WINDOWS\SYSTEM32\WBEM
    C:\PROGRA~1\JAVASOFT\JRE\1.3.1\BIN
    C:\WROX
    C:\PROGRAM FILES\MICROSOFT SQL SERVER\90\TOOLS\BINN\
    C:\PROGRAM FILES\MATLAB71\BIN\WIN32

    C:\Program Files\MVTec\HALCON\BIN\x86-win32
    C:\Program Files\MVTec\HALCON\FLEXLM\x86-win32
    C:\PROGRAM FILES\QUICKTIME\QTSYSTEM\
    C:\Program Files\Microsoft Visual Studio 8\VC\
    e:\Qt\bin
    e:\qt\bin
    C:\Program Files\Microsoft Visual Studio 8\VC\bin
    C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
    C:\MinGW\bin
    e:\QT\bin
    C:\Program Files\Common Files\Symbian\tools
    C:\Program Files\CSL Arm Toolchain\bin
    You are licensed to use this software under the terms of the GNU GPL version 2 o
    r 3.
    See E:/qt/LICENSE.GPL2
    or E:/qt/LICENSE.GPL3

    Configuration:
    dist-config
    large-config
    medium-config
    minimal-config
    small-config
    full-config
    build_all
    debug
    Qt Configuration:
    release
    debug
    zlib
    png
    accessibility
    qt3support
    opengl
    ipv6
    xmlpatterns
    webkit
    svg
    minimal-config
    small-config
    medium-config
    large-config
    full-config

    QMAKESPEC...................win32-msvc2005 (env)
    Architecture................windows
    Maketool....................nmake
    Debug symbols...............yes
    Accessibility support.......yes
    STL support.................yes
    Exception support...........yes
    RTTI support................yes
    MMX support.................yes
    3DNOW support...............yes
    SSE support.................yes
    SSE2 support................yes
    IWMMXT support..............no
    OpenGL support..............yes
    Direct3D support............no
    OpenSSL support.............no
    QtDBus support..............no
    QtXmlPatterns support.......yes
    Phonon support..............no
    WebKit support..............yes
    Qt3 compatibility...........yes

    Third Party Libraries:
    ZLIB support............qt
    GIF support.............plugin
    TIFF support............plugin
    JPEG support............plugin
    PNG support.............qt
    MNG support.............plugin

    Styles:
    Windows.................yes
    Windows XP..............yes
    Windows Vista...........yes
    Plastique...............yes
    Cleanlooks..............yes
    Motif...................yes
    CDE.....................yes
    Windows CE..............no
    Windows Mobile..........no

    Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................plugin (qt)
    SQLite2.................no
    InterBase...............no

    Sources are in..............E:\qt
    Build is done in............E:\qt
    Install prefix..............E:\qt
    Headers installed to........E:\qt\include
    Libraries installed to......E:\qt\lib
    Plugins installed to........E:\qt\plugins
    Binaries installed to.......E:\qt\bin
    Docs installed to...........E:\qt\doc
    Data installed to...........E:\qt
    Translations installed to...E:\qt\translations
    Examples installed to.......E:\qt\examples
    Demos installed to..........E:\qt\demos

    Creating qmake...

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    Creating makefiles in src...
    Generating Visual Studio project files...

    E:\qt>

  12. #12
    Join Date
    Jun 2008
    Posts
    20
    Thanks
    3

    Default Re: qtgui4.dll error in visual c++ 2005

    Quote Originally Posted by wysota View Post
    I know what configure -help returns I told you to read it and rerun configure with the switches of your choice and then after some time, you'd get a list of features Qt will be compiled with.
    Setting Direct3D to NO, since the proper Direct3D SDK was not detected.
    Make sure you have the Direct3D SDK installed, and that you have run
    the <path to SDK>\Utilities\Bin\dx_setenv.cmd script.
    The D3D SDK library path *needs* to appear before the Platform SDK library
    path in your LIB environment variable.
    All the required DirectShow/Direct3D files couldn't be found.
    Make sure you have either the platform SDK AND the DirectX SDK or the Windows SD
    K installed.
    If you have the DirectX SDK installed, please make sure that you have run the <p
    ath to SDK>\SetEnv.Cmd script.
    wow i think I don't have some SDK but I have microsoft platform SDK for Windows Server 2003 R2, and I am using windows XZp/sp2. could this be the reason of the error :S and today is sunday and sunny!!!

  13. #13
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    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: qtgui4.dll error in visual c++ 2005

    This is the SDK for DirectX, not some general SDK. It's perfectly fine that you don't have it. The configuration process seems fine, although you might want to use a switch or two - disabling webkit or patternist will reduce compilation time greatly and if you don't need those modules, disabling them would be a good idea.

    Now I suggest you recompile Qt from scratch - unarchive the source bundle again, run configure with the switches of your choice and then call nmake. Watch out for errors and if any occur, paste them here - but the first error only, not the whole compilation log please

  14. #14
    Join Date
    Jun 2008
    Posts
    20
    Thanks
    3

    Default Re: qtgui4.dll error in visual c++ 2005

    Quote Originally Posted by wysota View Post
    This is the SDK for DirectX, not some general SDK. It's perfectly fine that you don't have it. The configuration process seems fine, although you might want to use a switch or two - disabling webkit or patternist will reduce compilation time greatly and if you don't need those modules, disabling them would be a good idea.

    Now I suggest you recompile Qt from scratch - unarchive the source bundle again, run configure with the switches of your choice and then call nmake. Watch out for errors and if any occur, paste them here - but the first error only, not the whole compilation log please
    Hi again, I will do you tell me to do definitely but I installed MinGW as well. does that make any problem for installing source code of MSVC?

    ps: i couldn't make it work in mingw either!

  15. #15
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    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: qtgui4.dll error in visual c++ 2005

    Please do as I said - you'll save the time of us both. Remove everything, unzip the source, run configure <your options go here> and then nmake.

    In doubt please consult our wiki, there is an article there describing how to make things work.

  16. #16
    Join Date
    Jun 2008
    Posts
    20
    Thanks
    3

    Default Re: qtgui4.dll error in visual c++ 2005

    [QUOTE=Comptrol;73318]Hi wysota, as i told you before, i appreciated your help a lot. So I have tried to minimize my posts in order not to keep you busy; you didn't need to emphasize our posts could be burden for you; I am aware of this. And honestly, I really prefer not to ask for help[there are other documentations anyway, such as wiki and forum pages]. however , since I spent a few days of mine installing QT, I thought it was high time to demand a help from a pro. Although I still appreciate your help, warning people as if they were kinda burden to you is really rude of you. So, I would rather not take your precious time anymore. you can keep it for other things as you stated above. Thanks one more time for your great help

    If any other helpful member would like to see the last lines of nmake command of qt.4.3.2 source package, here it is:

    main.cpp
    demoscene.cpp
    mainwindow.cpp
    demoitem.cpp
    score.cpp
    demoitemanimation.cpp
    itemcircleanimation.cpp
    demotextitem.cpp
    headingitem.cpp
    dockitem.cpp
    scanitem.cpp
    letteritem.cpp
    examplecontent.cpp
    menucontent.cpp
    guide.cpp
    guideline.cpp
    guidecircle.cpp
    menumanager.cpp
    colors.cpp
    textbutton.cpp
    Generating Code...
    Compiling...
    imageitem.cpp
    Generating Code...
    cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189
    -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_XML_LIB -DQ
    T_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"
    ..\..\include\QtCore" -I"..\..\include\QtCore" -I"..\..\include\QtNetwork" -I"..
    \..\include\QtNetwork" -I"..\..\include\QtGui" -I"..\..\include\QtGui" -I"..\..\
    include\QtOpenGL" -I"..\..\include\QtOpenGL" -I"..\..\include\QtXml" -I"..\..\in
    clude\QtXml" -I"..\..\include" -I"e:\qt\include\QtAssistantClient" -I"..\..\incl
    ude\QtAssistant" -I"e:\qt\include\ActiveQt" -I".moc" -I"." -I"..\..\mkspecs\win3
    2-msvc2005" -Fo.obj\ @C:\DOCUME~1\Halliday\LOCALS~1\Temp\nm18A3.tmp
    moc_mainwindow.cpp
    moc_demoitemanimation.cpp
    moc_menumanager.cpp
    Generating Code...
    cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189
    -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_XML_LIB -DQ
    T_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"
    ..\..\include\QtCore" -I"..\..\include\QtCore" -I"..\..\include\QtNetwork" -I"..
    \..\include\QtNetwork" -I"..\..\include\QtGui" -I"..\..\include\QtGui" -I"..\..\
    include\QtOpenGL" -I"..\..\include\QtOpenGL" -I"..\..\include\QtXml" -I"..\..\in
    clude\QtXml" -I"..\..\include" -I"e:\qt\include\QtAssistantClient" -I"..\..\incl
    ude\QtAssistant" -I"e:\qt\include\ActiveQt" -I".moc" -I"." -I"..\..\mkspecs\win3
    2-msvc2005" -Fo.obj\ @C:\DOCUME~1\Halliday\LOCALS~1\Temp\nm18A4.tmp
    qrc_qtdemo.cpp
    link /LIBPATH:"e:\qt\lib" /LIBPATH:"e:\qt\lib" /NOLOGO /INCREMENTAL:NO /
    MANIFESTFILE:".obj\qtdemo.intermediate.manifest" /SUBSYSTEM:WINDOWS /OUT:..\..\b
    in\qtdemo.exe @C:\DOCUME~1\Halliday\LOCALS~1\Temp\nm18A5.tmp
    mt.exe -nologo -manifest ".obj\qtdemo.intermediate.manifest" -outputreso
    urce:..\..\bin\qtdemo.exe;1

    E:\qt>
    Thanks in advance

  17. #17
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    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: qtgui4.dll error in visual c++ 2005

    Quote Originally Posted by Comptrol View Post
    Although I still appreciate your help, warning people as if they were kinda burden to you is really rude of you.
    I never meant anything like that. Let me rephrase the statement - "you'll save your time and our diskspace". If I didn't want to use my time by answering such questions, I simply wouldn't answer. Moreover I wouldn't be here and there is a good chance so wouldn't that site, at least in its current form.

    Looks like your compilation was successful. You'll be probably having problems because of white spaces in the installation path ("Documents and Files"), but here it shouldn't be an issue. Please check what resides in the bin and lib directories. You should have all the tools and all the libs there (dll files in bin and lib files in lib). I think you built Qt in debug mode only (because you didn't pass -release or -debug-and-release switches to configure), so all the libraries should have names ending with "d". Is that correct?

Similar Threads

  1. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 06:51
  2. Qt configure with msvc.net
    By jivanr in forum Installation and Deployment
    Replies: 1
    Last Post: 11th June 2007, 08:17
  3. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  4. 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
  5. problem with linking
    By mickey in forum Qt Programming
    Replies: 49
    Last Post: 12th August 2006, 21:41

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.