Accounts created for a certain trading platform are exclusive to that platform and cannot be used for access to any other trading terminals.
Thus, MT5 account credentials can only be used for logging in to the desktop, mobile,and web versions of the MT5 platform. Similarly, MT4 account credentials can also only be used on MT4 desktop, mobile, and web platforms, and not on MT5.