⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

Setting up Environment variables, Qt seems to work only in one folder

  • It used to work fine everywhere but after working with Qt in PyCharm, it seems to be working only in the project directory created by PyCharm, everywhere else I get an import error i.e. "Import error cannot import QtGui" or anything other than QtGui.

    I am on a Linux machine, Slackware 14.1


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Isn't PyCharm doing some environment setup like changing LD_LIBRARY_PATH to find your Qt installation ?

Log in to reply