In terms of scale, the Star Wars universe is larger (unrealistically larger) in terms of the size and power of warships. Moon sized, planet destroying space stations, 17-19 km long warships, impossibly large 35km warships in the extended universe http://i49.photobucket.com/albums/f252/CanisD/Shipyard/Drawings/SW/Eclipse.png and the list goes on to say nothing of the hundreds of millions of fighters and hundreds of thousands of support ships, if not millions, that would have to exist to police an entire galaxy, regardless of how small. The SW galaxy can't be too small to lack the manpower and resources to produce 17-19 km war ships crewed by 280,000 officers, gunners and enlisted within a handful of years and continually crank them out assembly line style, which is realistically impossible by any means. Science Fantasy at its finest. Star Wars never really pretends to be anything else.
Star Trek, on the other hand, makes every attempt to explain feasibly the ifs, hows and whys of just about every significant ship showcased in any given show or film. It's more grounded in reality (science fiction reality) than Star Wars. And by existing in a believable sci-fi bubble, there are no planet buster guns, starships with crews of 500,000, infinite fighters, etc. etc.
The Q, since they are a part of the Star Trek universe, on the other hand are the Deus Ex Machina. There may be no God or Force to intervene within the ST universe without limitation, but for all intents an purposes, they are written as near omnipotent, near omniscient beings. The distinction needs to be made as if one Q can remove the powers of another Q, they are clearly not all powerful by definition.
So... warships of the SW universe would steamroll over the ST universe by sheer numbers and size alone and then presumably the Q on Team Star Trek would do the I Dream of Genie head bob and "magic" them all away.