A 37-year-old man has appeared in court charged with the murder of a man lived with in far north Queensland.