Results 1 to 3 of 3

Thread: build/compile QT4.4 with VisStudio2008

  1. #1
    Join Date
    May 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question build/compile QT4.4 with VisStudio2008

    I read ntessore's blog as well as other docs, but my Qt install on WinXP fails. Here are the final lines from the config command where it fails:

    As ntessore suggests, I started the VS2008 command prompt, changed to the c:\qt directory and issued this command: configure -platform win32-msvc2008.

    One interesting point is that if I use this command: configure -platform win32-msvc2008 -no-qmake, I get the same failure code.

    .
    .
    .
    riptprettypretty.obj qscriptsyntaxchecker.obj qscriptclass.obj qscriptclasspr
    opertyiterator.obj qscriptstring.obj qscriptvalue.obj qscriptvalueimpl.obj q
    scriptvalueiterator.obj qscriptvalueiteratorimpl.obj ole32.lib advapi32.lib
    Microsoft (R) Incremental Linker Version 9.00.21022.08
    Copyright (C) Microsoft Corporation. All rights reserved.

    copy qmake.exe C:\Qt\bin\qmake.exe
    True
    True
    True
    True
    [None, 1, 2L, 3.1400000000000001, 'xyzzy', (1, 2L), [3.1400000000000001, 'abc'],
    {'abc': 'ABC'}, (), [], {}, <__main__.C instance at 0x00AA1850>]
    [None, 1, 2L, 3.1400000000000001, 'xyzzy', (1, 2L), [3.1400000000000001, 'abc'],
    {'abc': 'ABC'}, (), [], {}, <__main__.C instance at 0x00AA1850>]
    False
    [None, 1, 2L, 3.1400000000000001, 'xyzzy', (1, 2L), [3.1400000000000001, 'abc'],
    {'abc': 'ABC'}, (), [], {}, <__main__.C instance at 0x00AA1850>]
    [None, 1, 2L, 3.1400000000000001, 'xyzzy', (1, 2L), [3.1400000000000001, 'abc'],
    {'abc': 'ABC'}, (), [], {}, <__main__.C instance at 0x00AA1D78>]
    ['None', '1', '2L', '3.1400000000000001', "'xyzzy'", '(1, 2L)', "[3.140000000000
    0001, 'abc']", "{'abc': 'ABC'}", '()', '[]', '{}', '<__main__.C i...at 0x00AA185
    0>', "{1: [None, 1, 2L, 3.1400000000000001, 'xyzzy', (1, 2L), ...], 'xyz': 2L}"]

    ['None', '1', '2L', '3.1400000000000001', "'xyzzy'", '(1, 2L)', "[3.140000000000
    0001, 'abc']", "{'abc': 'ABC'}", '()', '[]', '{}']
    ['None', '1', '2L', '3.1400000000000001', "'xyzzy'", '(1, 2L)', "[3.140000000000
    0001, 'abc']", "{'abc': 'ABC'}", '()', '[]', '{}', '<__main__.C i...at 0x00AA1D7
    8>']
    ['None', '1', '2L', '3.1400000000000001', "'xyzzy'", '(1, 2L)', "[3.140000000000
    0001, 'abc']", "{'abc': 'ABC'}", '()', '[]', '{}', '<__main__.C i...at 0x00AA185
    0>', "{1: [None, 1, 2L, 3.1400000000000001, 'xyzzy', (1, 2L), ...], 'xyz': 2L}"]

    ['None', '1', '2L', '3.1400000000000001', "'xyzzy'", '(1, 2L)', "[3.140000000000
    0001, 'abc']", "{'abc': 'ABC'}", '()', '[]', '{}', '<__main__.C i...at 0x00AA185
    0>', "{1: [None, 1, 2L, 3.1400000000000001, 'xyzzy', (1, 2L), ...], 'xyz': 2L}"]

    ['None', '1', '2L', '3.1400000000000001', "'xyzzy'", '(1, 2L)', "[3.140000000000
    0001, 'abc']", "{'abc': 'ABC'}", '()', '[]', '{}']
    ['None', '1', '2L', '3.1400000000000001', "'xyzzy'", '(1, 2L)', "[3.140000000000
    0001, 'abc']", "{'abc': 'ABC'}", '()', '[]', '{}', '<__main__.C i...at 0x00AA1D7
    8>']
    ['None', '1', '2L', '3.1400000000000001', "'xyzzy'", '(1, 2L)', "[3.140000000000
    0001, 'abc']", "{'abc': 'ABC'}", '()', '[]', '{}', '<__main__.C i...at 0x00B5380
    0>', "{1: [None, 1, 2L, 3.1400000000000001, 'xyzzy', (1, 2L), ...], 'xyz': 2L}"]

    Creating makefiles in src...
    Generating Visual Studio project files...
    execute: File or path is not found (C:\Qt\bin\qmake)
    Qmake failed, return code -1

    Generating Makefiles...
    execute: File or path is not found (C:\Qt\bin\qmake)
    Qmake failed, return code -1

  2. #2
    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: build/compile QT4.4 with VisStudio2008

    Excuse me, but what's the point of passing -no-qmake to configure, since qmake is clearly needed:
    execute: File or path is not found (C:\Qt\bin\qmake)
    Qmake failed, return code -1
    Did I miss something?
    J-P Nurmi

  3. #3
    Join Date
    May 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Talking Re: build/compile QT4.4 with VisStudio2008

    No, you didn't miss anything. I just used that switch since the compile bailed on qmake. Since most of my professional life is spent managing network devices, I have little experience with programming. I basically was grasping at straws.

    My goal was to automate some simple network tasks such as getting info from switches/routers, etc. I came across an article that used plink (cmd line version of putty) and python to partly automate the task of connecting to network devices and dumping info to a command window.

    That started me on the road of learning Python which obviously led me to QT.

    I ended up installing mingw32 and building QT with win32-g++. Might as well develop GUI network apps using QT. Visual Studio 2008 was bloatware that I just happened to have on my laptop. I am now trying to learn the Elcipse IDE with the CDT and JDT environments.

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.