defaults write com.apple.finder QLEnableTextSelection -bool true
Then restart the Finder by typing in this into the Terminal:
killall Finder