1

We are moving a large codebase from GDI to QPainter. One thing we used to get on Windows easily was the EMF clipboard format, which enabled customers to manipulate their pasted output in other programs (like Office) in a vector format.

It's easy for us to produce bitmaps from Qt into EMF, but that really doesn't give us back the editability of the old format. We can also make mime data from Postscript, which in some programs will retain vector format, but won't allow editability in Office, for example.

Since Trolltech/Nokia abandoned the GDI rendering path, is there any decent way to produce vector EMF output from QPainter? Options include 3rd-party libraries postprocessing other output formats (which we haven't seen usable results from), phony printer drivers (which introduce Windows-version specific issues). It has to work on WinXP -> 7.

Has anybody else solved this?

skaffman
  • 398,947
  • 96
  • 818
  • 769
simong
  • 238
  • 3
  • 5
  • Please note: we know we could write our own graphics backend. The question is can we do anything short of that. Also note that there are solutions that work for Qt3 on the Qt mailing lists, but they only work because they still used GDI then. – simong Jan 06 '10 at 14:14

0 Answers0