[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#710773: qtchooser: New error/warning when using Qt and cmake: qmake: could not find a Qt installation of ''



On Sunday 02 June 2013 16:52:14 Ralf Jung wrote:
[snip]
> However, PKG_CONFIG_PATH, CMAKE_PREFIX_PATH, XDG_DATA_DIRS and
> XDG_CONFIG_DIRS are changed to contain their respective subdirectory
> of /opt/kde-master.

Here's the problem. A bit of qtchooser's code follows:

#if defined(QTCHOOSER_GLOBAL_DIR)
    if (qgetenv("XDG_CONFIG_DIRS").empty()) {
        vector<string> globalPaths = stringSplit(QTCHOOSER_GLOBAL_DIR);
        paths.insert(paths.end(), globalPaths.begin(), globalPaths.end());
    }
#endif

We define QTCHOOSER_GLOBAL_DIR so we can be able to add more paths while 
setting configs. When you define XDG_CONFIG_DIRS, this paths are ignored.

I don't know why Thiago wanted it like this.

For now I'll say it's not a bug, but I'll keep it open to see if 
XDG_CONFIG_DIRS could instead be prepended.

Kinds regards, Lisandro.

-- 
Paris, Je suis impregnée de ta présence!!!
vous cette une fleche alée qui traspase mon cour
  muxbalsoc. Comment posted in
  http://youtube.com/watch?v=G3S_sOEjsmo

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: