Last active
August 29, 2015 14:09
-
-
Save ialhashim/8d882a53e67e5df01b95 to your computer and use it in GitHub Desktop.
Fixing Microsoft Visual Studio 2013 and Qt x64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install NuGet to run inside VS | |
# Get VC project files | |
$include = @("*.vcxproj","*.sln") | |
$projectFiles = gci . -recurse -force -include $include | |
foreach ($file in $projectFiles) { | |
(get-content $file) | % { $_ -creplace 'Win32', 'x64' } | set-content $file | |
(get-content $file) | % { $_ -creplace '%40QMAKE_SUBSYSTEM_SUFFIX%40', '' } | set-content $file | |
} | |
# Older version | |
#(gc $file) -replace 'Win32','x64' | sc $file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment