Results 1 to 2 of 2

Thread: About QT5.2 Static Compilation

  1. #1
    Join Date
    Feb 2014
    Posts
    1

    Default About QT5.2 Static Compilation

    I have read through the tutorial at:

    http://qt-project.org/wiki/How-to-bu...-Windows-MinGW

    and download the script :
    Download and run, all done
    Download the script named windows-build-qt-static.ps1 [sourceforge.net] and execute it.

    However, the script is running with error:

    Split-Path : Cannot find drive. A drive with the name 'http' does not exist.
    At C:\windows-build-qt-static.ps1:98 char:32
    + $QtSrcFileName = Split-Path <<<< -Leaf $QtSrcUrl
    + CategoryInfo : ObjectNotFound: (http:String) [Split-Path], DriveNotFoundException
    + FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.SplitP athCommand

    and some others. When I look into the code, it is just a url that is used for downloading another file.

    Did anybody experienced a similar problem? Many thanks for the help.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: About QT5.2 Static Compilation

    Are you sure you are using Powershell 3 and not 2? The older version fails in this fashion if the drive does not exist locally. Split-Path is designed for file paths not Urls, sot he "drive" letter is "http:".

Similar Threads

  1. Replies: 3
    Last Post: 14th October 2013, 21:20
  2. qvalidator error on static msvc2010 compilation
    By stef13013 in forum Installation and Deployment
    Replies: 0
    Last Post: 19th September 2012, 23:08
  3. plugins not recognized for static compilation
    By timmu in forum Qt Programming
    Replies: 3
    Last Post: 28th February 2011, 13:43
  4. Error in static compilation of Qt 2010.05!
    By elton.lika in forum Newbie
    Replies: 5
    Last Post: 26th January 2011, 21:37
  5. cannot compile QT 4.6 as static - uic3 error stops compilation
    By rucs_hack in forum Installation and Deployment
    Replies: 3
    Last Post: 27th June 2010, 05:35

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.