There's a lot of calculation required if, given the geocentric coordinates of a star in some catalog, you want to have the coordinates of the star on Stellarium's display. The star catalog uses a certain coordinate system and a certain epoch. Computation is required to shift the coordinate to Stellarium's date and time. If we require high precision (and the difference in time is big) the effect of the star's proper movement may have to be considered. Then, unless Stellarium is set to geocentric coordinates, a transformation to topocentric coordinates is required. Unless the effects of the atmosphere have been turned off, the displacement due to atmospheric refraction must be computed. But you still have coordinates in a spherical coordinate system (which is fine for pointing your telescope) but is useless until they come up with a computer display shaped like a hemisphere or quarter sphere. (Let's ignore planetariums for this discussion, OK?) You'll have to find a mapping of the section of the spherical sky that should be shown on your display, and you'll need some good map projection for the mapping of sphere to plane. What is "good" depends on a lot of parameters, but you won't be able to use the same projection all of the time...
There would be even more if we are requiring extreme precision, but I think that this is enough. I have found Jean Meeus' book Astronomical Algorithms a helpful source for all the required formulas. (It doesn't elaborate much on the derivation of those formulas.)
Wolfgang