How to import private key bitcoin qt

We will be using the Electron Cash wallet to import the private keys and claim the Bitcoin Cash. The first thing we need to do is export all of our private keys that contained Bitcoin at the time of the hard fork.
Once we have exported the keys we will be able to import them into Electron Cash and then spend the Bitcoin Cash. To export the keys perform the following steps.
With each private key copied to a text file, you are now ready to move onto the next step and claim your Bitcoin Cash. This step is optional but I highly recommend sending your full wallet balance to a new Bitcoin address where the private key will not be imported in the following steps.
The reason for doing this is to guarantee the creators of the Electon Cash wallet do not have access to your Bitcoin private keys and funds. Electron Cash is a fork of Electrum. The final step is to import the private keys used in the dumpprivkey command in the first step.
Remember to make sure you have sent the funds to a new Bitcoin address before importing the keys in the following steps. Open Electron Cash , give the wallet a name and then click Next. To export the keys perform the following steps. With each private key copied to a text file, you are now ready to move onto the next step and claim your Bitcoin Cash.
This step is optional but I highly recommend sending your full wallet balance to a new Bitcoin address where the private key will not be imported in the following steps. The reason for doing this is to guarantee the creators of the Electon Cash wallet do not have access to your Bitcoin private keys and funds.
Electron Cash is a fork of Electrum. The final step is to import the private keys used in the dumpprivkey command in the first step. Remember to make sure you have sent the funds to a new Bitcoin address before importing the keys in the following steps. Open Electron Cash , give the wallet a name and then click Next. Select the Use public or private keys option and then click Next.
Copy and paste the private keys you exported from the Bitcoin Core wallet and then click Next. Enter a password to encrypt the wallet file or leave blank to disable encryption then click Next.