Get your taxes done using TurboTax

After you enter the 1099-R in Federal > Wages and Income > Retirement, there is a question that asks about QCD.

Note that the TT Summary will still show the gross figure, but that is only FYI. Look at lines 4a and 4b of Form 1040.

Also note that some states do no recognize QCD's, so you may still owe state taxes.