What if China had been ruled by a dynasty of native origin in the 19th century when it started to face major European encroachment? Would a native dynasty have been more effective in rallying resistance to European encroachments or in enacting reforms? In OTL, the Qing dynasty that ruled China was of Manchu descent, rather than ethnically Chinese. From the (very limited) amount of material that I have read about 19th century China, I get the impression that the Chinese government was reluctant to appeal very heavily to Chinese anti-foreign or proto-nationalist sentiment because the Manchu emperor and officials knew that the Chinese really regarded them as just as much foreign barbarians as the Europeans. Hostility to the Manchus helped provide more support for the enormously destructive Taiping rebellion, as well as numerous smaller uprisings, that weakened the entire country at a time when it needed peace and relative unity to meet outside threats.