I'm trying to learn how to sign an offline transaction using bitcoin-qt. I understand armory and electum make such actions easy, so using those wouldn't really help me "learn" how to do such a cold transaction using bitcoin-qt. Just in-case anyone asks.

If my cold wallet (bitcoin-qt) does not have the full block chain, how do I figure out the scriptPubKey?