does cpu mining work the same way as in can you sell the coins you mine? and does bitcoin-qt mine cpu coins?
Yup, the coins you mined can be sold in exchanges.
Nope, bitcoin-qt is a bitcoin wallet. You can use the -gen argument to mine bitcoin using cpu, but you will get
nothing for thousands of years at current mining difficulty).