"What is good for this country, I would do it," said the president of the United States.
Ms. Meng, the financial director of the Chinese telecommunications giant, was bailed on Tuesday by a Canadian court.
She was arrested on December 1 and could be extradited to the United States to face fraud charges related to the alleged violation of sanctions against Iran.
Ms. Meng, 46, denies having committed any crime and has said she will challenge the allegations.
She is the daughter of the founder of Huawei and his arrest, which took place in the midst of an increasingly violent trade dispute between Washington and Beijing, has angered China and has soured its relations with Canada and the United States.
In an interview with the Reuters news agency on Tuesday, Mr. Trump said he would intervene in the case of the US Department of Justice against Ms. Meng if it served the interests of national security or helped achieve a trade agreement with China. .
"If I think it is good for what will certainly be the biggest trade agreement that has been made, which is very important, what is good for national security, it would certainly intervene if it deemed it necessary," he said.
What happened in the court?
Judge William Ehrcke in Vancouver set bail for Ms. Meng at C $ 10m (£ 6m; $ 7.4m).
Of that, C $ 7m must be provided in cash with C $ 3m in guarantee.
The judge said he would be under surveillance 24 hours a day and that he should have an electronic tag on his ankle. She will not be able to leave between 23:00 and 06:00 and must deliver all passports and travel documents.
US prosecutors UU They say that Ms. Meng used a Huawei subsidiary called Skycom to evade sanctions on Iran between 2009 and 2014. They allege that she had publicly misrepresented Skycom as a separate company from Huawei. It is also alleged that he deceived the banks about the true relationship between the two companies.
Applause erupted in the courtroom when Judge Ehrcke granted bail. Ms. Meng cried and hugged her lawyers.
The judge ordered her to reappear in court on February 6.
After the ruling, Huawei issued a statement saying: "We have full confidence that the legal systems of Canada and the United States will reach a just conclusion."
How has China reacted to the arrest of Ms. Meng?
China, which insists that Ms. Meng has not violated any law, had threatened serious consequences unless Canada released the Huawei executive.
Deputy Foreign Minister Le Yucheng summoned the ambassadors of the United States and Canada and presented a "strong protest" to urge his release.
The ministry described the arrest of Ms. Meng as "extremely unpleasant."
Separately on Tuesday, it was learned that a former Canadian diplomat had been arrested in China.
Michael Kovrig's current employer, the International Crisis Group, said he was working for his early release. There has been no official news from China about his whereabouts.
Prime Minister Justin Trudeau said Canada was in direct contact with the Chinese authorities in relation to the case.
Mr. Kovrig previously worked as a diplomat in Beijing, Hong Kong and the UN in New York.
Canadian officials said there was no "explicit indication" of any link between the reported detention of Mr. Kovrig and the arrest of Ms. Meng.
Who is Meng Wanzhou?
Meng Wanzhou joined Huawei in 1993, when he began his career as a receptionist in his father's company.
After graduating with a master's degree in accounting from Huazhong University of Science and Technology in 1999, he joined Huawei's finance department.
She became the company's finance director in 2011 and was promoted to vice president a few months before her arrest.
Ms. Meng's ties to her father, Ren Zhengfei, were not publicly known until a few years ago.
In a very unusual practice in the Chinese tradition, he adopted the name of his family not from his father but from his mother, Meng Jun, who was Mr. Ren's first wife.
Meng Wanzhou: Trump Could Intervene In Case Of Huawei Executive
Reviewed by Musa Ali
on
21:10
Rating: