Except that Trelane and Q have nothing in common besides attitude. Trelane needed technological assistance to do his tricks -- aside from the whole incorporeal thing, there's no indication in "Squire" that he had any powers of his own rather than using his "instrumentality" to do it all. He also fell vastly short of the omniscient perceptions of the Q, since his observations of Earth were limited by the speed of light and he was unaware of the intervening passage of time. Plus the illusions he created had only form and no substance -- they were more like holodeck constructs than the "completely real" creations of Q. Given that he needed machines to make them, they may have been quite literally the product of holotechnology or replication. Indeed, aside from moving Gothos around, Trelane didn't do anything that couldn't be achieved with 24th-century Federation technology. His abilities were parlor tricks compared to Q powers.
Also, VGR: "The Q and the Gray" established that the Q had never procreated before. Since Trelane had parents, that's incompatible with the idea of Trelane being a Q.