$29
Develop a QT program that implements a currency converter. Your currency converter should look like the following:
TL :
100 TL
Rate:
0.25854 TL/USD
Amount:
25.85 USD
USD
EUR
GBP
CNY
The currency rate should be obtained from the http://fixer.io/ site. For example: The request https://api.fixer.io/latest?base=TRY&symbols=USD returns you the following string from which you can extract the TL/USD rate:
{"base":"TRY","date":"2017-12-05","rates":{"USD":0.25854}}
The program will operate as follows: The user will input the total TL amount in the lineedit box next to the “TL” label. The user will click one of the currency buttons (USD or EUR or GBP or CNY). Then, the currency rate will be fetched from the http://fixer.io/ site. The rate will be displayed next to the “Rate” as a label. The converted currency amount will be displayed next to “Amount” as a label.