This came in extremely handy, and was far less code for me than using cookies. Thanks, HTML5.
http://coding.smashingmagazine.com/2010/10/11/local-storage-and-how-to-use-it
localStorage.setItem('favoriteflavor','vanilla');
var taste = localStorage.getItem('favoriteflavor');2// -> "vanilla"
localStorage.removeItem('favoriteflavor');
Awesomely succinct writeup:
- Visual C++ 2010 contains all necessary SDKs for Qt compilation. However if you plan to use Qt with Phonon you need to install additional software from Qt for Windows Requirements list.
- Download and extract Qt 4.7.1 Source Code.
- Copy contents of the folder
qt-everywhere-opensource-src-4.7.1to the directory where you intend to install Qt. In our case this isC:\Qt\4.7.1. - Set up environmental variables
QTDIR=C:\Qt\4.7.1
QMAKESPEC=win32-msvc2010 - Update
PATHvariable to include%QTDIR%\bin - Download the latest version of jom.
- Extract jom files to
C:\Qt\jomfolder - Start Visual Studio 2010 Command Prompt:
Start > Programs > Microsoft Visual Studio 2010 > Visual Studio Tools > Visual Studio Command Prompt. - Run following commands in it:
cd c:\Qt\4.7.1
configure -debug-and-release -opensource -platform win32-msvc2010
..\jom\jom.exe -j 4 - Download and install Qt Visual Studio Add-in.
- Run Visual Studio 2010. Integrate just compiled Qt to IDE using menu
Qt > Qt Options
Original post here: http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/
Apparently, if you want to copy large amounts of files to a Win7 share (which in my case is a symbol server) you’ll need to use a quick registry hack to stop the machine from choking (and in my case, crashing):
http://alan.lamielle.net/2009/09/03/windows-7-nonpaged-pool-srv-error-2017
Set the following registry key to ’1′:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache…and set the following registry key to ’3′:
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size
Given this issue:
- Solution_Xbox.sln contains: app.vcxproj, xbox.vcxproj
- Solution_PC.sln contains: app.vcxproj, pc.vcxproj
If your app.vcxproj contains references to both xbox.vcxproj and pc.vcxproj, both slns will produce linking errors for projects they don’t have included. There is also, for some horrible reason, no interface in visual studio 2010 to fix this. Here’s a workaround:
http://stackoverflow.com/questions/4137295/how-can-one-make-a-visual-studio-2010-project-dependency-be-configuration-specifi





