Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt 5.1 alpha build error



  • Hello
    I downloaded qt5.1 alpha from site
    and not succeed in compilation using vs2008

    my command line
    configure -developer-build -opensource -nomake examples -nomake demos -nomake tests -rtti -qt-crt -no-accessibility -nomake webkit

    error
    NMAKE : fatal error U1073: don't know how to make 'D:\ioni\ss\Qt\qt5.1a\qtbase\lib\Qt5QmlDevTools.lib'

    Can anybody give me advise what is wrong?



  • I have fixed this issue
    but found another one
    I have changed command line
    configure -developer-build -opensource -nomake examples -nomake demos -nomake tests -rtti -qt-crt

    Can anybody help?

    and get link error
    echo 2 /* CREATEPROCESS_MANIFEST_RESOURCE_ID / 24 / RT_MANIFEST */ "..\..\lib\Qt5Guid.dll.embed.manifest">....\lib\Qt5Guid.dll_manifest.rc
    if not exist ....\lib\Qt5Guid.dll if exist ....\lib\Qt5Guid.dll.embed.manifest del ....\lib\Qt5Guid.dll.embed.manifest
    if exist ....\lib\Qt5Guid.dll.embed.manifest copy /Y ....\lib\Qt5Guid.dll.embed.manifest ....\lib\Qt5Guid.dll_manifest.bak
    link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /VERSION:5.10 /MANIFEST /MANIFESTFILE:....\lib\Qt5Guid.dll.embed.manifest /OUT:....\lib\Qt5Guid.dll @d:\Temp\nmE476.tmp
    Creating library ....\lib\Qt5Guid.lib and object ....\lib\Qt5Guid.exp
    qplatformintegration.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QAccessible::staticMetaObject" (?staticMetaObject@QAccessible@@2UQMetaObject@@B)
    ....

    qplatformintegration.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall QPlatformAccessibility::~QPlatformAccessibility(void)" (??1QPlatformAccessibility@@UAE@XZ) referenced in function "public: virtual void * __thiscall QPlatformAccessibility::`scalar deleting destructor'(unsigned int)" (??_GQPlatformAccessibility@@UAEPAXI@Z)
    qguiapplication.obj : error LNK2019: unresolved external symbol "public: static void __cdecl QAccessible::setRootObject(class QObject *)" (?setRootObject@QAccessible@@SAXPAVQObject@@@Z) referenced in function "public: static int __cdecl QGuiApplication::exec(void)" (?exec@QGuiApplication@@SAHXZ)
    ....\lib\Qt5Guid.dll : fatal error LNK1120: 18 unresolved externals
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.EXE"' : return code '0x460'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.



  • Problem has fixed
    I just cleared configuration



  • Hi! How did you solve the problem? I also have the same error building it in VS2012 in my Win7 machine.



  • I have just unzip version from archive and reconfigured and build from scratch


Log in to reply