To generate vector images using Inkscape, you'll to allow LaTeX to leave its shell to run the Inkscape code necessary. You can do this in Texmaker by editing the PdfLaTeX command.
pdflatex -synctex=1 -interaction=nonstopmode --shell-escape %.tex
Add...